mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-07 16:15: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
|
|
@ -9,7 +9,7 @@ VermilionGym_Script:
|
|||
res 6, [hl]
|
||||
call nz, VermilionGymSetDoorTile
|
||||
call EnableAutoTextBoxDrawing
|
||||
ld hl, VermilionGymTrainerHeader0
|
||||
ld hl, VermilionGymTrainerHeaders
|
||||
ld de, VermilionGym_ScriptPointers
|
||||
ld a, [wVermilionGymCurScript]
|
||||
call ExecuteCurMapScriptInTable
|
||||
|
|
@ -99,6 +99,8 @@ VermilionGym_TextPointers:
|
|||
dw ReceivedTM24Text
|
||||
dw TM24NoRoomText
|
||||
|
||||
VermilionGymTrainerHeaders:
|
||||
def_trainers 2
|
||||
VermilionGymTrainerHeader0:
|
||||
trainer EVENT_BEAT_VERMILION_GYM_TRAINER_0, 3, VermilionGymBattleText1, VermilionGymEndBattleText1, VermilionGymAfterBattleText1
|
||||
VermilionGymTrainerHeader1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue