diff options
author | dannye <corrnondacqb@yahoo.com> | 2015-07-16 23:27:57 -0500 |
---|---|---|
committer | dannye <corrnondacqb@yahoo.com> | 2015-07-16 23:27:57 -0500 |
commit | 40ea6a5f757bbbfdb4296e5acf644f6679a03a14 (patch) | |
tree | 2f7957bfa877ce974ad185684f037ba5b6cdfccd /scripts/oakslab.asm | |
parent | 4670a1ddae02fd73d8c4826f9d9c9948820636a0 (diff) | |
parent | 9e77982bc8658c09df187b4598f8cbabb427a271 (diff) |
Merge branch 'master' of https://github.com/iimarckus/pokered
Diffstat (limited to 'scripts/oakslab.asm')
-rwxr-xr-x | scripts/oakslab.asm | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/scripts/oakslab.asm b/scripts/oakslab.asm index 1c255103..73ad345d 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 @@ -898,9 +898,9 @@ OaksLabMonChoiceMenu: ; 1d1b3 (7:51b3) call PrintText ld hl, OaksLabReceivedMonText call PrintText - xor a - ld [wcc49], a - ld a, $5 + xor a ; PLAYER_PARTY_DATA + ld [wMonDataLocation], a + ld a, 5 ld [W_CURENEMYLVL], a ld a, [wcf91] ld [wd11e], a |