mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-12-24 19:36:48 +13:00
Fix a RAM location mis-labeling. At $D4E4 there is the list of current map's people-movement-permissions, not the list of map's text-pointers.
hg-commit-id: 409379e6e31e
This commit is contained in:
parent
74360178fb
commit
916b313517
|
|
@ -1408,7 +1408,7 @@ Function3541: ; 3541
|
||||||
call Function354E
|
call Function354E
|
||||||
ld [hl],$FF
|
ld [hl],$FF
|
||||||
call Function3558
|
call Function3558
|
||||||
ld [hl],$FF
|
ld [hl],$FF ; prevent person from walking?
|
||||||
pop hl
|
pop hl
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
|
@ -1422,7 +1422,7 @@ Function354E: ; 354E
|
||||||
|
|
||||||
Function3558: ; 3558
|
Function3558: ; 3558
|
||||||
push de
|
push de
|
||||||
ld hl,W_MAPTEXTPTRLIST
|
ld hl,W_PEOPLEMOVEPERMISSIONS
|
||||||
ld a,[$FF8C] ; the sprite to move
|
ld a,[$FF8C] ; the sprite to move
|
||||||
dec a
|
dec a
|
||||||
add a
|
add a
|
||||||
|
|
|
||||||
|
|
@ -162,7 +162,7 @@ W_MAPDATAPTR EQU $D36A
|
||||||
W_MAPTEXTPTR EQU $D36C
|
W_MAPTEXTPTR EQU $D36C
|
||||||
W_MAPSCRIPTPTR EQU $D36E
|
W_MAPSCRIPTPTR EQU $D36E
|
||||||
|
|
||||||
W_MAPTEXTPTRLIST EQU $D4E4
|
W_PEOPLEMOVEPERMISSIONS EQU $D4E4
|
||||||
|
|
||||||
W_PLAYERCOINS1 EQU $D5A4
|
W_PLAYERCOINS1 EQU $D5A4
|
||||||
W_PLAYERCOINS2 EQU $D5A5
|
W_PLAYERCOINS2 EQU $D5A5
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue