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
|
|
@ -1,6 +1,6 @@
|
|||
Route24_Script:
|
||||
call EnableAutoTextBoxDrawing
|
||||
ld hl, Route24TrainerHeader0
|
||||
ld hl, Route24TrainerHeaders
|
||||
ld de, Route24_ScriptPointers
|
||||
ld a, [wRoute24CurScript]
|
||||
call ExecuteCurMapScriptInTable
|
||||
|
|
@ -86,6 +86,8 @@ Route24_TextPointers:
|
|||
dw Route24Text7
|
||||
dw PickUpItemText
|
||||
|
||||
Route24TrainerHeaders:
|
||||
def_trainers 2
|
||||
Route24TrainerHeader0:
|
||||
trainer EVENT_BEAT_ROUTE_24_TRAINER_0, 4, Route24BattleText1, Route24EndBattleText1, Route24AfterBattleText1
|
||||
Route24TrainerHeader1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue