diff options
author | YamaArashi <shadow962@live.com> | 2015-08-12 22:14:31 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2015-08-12 22:14:31 -0700 |
commit | 132d0367522b7acce602b146ca69bfad87ef96c6 (patch) | |
tree | dc13049a6ca810ab3368ce7a7942cc50659f54d1 /scripts/oakslab.asm | |
parent | 64cfbcce7a71e6e75553575490fd60cbd61a5665 (diff) |
named more variables
Diffstat (limited to 'scripts/oakslab.asm')
-rwxr-xr-x | scripts/oakslab.asm | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/scripts/oakslab.asm b/scripts/oakslab.asm index 9d3cd7b1..c5ca2e6e 100755 --- a/scripts/oakslab.asm +++ b/scripts/oakslab.asm @@ -449,13 +449,13 @@ OaksLabScript13: ; 1ce32 (7:4e32) ld a, [W_XCOORD] cp $4 ; move left or right depending on where the player is standing - jr nz, .asm_1ce5b - ld a, $c0 - jr .asm_1ce5d -.asm_1ce5b - ld a, $80 -.asm_1ce5d - ld [wcc5b], a + jr nz, .moveLeft + ld a, NPC_MOVEMENT_RIGHT + jr .next +.moveLeft + ld a, NPC_MOVEMENT_LEFT +.next + ld [wNPCMovementDirections], a ld a, $e ld [W_OAKSLABCURSCRIPT], a @@ -855,7 +855,7 @@ OaksLabScript_1d157: ; 1d157 (7:5157) ld [hl], SPRITE_FACING_RIGHT ld hl, wd730 set 6, [hl] - predef StarterDex ; StarterDex + predef StarterDex ld hl, wd730 res 6, [hl] call ReloadMapData |