123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225 |
- MtMoon1Script:
- call EnableAutoTextBoxDrawing
- ld hl, MtMoon1TrainerHeader0
- ld de, MtMoon1ScriptPointers
- ld a, [wMtMoon1CurScript]
- call ExecuteCurMapScriptInTable
- ld [wMtMoon1CurScript], a
- ret
- MtMoon1ScriptPointers:
- dw CheckFightingMapTrainers
- dw DisplayEnemyTrainerTextAndStartBattle
- dw EndTrainerBattle
- MtMoon1TextPointers:
- dw MtMoon1Text1
- dw MtMoon1Text2
- dw MtMoon1Text3
- dw MtMoon1Text4
- dw MtMoon1Text5
- dw MtMoon1Text6
- dw MtMoon1Text7
- dw PickUpItemText
- dw PickUpItemText
- dw PickUpItemText
- dw PickUpItemText
- dw PickUpItemText
- dw PickUpItemText
- dw MtMoon1Text14
- MtMoon1TrainerHeader0:
- dbEventFlagBit EVENT_BEAT_MT_MOON_1_TRAINER_0
- db ($2 << 4) ; trainer's view range
- dwEventFlagAddress EVENT_BEAT_MT_MOON_1_TRAINER_0
- dw MtMoon1BattleText2 ; TextBeforeBattle
- dw MtMoon1AfterBattleText2 ; TextAfterBattle
- dw MtMoon1EndBattleText2 ; TextEndBattle
- dw MtMoon1EndBattleText2 ; TextEndBattle
- MtMoon1TrainerHeader1:
- dbEventFlagBit EVENT_BEAT_MT_MOON_1_TRAINER_1
- db ($3 << 4) ; trainer's view range
- dwEventFlagAddress EVENT_BEAT_MT_MOON_1_TRAINER_1
- dw MtMoon1BattleText3 ; TextBeforeBattle
- dw MtMoon1AfterBattleText3 ; TextAfterBattle
- dw MtMoon1EndBattleText3 ; TextEndBattle
- dw MtMoon1EndBattleText3 ; TextEndBattle
- MtMoon1TrainerHeader2:
- dbEventFlagBit EVENT_BEAT_MT_MOON_1_TRAINER_2
- db ($3 << 4) ; trainer's view range
- dwEventFlagAddress EVENT_BEAT_MT_MOON_1_TRAINER_2
- dw MtMoon1BattleText4 ; TextBeforeBattle
- dw MtMoon1AfterBattleText4 ; TextAfterBattle
- dw MtMoon1EndBattleText4 ; TextEndBattle
- dw MtMoon1EndBattleText4 ; TextEndBattle
- MtMoon1TrainerHeader3:
- dbEventFlagBit EVENT_BEAT_MT_MOON_1_TRAINER_3
- db ($3 << 4) ; trainer's view range
- dwEventFlagAddress EVENT_BEAT_MT_MOON_1_TRAINER_3
- dw MtMoon1BattleText5 ; TextBeforeBattle
- dw MtMoon1AfterBattleText5 ; TextAfterBattle
- dw MtMoon1EndBattleText5 ; TextEndBattle
- dw MtMoon1EndBattleText5 ; TextEndBattle
- MtMoon1TrainerHeader4:
- dbEventFlagBit EVENT_BEAT_MT_MOON_1_TRAINER_4
- db ($3 << 4) ; trainer's view range
- dwEventFlagAddress EVENT_BEAT_MT_MOON_1_TRAINER_4
- dw MtMoon1BattleText6 ; TextBeforeBattle
- dw MtMoon1AfterBattleText6 ; TextAfterBattle
- dw MtMoon1EndBattleText6 ; TextEndBattle
- dw MtMoon1EndBattleText6 ; TextEndBattle
- MtMoon1TrainerHeader5:
- dbEventFlagBit EVENT_BEAT_MT_MOON_1_TRAINER_5
- db ($3 << 4) ; trainer's view range
- dwEventFlagAddress EVENT_BEAT_MT_MOON_1_TRAINER_5
- dw MtMoon1BattleText7 ; TextBeforeBattle
- dw MtMoon1AfterBattleText7 ; TextAfterBattle
- dw MtMoon1EndBattleText7 ; TextEndBattle
- dw MtMoon1EndBattleText7 ; TextEndBattle
- MtMoon1TrainerHeader6:
- dbEventFlagBit EVENT_BEAT_MT_MOON_1_TRAINER_6
- db ($3 << 4) ; trainer's view range
- dwEventFlagAddress EVENT_BEAT_MT_MOON_1_TRAINER_6
- dw MtMoon1BattleText8 ; TextBeforeBattle
- dw MtMoon1AfterBattleText8 ; TextAfterBattle
- dw MtMoon1EndBattleText8 ; TextEndBattle
- dw MtMoon1EndBattleText8 ; TextEndBattle
- db $ff
- MtMoon1Text1:
- TX_ASM
- ld hl, MtMoon1TrainerHeader0
- call TalkToTrainer
- jp TextScriptEnd
- MtMoon1Text2:
- TX_ASM
- ld hl, MtMoon1TrainerHeader1
- call TalkToTrainer
- jp TextScriptEnd
- MtMoon1Text3:
- TX_ASM
- ld hl, MtMoon1TrainerHeader2
- call TalkToTrainer
- jp TextScriptEnd
- MtMoon1Text4:
- TX_ASM
- ld hl, MtMoon1TrainerHeader3
- call TalkToTrainer
- jp TextScriptEnd
- MtMoon1Text5:
- TX_ASM
- ld hl, MtMoon1TrainerHeader4
- call TalkToTrainer
- jp TextScriptEnd
- MtMoon1Text6:
- TX_ASM
- ld hl, MtMoon1TrainerHeader5
- call TalkToTrainer
- jp TextScriptEnd
- MtMoon1Text7:
- TX_ASM
- ld hl, MtMoon1TrainerHeader6
- call TalkToTrainer
- jp TextScriptEnd
- MtMoon1BattleText2:
- TX_FAR _MtMoon1BattleText2
- db "@"
- MtMoon1EndBattleText2:
- TX_FAR _MtMoon1EndBattleText2
- db "@"
- MtMoon1AfterBattleText2:
- TX_FAR _MtMoon1AfterBattleText2
- db "@"
- MtMoon1BattleText3:
- TX_FAR _MtMoon1BattleText3
- db "@"
- MtMoon1EndBattleText3:
- TX_FAR _MtMoon1EndBattleText3
- db "@"
- MtMoon1AfterBattleText3:
- TX_FAR _MtMoon1AfterBattleText3
- db "@"
- MtMoon1BattleText4:
- TX_FAR _MtMoon1BattleText4
- db "@"
- MtMoon1EndBattleText4:
- TX_FAR _MtMoon1EndBattleText4
- db "@"
- MtMoon1AfterBattleText4:
- TX_FAR _MtMoon1AfterBattleText4
- db "@"
- MtMoon1BattleText5:
- TX_FAR _MtMoon1BattleText5
- db "@"
- MtMoon1EndBattleText5:
- TX_FAR _MtMoon1EndBattleText5
- db "@"
- MtMoon1AfterBattleText5:
- TX_FAR _MtMoon1AfterBattleText5
- db "@"
- MtMoon1BattleText6:
- TX_FAR _MtMoon1BattleText6
- db "@"
- MtMoon1EndBattleText6:
- TX_FAR _MtMoon1EndBattleText6
- db "@"
- MtMoon1AfterBattleText6:
- TX_FAR _MtMoon1AfterBattleText6
- db "@"
- MtMoon1BattleText7:
- TX_FAR _MtMoon1BattleText7
- db "@"
- MtMoon1EndBattleText7:
- TX_FAR _MtMoon1EndBattleText7
- db "@"
- MtMoon1AfterBattleText7:
- TX_FAR _MtMoon1AfterBattleText7
- db "@"
- MtMoon1BattleText8:
- TX_FAR _MtMoon1BattleText8
- db "@"
- MtMoon1EndBattleText8:
- TX_FAR _MtMoon1EndBattleText8
- db "@"
- MtMoon1AfterBattleText8:
- TX_FAR _MtMoon1AfterBattleText8
- db "@"
- MtMoon1Text14:
- TX_FAR _MtMoon1Text14
- db "@"
|