ref: 9ab257572793d5cdcd8156ca9e1566613ab72814
parent: cdafd41ef058186c41fced65f76285378213dfb8
author: Rangi <[email protected]>
date: Wed Jun 10 13:08:43 EDT 2020
predef_id -> lda_predef, for consistency with lda_coord and map_id
--- a/engine/link/mystery_gift.asm
+++ b/engine/link/mystery_gift.asm
@@ -1107,7 +1107,7 @@
ld d, $0
ld b, CHECK_FLAG
ld hl, sMysteryGiftDecorationsReceived
- predef_id SmallFarFlagAction
+ lda_predef SmallFarFlagAction
push hl
push bc
call Predef
--- a/macros/predef.asm
+++ b/macros/predef.asm
@@ -1,4 +1,4 @@
-predef_id: MACRO
+lda_predef: MACRO
; Some functions load the predef id
; without immediately calling Predef.
ld a, (\1Predef - PredefPointers) / 3
@@ -5,11 +5,11 @@
ENDM
predef: MACRO
- predef_id \1
+ lda_predef \1
call Predef
ENDM
predef_jump: MACRO
- predef_id \1
+ lda_predef \1
jp Predef
ENDM