summaryrefslogtreecommitdiff
path: root/engine/predefs.asm
diff options
context:
space:
mode:
authorluckytyphlosion <alan.rj.huang@gmail.com>2015-07-07 17:36:28 -0400
committerluckytyphlosion <alan.rj.huang@gmail.com>2015-07-07 17:36:28 -0400
commit4274e105f6739a92788f9b1fdba55526d7614f8a (patch)
tree0f0bda1c77a384b4255e724122ac3f6bf0af7202 /engine/predefs.asm
parent9c9fb882c70650b82f4e684d12a5f5cf03d18ae6 (diff)
Bank3d addresses and fixes.
Also documentation of new super rod code and slight more documentation of multiply_divide.asm
Diffstat (limited to 'engine/predefs.asm')
-rwxr-xr-xengine/predefs.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/predefs.asm b/engine/predefs.asm
index f6ecf018..30099dfe 100755
--- a/engine/predefs.asm
+++ b/engine/predefs.asm
@@ -1,4 +1,4 @@
-GetPredefPointer:
+GetPredefPointer: ; f67ed (3d:67ed)
; Store the contents of the register
; pairs (hl, de, bc) at wPredefRegisters.
; Then put the bank and address of predef
@@ -27,10 +27,10 @@ GetPredefPointer:
add a
add e
ld e,a
- jr nc,.next
+ jr nc,.nocarry
inc d
-.next
+.nocarry
add hl,de
ld d,h
ld e,l
@@ -49,7 +49,7 @@ GetPredefPointer:
ret
-PredefPointers:: ; 4fe79 (13:7e79)
+PredefPointers:: ; f681d (3d:681d)
; these are pointers to ASM routines.
; they appear to be used in overworld map scripts.
add_predef DrawPlayerHUDAndHPBar