diff options
author | YamaArashi <shadow962@live.com> | 2015-07-15 13:58:21 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2015-07-15 13:58:21 -0700 |
commit | ac78dda7d8a4a6cf9af95f601bdac9fc348c65a6 (patch) | |
tree | 8e4e90bedb2bfcd6453794afbf48974f6be0157c /scripts/oakslab.asm | |
parent | 7b676f5851a2b6fe0001f259afde6e9918b93683 (diff) |
more movement stuff
Diffstat (limited to 'scripts/oakslab.asm')
-rwxr-xr-x | scripts/oakslab.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/oakslab.asm b/scripts/oakslab.asm index 1c255103..b32647b5 100755 --- a/scripts/oakslab.asm +++ b/scripts/oakslab.asm @@ -333,14 +333,14 @@ OaksLabScript10: ; 1cd6d (7:4d6d) ld [$ff8c], a call DisplayTextID ld a, $1 - ld [$ff9b], a + ld [hNPCPlayerRelativePosPerspective], a ld a, $1 swap a - ld [$ff95], a + ld [hNPCSpriteOffset], a predef CalcPositionOfPlayerRelativeToNPC - ld a, [$ff95] + ld a, [hNPCPlayerYDistance] dec a - ld [$ff95], a + ld [hNPCPlayerYDistance], a predef FindPathToPlayer ld de, wNPCMovementDirections2 ld a, $1 |