You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Replace many '; unused' with '; unreferenced'
This commit is contained in:
@@ -2163,7 +2163,8 @@ GetMapEnvironment::
|
||||
pop hl
|
||||
ret
|
||||
|
||||
ret ; unused
|
||||
Map_DummyFunction:: ; unreferenced
|
||||
ret
|
||||
|
||||
GetAnyMapEnvironment::
|
||||
push hl
|
||||
|
@@ -330,7 +330,7 @@ MenuTextbox::
|
||||
pop hl
|
||||
jp PrintText
|
||||
|
||||
; unused
|
||||
Menu_DummyFunction:: ; unreferenced
|
||||
ret
|
||||
|
||||
LoadMenuTextbox::
|
||||
|
@@ -141,12 +141,15 @@ RadioTerminator::
|
||||
|
||||
PrintText::
|
||||
call SetUpTextbox
|
||||
; fallthrough
|
||||
|
||||
BuenaPrintText::
|
||||
push hl
|
||||
hlcoord TEXTBOX_INNERX, TEXTBOX_INNERY
|
||||
lb bc, TEXTBOX_INNERH - 1, TEXTBOX_INNERW
|
||||
call ClearBox
|
||||
pop hl
|
||||
; fallthrough
|
||||
|
||||
PrintTextboxText::
|
||||
bccoord TEXTBOX_INNERX, TEXTBOX_INNERY
|
||||
@@ -163,6 +166,7 @@ SetUpTextbox::
|
||||
|
||||
PlaceString::
|
||||
push hl
|
||||
; fallthrough
|
||||
|
||||
PlaceNextChar::
|
||||
ld a, [de]
|
||||
@@ -173,7 +177,9 @@ PlaceNextChar::
|
||||
pop hl
|
||||
ret
|
||||
|
||||
pop de ; unused
|
||||
DummyChar:: ; unreferenced
|
||||
pop de
|
||||
; fallthrough
|
||||
|
||||
NextChar::
|
||||
inc de
|
||||
@@ -319,12 +325,13 @@ PlaceKokoWa: print_name PlaceKokoWaText
|
||||
PlaceMoveTargetsName::
|
||||
ldh a, [hBattleTurn]
|
||||
xor 1
|
||||
jr PlaceMoveUsersName.place
|
||||
jr PlaceBattlersName
|
||||
|
||||
PlaceMoveUsersName::
|
||||
ldh a, [hBattleTurn]
|
||||
; fallthrough
|
||||
|
||||
.place:
|
||||
PlaceBattlersName:
|
||||
push de
|
||||
and a
|
||||
jr nz, .enemy
|
||||
|
@@ -60,7 +60,7 @@ CGBOnly_CopyTilemapAtOnce::
|
||||
CopyTilemapAtOnce::
|
||||
jr _CopyTilemapAtOnce
|
||||
|
||||
; unused
|
||||
CopyAttrmapAndTilemapToWRAMBank3: ; unreferenced
|
||||
farcall HDMATransferAttrmapAndTilemapToWRAMBank3
|
||||
ret
|
||||
|
||||
|
@@ -92,6 +92,6 @@ SafeUpdateSprites::
|
||||
ldh [hOAMUpdate], a
|
||||
ret
|
||||
|
||||
; unused
|
||||
SetCarryFlag:: ; unreferenced
|
||||
scf
|
||||
ret
|
||||
|
Reference in New Issue
Block a user