From 916b31351797bece6510db6128fb7fd24b6ccc3f Mon Sep 17 00:00:00 2001 From: Sawakita Date: Sun, 15 Jan 2012 15:40:13 +0100 Subject: 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 --- common.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common.asm') diff --git a/common.asm b/common.asm index 3928c6f7..f0d6ded7 100644 --- a/common.asm +++ b/common.asm @@ -1408,7 +1408,7 @@ Function3541: ; 3541 call Function354E ld [hl],$FF call Function3558 - ld [hl],$FF + ld [hl],$FF ; prevent person from walking? pop hl ret @@ -1422,7 +1422,7 @@ Function354E: ; 354E Function3558: ; 3558 push de - ld hl,W_MAPTEXTPTRLIST + ld hl,W_PEOPLEMOVEPERMISSIONS ld a,[$FF8C] ; the sprite to move dec a add a -- cgit v1.2.3