123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164 |
- SSAnne8Script:
- call EnableAutoTextBoxDrawing
- ld hl, SSAnne8TrainerHeader0
- ld de, SSAnne8ScriptPointers
- ld a, [wSSAnne8CurScript]
- call ExecuteCurMapScriptInTable
- ld [wSSAnne8CurScript], a
- ret
- SSAnne8ScriptPointers:
- dw CheckFightingMapTrainers
- dw DisplayEnemyTrainerTextAndStartBattle
- dw EndTrainerBattle
- SSAnne8TextPointers:
- dw SSAnne8Text1
- dw SSAnne8Text2
- dw SSAnne8Text3
- dw SSAnne8Text4
- dw SSAnne8Text5
- dw SSAnne8Text6
- dw SSAnne8Text7
- dw SSAnne8Text8
- dw SSAnne8Text9
- dw PickUpItemText
- dw SSAnne8Text11
- SSAnne8TrainerHeader0:
- dbEventFlagBit EVENT_BEAT_SS_ANNE_8_TRAINER_0
- db ($2 << 4) ; trainer's view range
- dwEventFlagAddress EVENT_BEAT_SS_ANNE_8_TRAINER_0
- dw SSAnne8BattleText1 ; TextBeforeBattle
- dw SSAnne8AfterBattleText1 ; TextAfterBattle
- dw SSAnne8EndBattleText1 ; TextEndBattle
- dw SSAnne8EndBattleText1 ; TextEndBattle
- SSAnne8TrainerHeader1:
- dbEventFlagBit EVENT_BEAT_SS_ANNE_8_TRAINER_1
- db ($3 << 4) ; trainer's view range
- dwEventFlagAddress EVENT_BEAT_SS_ANNE_8_TRAINER_1
- dw SSAnne8BattleText2 ; TextBeforeBattle
- dw SSAnne8AfterBattleText2 ; TextAfterBattle
- dw SSAnne8EndBattleText2 ; TextEndBattle
- dw SSAnne8EndBattleText2 ; TextEndBattle
- SSAnne8TrainerHeader2:
- dbEventFlagBit EVENT_BEAT_SS_ANNE_8_TRAINER_2
- db ($2 << 4) ; trainer's view range
- dwEventFlagAddress EVENT_BEAT_SS_ANNE_8_TRAINER_2
- dw SSAnne8BattleText3 ; TextBeforeBattle
- dw SSAnne8AfterBattleText3 ; TextAfterBattle
- dw SSAnne8EndBattleText3 ; TextEndBattle
- dw SSAnne8EndBattleText3 ; TextEndBattle
- SSAnne8TrainerHeader3:
- dbEventFlagBit EVENT_BEAT_SS_ANNE_8_TRAINER_3
- db ($2 << 4) ; trainer's view range
- dwEventFlagAddress EVENT_BEAT_SS_ANNE_8_TRAINER_3
- dw SSAnne8BattleText4 ; TextBeforeBattle
- dw SSAnne8AfterBattleText4 ; TextAfterBattle
- dw SSAnne8EndBattleText4 ; TextEndBattle
- dw SSAnne8EndBattleText4 ; TextEndBattle
- db $ff
- SSAnne8Text1:
- TX_ASM
- ld hl, SSAnne8TrainerHeader0
- call TalkToTrainer
- jp TextScriptEnd
- SSAnne8Text2:
- TX_ASM
- ld hl, SSAnne8TrainerHeader1
- call TalkToTrainer
- jp TextScriptEnd
- SSAnne8Text3:
- TX_ASM
- ld hl, SSAnne8TrainerHeader2
- call TalkToTrainer
- jp TextScriptEnd
- SSAnne8Text4:
- TX_ASM
- ld hl, SSAnne8TrainerHeader3
- call TalkToTrainer
- jp TextScriptEnd
- SSAnne8Text8:
- TX_FAR _SSAnne8Text8
- TX_ASM
- ld a, WIGGLYTUFF
- call PlayCry
- jp TextScriptEnd
- SSAnne8BattleText1:
- TX_FAR _SSAnne8BattleText1
- db "@"
- SSAnne8EndBattleText1:
- TX_FAR _SSAnne8EndBattleText1
- db "@"
- SSAnne8AfterBattleText1:
- TX_FAR _SSAnne8AfterBattleText1
- db "@"
- SSAnne8BattleText2:
- TX_FAR _SSAnne8BattleText2
- db "@"
- SSAnne8EndBattleText2:
- TX_FAR _SSAnne8EndBattleText2
- db "@"
- SSAnne8AfterBattleText2:
- TX_FAR _SSAnne8AfterBattleText2
- db "@"
- SSAnne8BattleText3:
- TX_FAR _SSAnne8BattleText3
- db "@"
- SSAnne8EndBattleText3:
- TX_FAR _SSAnne8EndBattleText3
- db "@"
- SSAnne8AfterBattleText3:
- TX_FAR _SSAnne8AfterBattleText3
- db "@"
- SSAnne8BattleText4:
- TX_FAR _SSAnne8BattleText4
- db "@"
- SSAnne8EndBattleText4:
- TX_FAR _SSAnne8EndBattleText4
- db "@"
- SSAnne8AfterBattleText4:
- TX_FAR _SSAnne8AfterBattleText4
- db "@"
- SSAnne8Text5:
- TX_FAR _SSAnne8Text5
- db "@"
- SSAnne8Text6:
- TX_FAR _SSAnne8Text6
- db "@"
- SSAnne8Text7:
- TX_FAR _SSAnne8Text7
- db "@"
- SSAnne8Text9:
- TX_FAR _SSAnne8Text9
- db "@"
- SSAnne8Text11:
- TX_FAR _SSAnne8Text11
- db "@"
|