predef_id -> lda_predef, for consistency with lda_coord and map_id

This commit is contained in:
Rangi 2020-06-10 17:08:43 -04:00
parent cdafd41ef0
commit 9ab2575727
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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