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 d, $0
|
||||||
ld b, CHECK_FLAG
|
ld b, CHECK_FLAG
|
||||||
ld hl, sMysteryGiftDecorationsReceived
|
ld hl, sMysteryGiftDecorationsReceived
|
||||||
predef_id SmallFarFlagAction
|
lda_predef SmallFarFlagAction
|
||||||
push hl
|
push hl
|
||||||
push bc
|
push bc
|
||||||
call Predef
|
call Predef
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
predef_id: MACRO
|
lda_predef: MACRO
|
||||||
; Some functions load the predef id
|
; Some functions load the predef id
|
||||||
; without immediately calling Predef.
|
; without immediately calling Predef.
|
||||||
ld a, (\1Predef - PredefPointers) / 3
|
ld a, (\1Predef - PredefPointers) / 3
|
||||||
ENDM
|
ENDM
|
||||||
|
|
||||||
predef: MACRO
|
predef: MACRO
|
||||||
predef_id \1
|
lda_predef \1
|
||||||
call Predef
|
call Predef
|
||||||
ENDM
|
ENDM
|
||||||
|
|
||||||
predef_jump: MACRO
|
predef_jump: MACRO
|
||||||
predef_id \1
|
lda_predef \1
|
||||||
jp Predef
|
jp Predef
|
||||||
ENDM
|
ENDM
|
||||||
|
Loading…
Reference in New Issue
Block a user