ref: f2888a2d751a8a71e6d9aa8caa96e60680a83b1f
parent: 92152c98fc0cd319f5fff1b0e7ee76dc2c0520d2
author: yenatch <[email protected]>
date: Fri Jul 19 21:25:20 EDT 2013
more overworld wram labels
--- a/engine/vblank.asm
+++ b/engine/vblank.asm
@@ -146,12 +146,12 @@
xor a
ld [VBlankOccurred], a
-; dec $cfb1 until 0
- ld a, [$cfb1]
+; dec OverworldDelay until 0
+ ld a, [OverworldDelay]
and a
jr z, .textdelay
dec a
- ld [$cfb1], a
+ ld [OverworldDelay], a
.textdelay
; dec text delay counter until 0
--- a/wram.asm
+++ b/wram.asm
@@ -845,7 +845,9 @@
-SECTION "VBlank",BSS[$cfb2]
+SECTION "VBlank",BSS[$cfb1]
+OverworldDelay: ; cfb1
+ ds 1
TextDelayFrames: ; cfb2
ds 1
VBlankOccurred: ; cfb3
@@ -1086,8 +1088,13 @@
UsedSprites: ; d154
ds 32
-SECTION "connections",BSS[$d1a9]
+SECTION "map",BSS[$d1a3]
+MapEventBank: ; d1a3
+ ds 1
+
+ ds 5
+
MapConnections:
NorthMapConnection: ; d1a9
@@ -1534,8 +1541,10 @@
ScriptFlags: ; d434
SCRIPT_RUNNING EQU 2
ds 1
-
- ds 2
+ScriptFlags2: ; d435
+ ds 1
+ScriptFlags3: ; d436
+ ds 1
ScriptMode: ; d437
SCRIPT_OFF EQU 0