mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
predef_id -> lda_predef, for consistency with lda_coord and map_id
This commit is contained in:
parent
cdafd41ef0
commit
9ab2575727
@ -1107,7 +1107,7 @@ MysteryGift_CheckAndSetDecorationAlreadyReceived:
|
||||
ld d, $0
|
||||
ld b, CHECK_FLAG
|
||||
ld hl, sMysteryGiftDecorationsReceived
|
||||
predef_id SmallFarFlagAction
|
||||
lda_predef SmallFarFlagAction
|
||||
push hl
|
||||
push bc
|
||||
call Predef
|
||||
|
@ -1,15 +1,15 @@
|
||||
predef_id: MACRO
|
||||
lda_predef: MACRO
|
||||
; Some functions load the predef id
|
||||
; without immediately calling Predef.
|
||||
ld a, (\1Predef - PredefPointers) / 3
|
||||
ENDM
|
||||
|
||||
predef: MACRO
|
||||
predef_id \1
|
||||
lda_predef \1
|
||||
call Predef
|
||||
ENDM
|
||||
|
||||
predef_jump: MACRO
|
||||
predef_id \1
|
||||
lda_predef \1
|
||||
jp Predef
|
||||
ENDM
|
||||
|
Loading…
Reference in New Issue
Block a user