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:
@@ -167,8 +167,7 @@ Init:: ; 17d
|
||||
|
||||
call DelayFrame
|
||||
|
||||
ld a, $30
|
||||
call Predef
|
||||
predef Function9853
|
||||
|
||||
call SoundRestart
|
||||
xor a
|
||||
|
@@ -31,8 +31,7 @@ CheckSeenMon:: ; 339b
|
||||
|
||||
PokedexFlagAction:: ; 33a1
|
||||
ld d, 0
|
||||
ld a, PREDEF_FLAG
|
||||
call Predef
|
||||
predef FlagPredef
|
||||
ld a, c
|
||||
and a
|
||||
ret
|
||||
|
Reference in New Issue
Block a user