Update battle anim bg function comments, and identify more unnamed labels

This commit is contained in:
Rangi 2020-10-06 18:09:33 -04:00
parent cf26f55985
commit 2e90df15b7
10 changed files with 95 additions and 90 deletions

View File

@ -814,7 +814,7 @@ BATTLEANIM_BASE_TILE EQU 7 * 7 ; Maximum size of a pokemon picture
BG_EFFECT_STRUCT_LENGTH EQU const_value BG_EFFECT_STRUCT_LENGTH EQU const_value
NUM_BG_EFFECTS EQU 5 ; see wActiveBGEffects NUM_BG_EFFECTS EQU 5 ; see wActiveBGEffects
; ; anim_bgeffect battle turn values for some effects
const_def const_def
const BG_EFFECT_TARGET ; 0 const BG_EFFECT_TARGET ; 0
const BG_EFFECT_USER ; 1 const BG_EFFECT_USER ; 1

View File

@ -3111,7 +3111,7 @@ ForceEnemySwitch:
call ClearEnemyMonBox call ClearEnemyMonBox
call NewEnemyMonStatus call NewEnemyMonStatus
call ResetEnemyStatLevels call ResetEnemyStatLevels
call Function_SetEnemyMonAndSendOutAnimation call ShowSetEnemyMonAndSendOutAnimation
call BreakAttraction call BreakAttraction
call ResetBattleParticipants call ResetBattleParticipants
ret ret
@ -3130,8 +3130,8 @@ EnemySwitch:
call OfferSwitch call OfferSwitch
push af push af
call ClearEnemyMonBox call ClearEnemyMonBox
call Function_BattleTextEnemySentOut call ShowBattleTextEnemySentOut
call Function_SetEnemyMonAndSendOutAnimation call ShowSetEnemyMonAndSendOutAnimation
pop af pop af
ret c ret c
; If we're here, then we're switching too ; If we're here, then we're switching too
@ -3155,8 +3155,8 @@ EnemySwitch_SetMode:
ld a, 1 ld a, 1
ld [wEnemyIsSwitching], a ld [wEnemyIsSwitching], a
call ClearEnemyMonBox call ClearEnemyMonBox
call Function_BattleTextEnemySentOut call ShowBattleTextEnemySentOut
jp Function_SetEnemyMonAndSendOutAnimation jp ShowSetEnemyMonAndSendOutAnimation
CheckWhetherSwitchmonIsPredetermined: CheckWhetherSwitchmonIsPredetermined:
; returns carry if: ??? ; returns carry if: ???
@ -3526,13 +3526,13 @@ ClearEnemyMonBox:
call WaitBGMap call WaitBGMap
jp FinishBattleAnim jp FinishBattleAnim
Function_BattleTextEnemySentOut: ShowBattleTextEnemySentOut:
callfar Battle_GetTrainerName callfar Battle_GetTrainerName
ld hl, BattleText_EnemySentOut ld hl, BattleText_EnemySentOut
call StdBattleTextbox call StdBattleTextbox
jp WaitBGMap jp WaitBGMap
Function_SetEnemyMonAndSendOutAnimation: ShowSetEnemyMonAndSendOutAnimation:
ld a, [wTempEnemyMonSpecies] ld a, [wTempEnemyMonSpecies]
ld [wCurPartySpecies], a ld [wCurPartySpecies], a
ld [wCurSpecies], a ld [wCurSpecies], a

View File

@ -2121,7 +2121,7 @@ BattleBGEffect_RapidFlash: ; unused
db $e4, $6c, $fe db $e4, $6c, $fe
BattleBGEffect_FadeMonToLight: BattleBGEffect_FadeMonToLight:
; BG_EFFECT_STRUCT_BATTLE_TURN: 0 = target of animation, 1 = user ; BG_EFFECT_STRUCT_BATTLE_TURN = BG_EFFECT_TARGET or BG_EFFECT_USER
ld de, .Pals ld de, .Pals
call BGEffect_RapidCyclePals call BGEffect_RapidCyclePals
ret ret
@ -2130,7 +2130,7 @@ BattleBGEffect_FadeMonToLight:
db $e4, $90, $40, $ff db $e4, $90, $40, $ff
BattleBGEffect_FadeMonToBlack: BattleBGEffect_FadeMonToBlack:
; BG_EFFECT_STRUCT_BATTLE_TURN: 0 = target of animation, 1 = user ; BG_EFFECT_STRUCT_BATTLE_TURN = BG_EFFECT_TARGET or BG_EFFECT_USER
ld de, .Pals ld de, .Pals
call BGEffect_RapidCyclePals call BGEffect_RapidCyclePals
ret ret
@ -2139,7 +2139,7 @@ BattleBGEffect_FadeMonToBlack:
db $e4, $f8, $fc, $ff db $e4, $f8, $fc, $ff
BattleBGEffect_FadeMonToLightRepeating: BattleBGEffect_FadeMonToLightRepeating:
; BG_EFFECT_STRUCT_BATTLE_TURN: 0 = target of animation, 1 = user ; BG_EFFECT_STRUCT_BATTLE_TURN = BG_EFFECT_TARGET or BG_EFFECT_USER
ld de, .Pals ld de, .Pals
call BGEffect_RapidCyclePals call BGEffect_RapidCyclePals
ret ret
@ -2148,7 +2148,7 @@ BattleBGEffect_FadeMonToLightRepeating:
db $e4, $90, $40, $90, $fe db $e4, $90, $40, $90, $fe
BattleBGEffect_FadeMonToBlackRepeating: BattleBGEffect_FadeMonToBlackRepeating:
; BG_EFFECT_STRUCT_BATTLE_TURN: 0 = target of animation, 1 = user ; BG_EFFECT_STRUCT_BATTLE_TURN = BG_EFFECT_TARGET or BG_EFFECT_USER
ld de, .Pals ld de, .Pals
call BGEffect_RapidCyclePals call BGEffect_RapidCyclePals
ret ret
@ -2157,7 +2157,7 @@ BattleBGEffect_FadeMonToBlackRepeating:
db $e4, $f8, $fc, $f8, $fe db $e4, $f8, $fc, $f8, $fe
BattleBGEffect_CycleMonLightDarkRepeating: BattleBGEffect_CycleMonLightDarkRepeating:
; BG_EFFECT_STRUCT_BATTLE_TURN: 0 = target of animation, 1 = user ; BG_EFFECT_STRUCT_BATTLE_TURN = BG_EFFECT_TARGET or BG_EFFECT_USER
ld de, .Pals ld de, .Pals
call BGEffect_RapidCyclePals call BGEffect_RapidCyclePals
ret ret
@ -2166,7 +2166,7 @@ BattleBGEffect_CycleMonLightDarkRepeating:
db $e4, $f8, $fc, $f8, $e4, $90, $40, $90, $fe db $e4, $f8, $fc, $f8, $e4, $90, $40, $90, $fe
BattleBGEffect_FlashMonRepeating: ; unused BattleBGEffect_FlashMonRepeating: ; unused
; BG_EFFECT_STRUCT_BATTLE_TURN: 0 = target of animation, 1 = user ; BG_EFFECT_STRUCT_BATTLE_TURN = BG_EFFECT_TARGET or BG_EFFECT_USER
ld de, .Pals ld de, .Pals
call BGEffect_RapidCyclePals call BGEffect_RapidCyclePals
ret ret
@ -2175,7 +2175,7 @@ BattleBGEffect_FlashMonRepeating: ; unused
db $e4, $fc, $e4, $00, $fe db $e4, $fc, $e4, $00, $fe
BattleBGEffect_FadeMonToWhiteWaitFadeBack: BattleBGEffect_FadeMonToWhiteWaitFadeBack:
; BG_EFFECT_STRUCT_BATTLE_TURN: 0 = target of animation, 1 = user ; BG_EFFECT_STRUCT_BATTLE_TURN = BG_EFFECT_TARGET or BG_EFFECT_USER
ld de, .Pals ld de, .Pals
call BGEffect_RapidCyclePals call BGEffect_RapidCyclePals
ret ret
@ -2184,7 +2184,7 @@ BattleBGEffect_FadeMonToWhiteWaitFadeBack:
db $e4, $90, $40, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $40, $90, $e4, $ff db $e4, $90, $40, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $40, $90, $e4, $ff
BattleBGEffect_FadeMonFromWhite: ; unused BattleBGEffect_FadeMonFromWhite: ; unused
; BG_EFFECT_STRUCT_BATTLE_TURN: 0 = target of animation, 1 = user ; BG_EFFECT_STRUCT_BATTLE_TURN = BG_EFFECT_TARGET or BG_EFFECT_USER
ld de, .Pals ld de, .Pals
call BGEffect_RapidCyclePals call BGEffect_RapidCyclePals
ret ret
@ -2194,7 +2194,7 @@ BattleBGEffect_FadeMonFromWhite: ; unused
BattleBGEffect_VibrateMon: BattleBGEffect_VibrateMon:
; Moves mon back and forth sideways for $20 frames ; Moves mon back and forth sideways for $20 frames
; BG_EFFECT_STRUCT_BATTLE_TURN: 0 = target of animation, 1 = user ; BG_EFFECT_STRUCT_BATTLE_TURN = BG_EFFECT_TARGET or BG_EFFECT_USER
call BattleBGEffects_AnonJumptable call BattleBGEffects_AnonJumptable
.anon_dw .anon_dw
dw .zero dw .zero

View File

@ -269,7 +269,7 @@ DebugColorMain:
.SwitchMon .SwitchMon
ld [wcf66], a ld [wcf66], a
ld a, 0 ; ScreenInitNo ld a, 0
ld [wJumptableIndex], a ld [wJumptableIndex], a
ret ret
@ -1064,7 +1064,8 @@ INCBIN "gfx/debug/up_arrow.2bpp"
DebugColor_GFX: DebugColor_GFX:
INCBIN "gfx/debug/color_test.2bpp" INCBIN "gfx/debug/color_test.2bpp"
TilesetColorTest: TilesetColorPicker:
; A debug function to test tileset palettes at runtime.
; dummied out ; dummied out
ret ret
xor a xor a
@ -1094,21 +1095,21 @@ TilesetColorTest:
call ByteFill call ByteFill
hlcoord 0, 0, wAttrmap hlcoord 0, 0, wAttrmap
ld bc, SCREEN_WIDTH * SCREEN_HEIGHT ld bc, SCREEN_WIDTH * SCREEN_HEIGHT
ld a, $07 ld a, PAL_BG_TEXT
call ByteFill call ByteFill
ld de, $15 decoord 1, 1, 0
ld a, DEBUGTEST_WHITE ld a, DEBUGTEST_WHITE
call Function821d2 call DebugTileset_DrawColorSwatch
ld de, $1a decoord 6, 1, 0
ld a, DEBUGTEST_LIGHT ld a, DEBUGTEST_LIGHT
call Function821d2 call DebugTileset_DrawColorSwatch
ld de, $1f decoord 11, 1, 0
ld a, DEBUGTEST_DARK ld a, DEBUGTEST_DARK
call Function821d2 call DebugTileset_DrawColorSwatch
ld de, $24 decoord 16, 1, 0
ld a, DEBUGTEST_BLACK ld a, DEBUGTEST_BLACK
call Function821d2 call DebugTileset_DrawColorSwatch
call Function821f4 call DebugTileset_LoadRGBMeter
call Function8220f call Function8220f
call WaitBGMap2 call WaitBGMap2
ld [wJumptableIndex], a ld [wJumptableIndex], a
@ -1116,42 +1117,39 @@ TilesetColorTest:
ldh [hWY], a ldh [hWY], a
ret ret
Function821d2: DebugTileset_DrawColorSwatch:
hlcoord 0, 0 hlcoord 0, 0
call Function821de call _DebugColor_DrawSwatch
Function821d8: DebugColor_DrawAttributeSwatch:
ld a, [wcf64] ld a, [wcf64]
hlcoord 0, 0, wAttrmap hlcoord 0, 0, wAttrmap
Function821de: _DebugColor_DrawSwatch:
; Fills a 4x3 box at de with byte a.
add hl, de add hl, de
rept 4 rept 4
ld [hli], a ld [hli], a
endr endr
ld bc, $10 rept 2
ld bc, SCREEN_WIDTH - 4
add hl, bc add hl, bc
rept 4 rept 4
ld [hli], a ld [hli], a
endr endr
ld bc, $10
add hl, bc
rept 4
ld [hli], a
endr endr
ret ret
Function821f4: DebugTileset_LoadRGBMeter:
hlcoord 2, 4 hlcoord 2, 4
call .Place call .Place
hlcoord 2, 6 hlcoord 2, 6
call .Place call .Place
hlcoord 2, 8 hlcoord 2, 8
.Place: .Place:
ld a, DEBUGTEST_TICKS_1 ld a, DEBUGTEST_TICKS_1
ld [hli], a ld [hli], a
ld bc, $10 - 1 ld bc, 15
ld a, DEBUGTEST_TICKS_2 ld a, DEBUGTEST_TICKS_2
call ByteFill call ByteFill
ret ret
@ -1171,7 +1169,7 @@ Function8220f:
ld de, wBGPals1 ld de, wBGPals1
add hl, de add hl, de
ld de, wc608 ld de, wc608
ld bc, 8 ld bc, 1 palettes
call CopyBytes call CopyBytes
ld de, wc608 ld de, wc608
call DebugColor_CalculateRGB call DebugColor_CalculateRGB
@ -1187,7 +1185,7 @@ DebugColorMain2: ; unreferenced
jr nz, .loop7 jr nz, .loop7
ld a, [hl] ld a, [hl]
and B_BUTTON and B_BUTTON
jr nz, .asm_82299 jr nz, .cancel
call Function822f0 call Function822f0
ret ret
@ -1195,20 +1193,20 @@ DebugColorMain2: ; unreferenced
ld hl, wcf64 ld hl, wcf64
ld a, [hl] ld a, [hl]
inc a inc a
and 7 and PALETTE_MASK
cp 7 cp PAL_BG_TEXT
jr nz, .asm_82253 jr nz, .palette_ok
xor a xor a ; PAL_BG_GRAY
.asm_82253 .palette_ok
ld [hl], a ld [hl], a
ld de, $15 decoord 1, 1, 0
call Function821d8 call DebugColor_DrawAttributeSwatch
ld de, $1a decoord 6, 1, 0
call Function821d8 call DebugColor_DrawAttributeSwatch
ld de, $1f decoord 11, 1, 0
call Function821d8 call DebugColor_DrawAttributeSwatch
ld de, $24 decoord 16, 1, 0
call Function821d8 call DebugColor_DrawAttributeSwatch
ldh a, [rSVBK] ldh a, [rSVBK]
push af push af
ld a, BANK(wBGPals2) ld a, BANK(wBGPals2)
@ -1230,7 +1228,7 @@ DebugColorMain2: ; unreferenced
ldh [hBGMapMode], a ldh [hBGMapMode], a
ret ret
.asm_82299 .cancel
call ClearSprites call ClearSprites
ldh a, [hWY] ldh a, [hWY]
xor %11010000 xor %11010000

View File

@ -141,7 +141,8 @@ BuySellToss_UpdateQuantityDisplay:
call FarCall_de call FarCall_de
ret ret
ret_25097: NoPriceToDisplay:
; Does nothing.
ret ret
DisplayPurchasePrice: DisplayPurchasePrice:
@ -204,7 +205,7 @@ BuySell_DisplaySubtotal:
TossItem_MenuHeader: TossItem_MenuHeader:
db MENU_BACKUP_TILES ; flags db MENU_BACKUP_TILES ; flags
menu_coords 15, 9, SCREEN_WIDTH - 1, TEXTBOX_Y - 1 menu_coords 15, 9, SCREEN_WIDTH - 1, TEXTBOX_Y - 1
dw ret_25097 dw NoPriceToDisplay
db 0 ; default option db 0 ; default option
BuyItem_MenuHeader: BuyItem_MenuHeader:

View File

@ -804,8 +804,8 @@ MartSellPriceText:
text_far _MartSellPriceText text_far _MartSellPriceText
text_end text_end
.UnusedString15f7d: UnusedDummyString: ; unreferenced
db "!ダミー!@" db "!ダミー!@" ; "!Dummy!"
MartWelcomeText: MartWelcomeText:
text_far _MartWelcomeText text_far _MartWelcomeText

View File

@ -385,10 +385,9 @@ SetUpFiveStepWildEncounterCooldown:
ld [wWildEncounterCooldown], a ld [wWildEncounterCooldown], a
ret ret
ret_968d7:
ret
SetMinTwoStepWildEncounterCooldown: SetMinTwoStepWildEncounterCooldown:
; dummied out
ret
ld a, [wWildEncounterCooldown] ld a, [wWildEncounterCooldown]
cp 2 cp 2
ret nc ret nc
@ -776,7 +775,7 @@ PlayerMovement:
ret ret
.jump: .jump:
call ret_968d7 ; mobile call SetMinTwoStepWildEncounterCooldown
xor a xor a
ld c, a ld c, a
ret ret

View File

@ -2051,7 +2051,7 @@ _FlyMap:
ld a, [hl] ld a, [hl]
and A_BUTTON and A_BUTTON
jr nz, .pressedA jr nz, .pressedA
call FlyMapScroll call .HandleDPad
call GetMapCursorCoordinates call GetMapCursorCoordinates
farcall PlaySpriteAnimations farcall PlaySpriteAnimations
call DelayFrame call DelayFrame
@ -2084,7 +2084,7 @@ _FlyMap:
ld e, a ld e, a
ret ret
FlyMapScroll: .HandleDPad:
ld a, [wStartFlypoint] ld a, [wStartFlypoint]
ld e, a ld e, a
ld a, [wEndFlypoint] ld a, [wEndFlypoint]
@ -2789,7 +2789,9 @@ INCBIN "gfx/pokegear/dexmap_nest_icon.2bpp"
FlyMapLabelBorderGFX: FlyMapLabelBorderGFX:
INCBIN "gfx/pokegear/flymap_label_border.1bpp" INCBIN "gfx/pokegear/flymap_label_border.1bpp"
Function92311: ; unreferenced EntireFlyMap: ; unreferenced
; Similar to _FlyMap, but scrolls through the entire
; Flypoints data of both regions. A debug function?
xor a xor a
ld [wTownMapPlayerIconLandmark], a ld [wTownMapPlayerIconLandmark], a
call ClearBGPalettes call ClearBGPalettes
@ -2842,7 +2844,7 @@ Function92311: ; unreferenced
.pressedB .pressedB
ld a, -1 ld a, -1
jr .finished_a_b jr .exit
.pressedA .pressedA
ld a, [wTownMapPlayerIconLandmark] ld a, [wTownMapPlayerIconLandmark]
@ -2852,7 +2854,7 @@ Function92311: ; unreferenced
ld de, Flypoints + 1 ld de, Flypoints + 1
add hl, de add hl, de
ld a, [hl] ld a, [hl]
.finished_a_b .exit
ld [wTownMapPlayerIconLandmark], a ld [wTownMapPlayerIconLandmark], a
pop af pop af
ldh [hInMenu], a ldh [hInMenu], a
@ -2871,44 +2873,44 @@ Function92311: ; unreferenced
ld hl, hJoyLast ld hl, hJoyLast
ld a, [hl] ld a, [hl]
and D_DOWN | D_RIGHT and D_DOWN | D_RIGHT
jr nz, .down_right jr nz, .ScrollNext
ld a, [hl] ld a, [hl]
and D_UP | D_LEFT and D_UP | D_LEFT
jr nz, .up_left jr nz, .ScrollPrev
ret ret
.down_right .ScrollNext:
ld hl, wTownMapPlayerIconLandmark ld hl, wTownMapPlayerIconLandmark
ld a, [hl] ld a, [hl]
cp NUM_FLYPOINTS - 1 cp NUM_FLYPOINTS - 1
jr c, .okay_dr jr c, .NotAtEndYet
ld [hl], -1 ld [hl], -1
.okay_dr .NotAtEndYet:
inc [hl] inc [hl]
jr .continue jr .FillMap
.up_left .ScrollPrev:
ld hl, wTownMapPlayerIconLandmark ld hl, wTownMapPlayerIconLandmark
ld a, [hl] ld a, [hl]
and a and a
jr nz, .okay_ul jr nz, .NotAtStartYet
ld [hl], NUM_FLYPOINTS ld [hl], NUM_FLYPOINTS
.okay_ul .NotAtStartYet:
dec [hl] dec [hl]
.continue .FillMap:
ld a, [wTownMapPlayerIconLandmark] ld a, [wTownMapPlayerIconLandmark]
cp KANTO_FLYPOINT cp KANTO_FLYPOINT
jr c, .johto jr c, .InJohto
call FillKantoMap call FillKantoMap
xor a xor a
ld b, HIGH(vBGMap1) ld b, HIGH(vBGMap1)
jr .finish jr .Finally
.johto .InJohto:
call FillJohtoMap call FillJohtoMap
ld a, SCREEN_HEIGHT_PX ld a, SCREEN_HEIGHT_PX
ld b, HIGH(vBGMap0) ld b, HIGH(vBGMap0)
.finish .Finally:
ldh [hWY], a ldh [hWY], a
ld a, b ld a, b
ldh [hBGMapAddress + 1], a ldh [hBGMapAddress + 1], a

View File

@ -1,4 +1,4 @@
Function1dd6a9: ; unreferenced PrintFiveDigitNumber: ; unreferenced
; Debug function? ; Debug function?
; Input: bc = value, de = destination ; Input: bc = value, de = destination
ld a, b ld a, b

View File

@ -90,7 +90,8 @@ TilesetJohtoAnim:
dw NULL, StandingTileFrame8 dw NULL, StandingTileFrame8
dw NULL, DoneTileAnimation dw NULL, DoneTileAnimation
UnusedTilesetAnim_fc0d7: UnusedTilesetAnim1: ; unreferenced
; Scrolls tile $03 like water, but also has the standard $03 flower tile.
dw vTiles2 tile $03, WriteTileToBuffer dw vTiles2 tile $03, WriteTileToBuffer
dw wTileAnimBuffer, ScrollTileRightLeft dw wTileAnimBuffer, ScrollTileRightLeft
dw vTiles2 tile $03, WriteTileFromBuffer dw vTiles2 tile $03, WriteTileFromBuffer
@ -103,7 +104,8 @@ UnusedTilesetAnim_fc0d7:
dw NULL, WaitTileAnimation dw NULL, WaitTileAnimation
dw NULL, DoneTileAnimation dw NULL, DoneTileAnimation
UnusedTilesetAnim_fc103: UnusedTilesetAnim2: ; unreferenced
; Scrolls tile $14 like cave water.
dw vTiles2 tile $14, WriteTileToBuffer dw vTiles2 tile $14, WriteTileToBuffer
dw wTileAnimBuffer, ScrollTileRightLeft dw wTileAnimBuffer, ScrollTileRightLeft
dw vTiles2 tile $14, WriteTileFromBuffer dw vTiles2 tile $14, WriteTileFromBuffer
@ -140,7 +142,8 @@ TilesetEliteFourRoomAnim:
dw NULL, StandingTileFrame8 dw NULL, StandingTileFrame8
dw NULL, DoneTileAnimation dw NULL, DoneTileAnimation
UnusedTilesetAnim_fc17f: UnusedTilesetAnim3: ; unreferenced
; Scrolls tile $53 like a waterfall; scrolls tile $03 like cave water.
dw vTiles2 tile $53, WriteTileToBuffer dw vTiles2 tile $53, WriteTileToBuffer
dw wTileAnimBuffer, ScrollTileDown dw wTileAnimBuffer, ScrollTileDown
dw wTileAnimBuffer, ScrollTileDown dw wTileAnimBuffer, ScrollTileDown
@ -154,7 +157,8 @@ UnusedTilesetAnim_fc17f:
dw vTiles2 tile $53, WriteTileFromBuffer dw vTiles2 tile $53, WriteTileFromBuffer
dw NULL, DoneTileAnimation dw NULL, DoneTileAnimation
UnusedTilesetAnim_fc1af: UnusedTilesetAnim4: ; unreferenced
; Scrolls tile $54 like a waterfall; scrolls tile $03 like cave water.
dw vTiles2 tile $54, WriteTileToBuffer dw vTiles2 tile $54, WriteTileToBuffer
dw wTileAnimBuffer, ScrollTileDown dw wTileAnimBuffer, ScrollTileDown
dw wTileAnimBuffer, ScrollTileDown dw wTileAnimBuffer, ScrollTileDown
@ -231,7 +235,8 @@ TilesetTowerAnim:
dw NULL, WaitTileAnimation dw NULL, WaitTileAnimation
dw NULL, DoneTileAnimation dw NULL, DoneTileAnimation
UnusedTilesetAnim_fc2bf: UnusedTilesetAnim5: ; unreferenced
; Scrolls tile $4f like cave water.
dw vTiles2 tile $4f, WriteTileToBuffer dw vTiles2 tile $4f, WriteTileToBuffer
dw wTileAnimBuffer, ScrollTileRightLeft dw wTileAnimBuffer, ScrollTileRightLeft
dw vTiles2 tile $4f, WriteTileFromBuffer dw vTiles2 tile $4f, WriteTileFromBuffer