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
|
|
@ -20,33 +20,12 @@ Route18_TextPointers:
|
|||
dw Route18Text5
|
||||
|
||||
Route18TrainerHeader0:
|
||||
dbEventFlagBit EVENT_BEAT_ROUTE_18_TRAINER_0
|
||||
db ($3 << 4) ; trainer's view range
|
||||
dwEventFlagAddress EVENT_BEAT_ROUTE_18_TRAINER_0
|
||||
dw Route18BattleText1 ; TextBeforeBattle
|
||||
dw Route18AfterBattleText1 ; TextAfterBattle
|
||||
dw Route18EndBattleText1 ; TextEndBattle
|
||||
dw Route18EndBattleText1 ; TextEndBattle
|
||||
|
||||
trainer EVENT_BEAT_ROUTE_18_TRAINER_0, 3, Route18BattleText1, Route18EndBattleText1, Route18AfterBattleText1
|
||||
Route18TrainerHeader1:
|
||||
dbEventFlagBit EVENT_BEAT_ROUTE_18_TRAINER_1
|
||||
db ($3 << 4) ; trainer's view range
|
||||
dwEventFlagAddress EVENT_BEAT_ROUTE_18_TRAINER_1
|
||||
dw Route18BattleText2 ; TextBeforeBattle
|
||||
dw Route18AfterBattleText2 ; TextAfterBattle
|
||||
dw Route18EndBattleText2 ; TextEndBattle
|
||||
dw Route18EndBattleText2 ; TextEndBattle
|
||||
|
||||
trainer EVENT_BEAT_ROUTE_18_TRAINER_1, 3, Route18BattleText2, Route18EndBattleText2, Route18AfterBattleText2
|
||||
Route18TrainerHeader2:
|
||||
dbEventFlagBit EVENT_BEAT_ROUTE_18_TRAINER_2
|
||||
db ($4 << 4) ; trainer's view range
|
||||
dwEventFlagAddress EVENT_BEAT_ROUTE_18_TRAINER_2
|
||||
dw Route18BattleText3 ; TextBeforeBattle
|
||||
dw Route18AfterBattleText3 ; TextAfterBattle
|
||||
dw Route18EndBattleText3 ; TextEndBattle
|
||||
dw Route18EndBattleText3 ; TextEndBattle
|
||||
|
||||
db $ff
|
||||
trainer EVENT_BEAT_ROUTE_18_TRAINER_2, 4, Route18BattleText3, Route18EndBattleText3, Route18AfterBattleText3
|
||||
db -1 ; end
|
||||
|
||||
Route18Text1:
|
||||
text_asm
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue