mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-07 08:05:23 +13:00
The 'def_trainers' macro checks that trainers' event flag bits are correct (#318)
This commit is contained in:
parent
2954013da1
commit
506a14084e
71 changed files with 274 additions and 149 deletions
|
|
@ -4,7 +4,7 @@ VictoryRoad1F_Script:
|
|||
res 5, [hl]
|
||||
call nz, .next
|
||||
call EnableAutoTextBoxDrawing
|
||||
ld hl, VictoryRoad1TrainerHeader0
|
||||
ld hl, VictoryRoad1TrainerHeaders
|
||||
ld de, VictoryRoad1F_ScriptPointers
|
||||
ld a, [wVictoryRoad1FCurScript]
|
||||
call ExecuteCurMapScriptInTable
|
||||
|
|
@ -47,6 +47,8 @@ VictoryRoad1F_TextPointers:
|
|||
dw BoulderText
|
||||
dw BoulderText
|
||||
|
||||
VictoryRoad1TrainerHeaders:
|
||||
def_trainers
|
||||
VictoryRoad1TrainerHeader0:
|
||||
trainer EVENT_BEAT_VICTORY_ROAD_1_TRAINER_0, 2, VictoryRoad1BattleText1, VictoryRoad1EndBattleText1, VictoryRoad1AfterBattleText1
|
||||
VictoryRoad1TrainerHeader1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue