Use a 'trainer' macro for trainers in scripts/

This commit is contained in:
Rangi 2020-07-14 15:45:36 -04:00
parent be326c6565
commit 5c0f33cb53
71 changed files with 413 additions and 2645 deletions

View file

@ -18,15 +18,8 @@ CeruleanCaveB1F_TextPointers:
dw PickUpItemText
MewtwoTrainerHeader:
dbEventFlagBit EVENT_BEAT_MEWTWO
db ($0 << 4) ; trainer's view range
dwEventFlagAddress EVENT_BEAT_MEWTWO
dw MewtwoBattleText ; TextBeforeBattle
dw MewtwoBattleText ; TextAfterBattle
dw MewtwoBattleText ; TextEndBattle
dw MewtwoBattleText ; TextEndBattle
db $ff
trainer EVENT_BEAT_MEWTWO, 0, MewtwoBattleText, MewtwoBattleText, MewtwoBattleText
db -1 ; end
MewtwoText:
text_asm