You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Use a predef macro that takes labels instead of juggling constants.
Besides making predefs convenient, naming a predef no longer requires adding or renaming a predef constant. This also lets predefs be rearranged at will.
This commit is contained in:
@ -1531,8 +1531,7 @@ Script_startbattle: ; 0x97436
|
||||
; script command 0x5f
|
||||
|
||||
call Function2879
|
||||
ld a, PREDEF_START_BATTLE
|
||||
call Predef
|
||||
predef StartBattle
|
||||
ld a, [$d0ee]
|
||||
and $3f
|
||||
ld [ScriptVar], a
|
||||
|
Reference in New Issue
Block a user