From f0915e2b664f3c045cdea710aeced219396db8bb Mon Sep 17 00:00:00 2001 From: luckytyphlosion Date: Tue, 29 Dec 2015 14:53:57 -0500 Subject: More BankF documentation Also introduce bit direction constants and setpal macros --- scripts/halloffameroom.asm | 2 +- scripts/oakslab.asm | 2 +- scripts/seafoamislands4.asm | 4 ++-- scripts/seafoamislands5.asm | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'scripts') diff --git a/scripts/halloffameroom.asm b/scripts/halloffameroom.asm index 1da6d3f5..466ce77d 100755 --- a/scripts/halloffameroom.asm +++ b/scripts/halloffameroom.asm @@ -28,7 +28,7 @@ HallofFameRoomScript2: ; 5a4bb (16:64bb) predef HallOfFamePC pop af ld [wLetterPrintingDelayFlags], a - ld hl, W_FLAGS_D733 + ld hl, wFlags_D733 res 1, [hl] inc hl set 0, [hl] diff --git a/scripts/oakslab.asm b/scripts/oakslab.asm index be254970..40ecd1f9 100755 --- a/scripts/oakslab.asm +++ b/scripts/oakslab.asm @@ -116,7 +116,7 @@ OaksLabScript4: ; 1cbd2 (7:4bd2) ld [hSpriteFacingDirection], a call SetSpriteFacingDirectionAndDelay call UpdateSprites - ld hl, W_FLAGS_D733 + ld hl, wFlags_D733 res 1, [hl] call PlayDefaultMusic diff --git a/scripts/seafoamislands4.asm b/scripts/seafoamislands4.asm index 90d282cf..e3234b0a 100755 --- a/scripts/seafoamislands4.asm +++ b/scripts/seafoamislands4.asm @@ -70,7 +70,7 @@ SeafoamIslands4Script0: ; 46603 (11:6603) dec a ld [wSimulatedJoypadStatesIndex], a call StartSimulatingJoypadStates - ld hl, W_FLAGS_D733 + ld hl, wFlags_D733 set 2, [hl] ld a, $1 ld [wSeafoamIslands4CurScript], a @@ -112,7 +112,7 @@ SeafoamIslands4Script2: ; 46644 (11:6644) ld [wSpriteStateData2 + $06], a ld hl, wd730 set 7, [hl] - ld hl, W_FLAGS_D733 + ld hl, wFlags_D733 set 2, [hl] ld a, $3 .asm_4667b diff --git a/scripts/seafoamislands5.asm b/scripts/seafoamislands5.asm index 17ea82cb..98c27666 100755 --- a/scripts/seafoamislands5.asm +++ b/scripts/seafoamislands5.asm @@ -46,7 +46,7 @@ SeafoamIslands5Script0: ; 467c7 (11:67c7) ld a, D_UP ld [wSimulatedJoypadStatesEnd], a call StartSimulatingJoypadStates - ld hl, W_FLAGS_D733 + ld hl, wFlags_D733 res 2, [hl] ld a, $1 ld [wSeafoamIslands5CurScript], a -- cgit v1.2.3