mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-07 16:15:23 +13:00
Use a 'trainer' macro for trainers in scripts/
This commit is contained in:
parent
be326c6565
commit
5c0f33cb53
71 changed files with 413 additions and 2645 deletions
|
|
@ -80,24 +80,10 @@ CeruleanGym_TextPointers:
|
|||
dw CeruleanGymText7
|
||||
|
||||
CeruleanGymTrainerHeader0:
|
||||
dbEventFlagBit EVENT_BEAT_CERULEAN_GYM_TRAINER_0
|
||||
db ($3 << 4) ; trainer's view range
|
||||
dwEventFlagAddress EVENT_BEAT_CERULEAN_GYM_TRAINER_0
|
||||
dw CeruleanGymBattleText1 ; TextBeforeBattle
|
||||
dw CeruleanGymAfterBattleText1 ; TextAfterBattle
|
||||
dw CeruleanGymEndBattleText1 ; TextEndBattle
|
||||
dw CeruleanGymEndBattleText1 ; TextEndBattle
|
||||
|
||||
trainer EVENT_BEAT_CERULEAN_GYM_TRAINER_0, 3, CeruleanGymBattleText1, CeruleanGymEndBattleText1, CeruleanGymAfterBattleText1
|
||||
CeruleanGymTrainerHeader1:
|
||||
dbEventFlagBit EVENT_BEAT_CERULEAN_GYM_TRAINER_1
|
||||
db ($3 << 4) ; trainer's view range
|
||||
dwEventFlagAddress EVENT_BEAT_CERULEAN_GYM_TRAINER_1
|
||||
dw CeruleanGymBattleText2 ; TextBeforeBattle
|
||||
dw CeruleanGymAfterBattleText2 ; TextAfterBattle
|
||||
dw CeruleanGymEndBattleText2 ; TextEndBattle
|
||||
dw CeruleanGymEndBattleText2 ; TextEndBattle
|
||||
|
||||
db $ff
|
||||
trainer EVENT_BEAT_CERULEAN_GYM_TRAINER_1, 3, CeruleanGymBattleText2, CeruleanGymEndBattleText2, CeruleanGymAfterBattleText2
|
||||
db -1 ; end
|
||||
|
||||
CeruleanGymText1:
|
||||
text_asm
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue