diff options
author | xCrystal <rgr.crystal@gmail.com> | 2017-12-30 01:54:27 +0100 |
---|---|---|
committer | xCrystal <rgr.crystal@gmail.com> | 2017-12-30 01:54:27 +0100 |
commit | 237aeb8fbdb204948d611830565d4a00c6b0ab70 (patch) | |
tree | 94dea41b4af4a3374a1a1e2f56665cff2ea5baa9 /scripts/redshouse2f.asm | |
parent | 94b9a86c8b9b6ea29653e98921205056790d6617 (diff) |
Add space between arguments in assembly instructions and remove redundant a in instructions like add a, x
Diffstat (limited to 'scripts/redshouse2f.asm')
-rwxr-xr-x | scripts/redshouse2f.asm | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/scripts/redshouse2f.asm b/scripts/redshouse2f.asm index 60c3ea67..0ec59077 100755 --- a/scripts/redshouse2f.asm +++ b/scripts/redshouse2f.asm @@ -1,7 +1,7 @@ RedsHouse2FScript: call EnableAutoTextBoxDrawing - ld hl,RedsHouse2FScriptPointers - ld a,[wRedsHouse2CurScript] + ld hl, RedsHouse2FScriptPointers + ld a, [wRedsHouse2CurScript] jp CallFunctionInTable RedsHouse2FScriptPointers: @@ -10,11 +10,11 @@ RedsHouse2FScriptPointers: RedsHouse2FScript0: xor a - ld [hJoyHeld],a - ld a,PLAYER_DIR_UP - ld [wPlayerMovingDirection],a - ld a,1 - ld [wRedsHouse2CurScript],a + ld [hJoyHeld], a + ld a, PLAYER_DIR_UP + ld [wPlayerMovingDirection], a + ld a, 1 + ld [wRedsHouse2CurScript], a ret RedsHouse2FScript1: |