mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
More unreferenced labels cleanup
This commit is contained in:
parent
7a24703398
commit
6f0b81504d
@ -1951,8 +1951,7 @@ GetMaxHP: ; 3ccac
|
|||||||
ret
|
ret
|
||||||
; 3ccc2
|
; 3ccc2
|
||||||
|
|
||||||
GetHalfHP: ; 3ccc2
|
Unreferenced_GetHalfHP: ; 3ccc2
|
||||||
; unreferenced
|
|
||||||
ld hl, BattleMonHP
|
ld hl, BattleMonHP
|
||||||
ld a, [hBattleTurn]
|
ld a, [hBattleTurn]
|
||||||
and a
|
and a
|
||||||
@ -6769,8 +6768,7 @@ CheckUnownLetter: ; 3eb75
|
|||||||
|
|
||||||
; 3ebc7
|
; 3ebc7
|
||||||
|
|
||||||
SwapBattlerLevels: ; 3ebc7
|
Unreferenced_SwapBattlerLevels: ; 3ebc7
|
||||||
; unreferenced
|
|
||||||
push bc
|
push bc
|
||||||
ld a, [BattleMonLevel]
|
ld a, [BattleMonLevel]
|
||||||
ld b, a
|
ld b, a
|
||||||
@ -7162,7 +7160,7 @@ _LoadHPBar: ; 3eda6
|
|||||||
ret
|
ret
|
||||||
; 3edad
|
; 3edad
|
||||||
|
|
||||||
LoadHPExpBarGFX: ; unreferenced
|
Unreferenced_LoadHPExpBarGFX:
|
||||||
ld de, EnemyHPBarBorderGFX
|
ld de, EnemyHPBarBorderGFX
|
||||||
ld hl, vTiles2 tile $6c
|
ld hl, vTiles2 tile $6c
|
||||||
lb bc, BANK(EnemyHPBarBorderGFX), 4
|
lb bc, BANK(EnemyHPBarBorderGFX), 4
|
||||||
@ -8104,7 +8102,7 @@ TextJump_ComeBack: ; 3f35b
|
|||||||
db "@"
|
db "@"
|
||||||
; 3f360
|
; 3f360
|
||||||
|
|
||||||
HandleSafariAngerEatingStatus: ; unreferenced
|
Unreferenced_HandleSafariAngerEatingStatus:
|
||||||
ld hl, wSafariMonEating
|
ld hl, wSafariMonEating
|
||||||
ld a, [hl]
|
ld a, [hl]
|
||||||
and a
|
and a
|
||||||
@ -8371,8 +8369,7 @@ StartBattle: ; 3f4c1
|
|||||||
ret
|
ret
|
||||||
; 3f4d9
|
; 3f4d9
|
||||||
|
|
||||||
_DoBattle: ; 3f4d9
|
Unreferenced_DoBattle: ; 3f4d9
|
||||||
; unreferenced
|
|
||||||
call DoBattle
|
call DoBattle
|
||||||
ret
|
ret
|
||||||
; 3f4dd
|
; 3f4dd
|
||||||
|
@ -245,7 +245,7 @@ BillsPCDepositMenuDataHeader: ; 0xe253d (38:653d)
|
|||||||
db "CANCEL@"
|
db "CANCEL@"
|
||||||
; 0xe2564 (38:6564)
|
; 0xe2564 (38:6564)
|
||||||
|
|
||||||
BillsPC_ClearThreeBoxes: ; e2564
|
Unreferenced_BillsPCClearThreeBoxes: ; e2564
|
||||||
; unreferenced
|
; unreferenced
|
||||||
hlcoord 0, 0
|
hlcoord 0, 0
|
||||||
ld b, 4
|
ld b, 4
|
||||||
|
@ -268,7 +268,7 @@ CopyBoxmonToTempMon: ; e5bb
|
|||||||
call CloseSRAM
|
call CloseSRAM
|
||||||
ret
|
ret
|
||||||
|
|
||||||
Functione5d9: ; unreferenced
|
Unreferenced_Functione5d9:
|
||||||
ld a, [wCurBox]
|
ld a, [wCurBox]
|
||||||
cp b
|
cp b
|
||||||
jr z, .same_box
|
jr z, .same_box
|
||||||
|
@ -981,8 +981,7 @@ DayCareMonCompatibilityText: ; 1746c
|
|||||||
db "@"
|
db "@"
|
||||||
; 0x174b5
|
; 0x174b5
|
||||||
|
|
||||||
DayCareMonPrintEmptyString: ; 174b5
|
Unreferenced_DayCareMonPrintEmptyString: ; 174b5
|
||||||
; unreferenced
|
|
||||||
ld hl, .string
|
ld hl, .string
|
||||||
ret
|
ret
|
||||||
; 174b9
|
; 174b9
|
||||||
|
@ -43,8 +43,7 @@ CheckShininess:
|
|||||||
and a
|
and a
|
||||||
ret
|
ret
|
||||||
|
|
||||||
; unreferenced
|
Unreferenced_CheckContestMon:
|
||||||
CheckContestMon:
|
|
||||||
; Check a mon's DVs at hl in the bug catching contest.
|
; Check a mon's DVs at hl in the bug catching contest.
|
||||||
; Return carry if its DVs are good enough to place in the contest.
|
; Return carry if its DVs are good enough to place in the contest.
|
||||||
|
|
||||||
@ -135,8 +134,7 @@ SGB_ApplyPartyMenuHPPals: ; 8ade
|
|||||||
ld [hl], e
|
ld [hl], e
|
||||||
ret
|
ret
|
||||||
|
|
||||||
Function8b07:
|
Unreferenced_Function8b07:
|
||||||
; Unreferenced
|
|
||||||
call CheckCGB
|
call CheckCGB
|
||||||
ret z
|
ret z
|
||||||
; CGB only
|
; CGB only
|
||||||
@ -169,8 +167,7 @@ Function8b07:
|
|||||||
RGB 08, 16, 28
|
RGB 08, 16, 28
|
||||||
RGB 00, 00, 00
|
RGB 00, 00, 00
|
||||||
|
|
||||||
Function8b3f:
|
Unreferenced_Function8b3f:
|
||||||
; Unreferenced
|
|
||||||
call CheckCGB
|
call CheckCGB
|
||||||
ret nz
|
ret nz
|
||||||
ld a, [hSGB]
|
ld a, [hSGB]
|
||||||
|
@ -322,5 +322,5 @@ InitMG_Mobile_LinkTradePalMap: ; 49856
|
|||||||
ret
|
ret
|
||||||
; 4985a
|
; 4985a
|
||||||
|
|
||||||
Unknown_4985a: ; unreferenced
|
; unused
|
||||||
INCLUDE "data/palettes/unknown/4985a.asm"
|
INCLUDE "data/palettes/unknown/4985a.asm"
|
||||||
|
@ -1060,7 +1060,7 @@ Invalid_0x96c2d: ; 96c2d
|
|||||||
end
|
end
|
||||||
; 96c2e
|
; 96c2e
|
||||||
|
|
||||||
; unreferenced
|
; unused
|
||||||
end
|
end
|
||||||
; 96c2f
|
; 96c2f
|
||||||
|
|
||||||
|
@ -986,7 +986,7 @@ StrengthFunction: ; cce5
|
|||||||
jr c, .Failed
|
jr c, .Failed
|
||||||
jr .UseStrength
|
jr .UseStrength
|
||||||
|
|
||||||
.AlreadyUsing: ; unreferenced
|
.Unreferenced_AlreadyUsing:
|
||||||
ld hl, .JumpText
|
ld hl, .JumpText
|
||||||
call MenuTextBoxBackup
|
call MenuTextBoxBackup
|
||||||
ld a, $80
|
ld a, $80
|
||||||
|
@ -10,7 +10,7 @@ _MainMenu: ; 5ae8
|
|||||||
jp StartTitleScreen
|
jp StartTitleScreen
|
||||||
; 5b04
|
; 5b04
|
||||||
|
|
||||||
; unreferenced
|
; unused
|
||||||
ret
|
ret
|
||||||
; 5b05
|
; 5b05
|
||||||
|
|
||||||
@ -827,7 +827,7 @@ NamePlayer: ; 0x6074
|
|||||||
db "KRIS@@@@@@@"
|
db "KRIS@@@@@@@"
|
||||||
; 60e9
|
; 60e9
|
||||||
|
|
||||||
Function60e9: ; Unreferenced
|
Unreferenced_Function60e9:
|
||||||
call LoadMenuDataHeader
|
call LoadMenuDataHeader
|
||||||
call VerticalMenu
|
call VerticalMenu
|
||||||
ld a, [wMenuCursorY]
|
ld a, [wMenuCursorY]
|
||||||
@ -1094,7 +1094,7 @@ RunTitleScreen: ; 627b
|
|||||||
ret
|
ret
|
||||||
; 6292
|
; 6292
|
||||||
|
|
||||||
Function6292: ; 6292 ; unreferenced
|
Unreferenced_Function6292: ; 6292
|
||||||
ld a, [hVBlankCounter]
|
ld a, [hVBlankCounter]
|
||||||
and $7
|
and $7
|
||||||
ret nz
|
ret nz
|
||||||
@ -1125,7 +1125,7 @@ TitleScreenScene: ; 62a3
|
|||||||
dw TitleScreenEnd
|
dw TitleScreenEnd
|
||||||
; 62b7
|
; 62b7
|
||||||
|
|
||||||
.NextScene: ; Unreferenced
|
.Unreferenced_NextScene:
|
||||||
ld hl, wJumptableIndex
|
ld hl, wJumptableIndex
|
||||||
inc [hl]
|
inc [hl]
|
||||||
ret
|
ret
|
||||||
@ -1329,7 +1329,7 @@ ResetClock: ; 6392
|
|||||||
jp Init
|
jp Init
|
||||||
; 639b
|
; 639b
|
||||||
|
|
||||||
Function639b: ; unreferenced
|
Unreferenced_Function639b:
|
||||||
; If bit 0 or 1 of [wTitleScreenTimer] is set, we don't need to be here.
|
; If bit 0 or 1 of [wTitleScreenTimer] is set, we don't need to be here.
|
||||||
ld a, [wTitleScreenTimer]
|
ld a, [wTitleScreenTimer]
|
||||||
and $3
|
and $3
|
||||||
|
@ -1597,8 +1597,7 @@ Function28b22: ; 28b22
|
|||||||
ret
|
ret
|
||||||
; 28b42
|
; 28b42
|
||||||
|
|
||||||
Function28b42: ; 28b42
|
Unreferenced_Function28b42: ; 28b42
|
||||||
; unreferenced
|
|
||||||
hlcoord 0, 16
|
hlcoord 0, 16
|
||||||
ld a, "┘"
|
ld a, "┘"
|
||||||
ld bc, 2 * SCREEN_WIDTH
|
ld bc, 2 * SCREEN_WIDTH
|
||||||
@ -2020,8 +2019,7 @@ SetTradeRoomBGPals: ; 28eff
|
|||||||
ret
|
ret
|
||||||
; 28f09
|
; 28f09
|
||||||
|
|
||||||
Function28f09: ; 28f09
|
Unreferenced_Function28f09: ; 28f09
|
||||||
; unreferenced
|
|
||||||
hlcoord 0, 0
|
hlcoord 0, 0
|
||||||
ld b, 6
|
ld b, 6
|
||||||
ld c, 18
|
ld c, 18
|
||||||
@ -2577,12 +2575,11 @@ Special_CableClubCheckWhichChris: ; 29f47
|
|||||||
ret
|
ret
|
||||||
; 29f54
|
; 29f54
|
||||||
|
|
||||||
UnusedGen1LinkCommsBorderGFX: ; 29f54
|
Unreferenced_Gen1LinkCommsBorderGFX: ; 29f54
|
||||||
; unreferenced
|
|
||||||
INCBIN "gfx/trade/unused_gen_1_border_tiles.2bpp"
|
INCBIN "gfx/trade/unused_gen_1_border_tiles.2bpp"
|
||||||
; 29fe4
|
; 29fe4
|
||||||
|
|
||||||
Function29fe4: ; unreferenced
|
Unreferenced_Function29fe4:
|
||||||
ld a, BANK(sPartyMail)
|
ld a, BANK(sPartyMail)
|
||||||
call GetSRAMBank
|
call GetSRAMBank
|
||||||
ld d, $0
|
ld d, $0
|
||||||
|
@ -279,7 +279,7 @@ MainMenu_PrintCurrentTimeAndDay: ; 49e09
|
|||||||
ret
|
ret
|
||||||
|
|
||||||
.min
|
.min
|
||||||
; unreferenced
|
; unused
|
||||||
db "min.@"
|
db "min.@"
|
||||||
; 49e75
|
; 49e75
|
||||||
|
|
||||||
|
@ -418,8 +418,7 @@ UpdatePlayerStep: ; 4738
|
|||||||
ret
|
ret
|
||||||
; 4759
|
; 4759
|
||||||
|
|
||||||
Function4759: ; 4759
|
Unreferenced_Function4759: ; 4759
|
||||||
; unreferenced
|
|
||||||
push bc
|
push bc
|
||||||
ld e, a
|
ld e, a
|
||||||
ld d, 0
|
ld d, 0
|
||||||
|
@ -137,7 +137,7 @@ LoadObjectsRunCallback_02: ; 154d7
|
|||||||
ret
|
ret
|
||||||
; 154ea (5:54ea)
|
; 154ea (5:54ea)
|
||||||
|
|
||||||
; unreferenced
|
; unused
|
||||||
ret
|
ret
|
||||||
; 154eb
|
; 154eb
|
||||||
|
|
||||||
|
@ -797,7 +797,7 @@ SellMenu: ; 15eb3
|
|||||||
ret
|
ret
|
||||||
; 15ed3
|
; 15ed3
|
||||||
|
|
||||||
.NothingToSell: ; unreferenced
|
.Unreferenced_NothingToSell:
|
||||||
ld hl, .NothingToSellText
|
ld hl, .NothingToSellText
|
||||||
call MenuTextBoxBackup
|
call MenuTextBoxBackup
|
||||||
and a
|
and a
|
||||||
|
@ -291,8 +291,7 @@ MobileMenuJoypad: ; 241ba
|
|||||||
; 241d5
|
; 241d5
|
||||||
|
|
||||||
|
|
||||||
Function241d5: ; 241d5
|
Unreferenced_Function241d5: ; 241d5
|
||||||
; Unreferenced
|
|
||||||
call Place2DMenuCursor
|
call Place2DMenuCursor
|
||||||
.loop
|
.loop
|
||||||
call Move2DMenuCursor
|
call Move2DMenuCursor
|
||||||
@ -725,8 +724,7 @@ _ExitMenu:: ; 243e8
|
|||||||
ret
|
ret
|
||||||
; 24423
|
; 24423
|
||||||
|
|
||||||
Function24423: ; 24423
|
Unreferenced_Function24423: ; 24423
|
||||||
; Unreferenced
|
|
||||||
ld a, [VramState]
|
ld a, [VramState]
|
||||||
bit 0, a
|
bit 0, a
|
||||||
ret z
|
ret z
|
||||||
|
@ -112,8 +112,8 @@ CoinString: ; 24b89
|
|||||||
ShowMoney_TerminatorString: ; 24b8e
|
ShowMoney_TerminatorString: ; 24b8e
|
||||||
db "@"
|
db "@"
|
||||||
|
|
||||||
Function24b8f: ; 24b8f
|
Unreferenced_Function24b8f: ; 24b8f
|
||||||
; unreferenced, related to safari?
|
; related to safari?
|
||||||
ld hl, Options
|
ld hl, Options
|
||||||
ld a, [hl]
|
ld a, [hl]
|
||||||
push af
|
push af
|
||||||
|
@ -281,8 +281,7 @@ FlyFunction_GetMonIcon: ; 8e9bc (23:69bc)
|
|||||||
ret
|
ret
|
||||||
; 8e9cc (23:69cc)
|
; 8e9cc (23:69cc)
|
||||||
|
|
||||||
GetMonIcon2: ; 8e9cc
|
Unreferenced_GetMonIcon2: ; 8e9cc
|
||||||
; unreferenced
|
|
||||||
push de
|
push de
|
||||||
ld a, [wd265]
|
ld a, [wd265]
|
||||||
call ReadMonMenuIcon
|
call ReadMonMenuIcon
|
||||||
|
@ -1369,7 +1369,7 @@ InitMysteryGiftLayout: ; 105153 (41:5153)
|
|||||||
jr .gfx_loop
|
jr .gfx_loop
|
||||||
; 105232 (41:5232)
|
; 105232 (41:5232)
|
||||||
|
|
||||||
.Load6GFX: ; unreferenced
|
.Unreferenced_Load6GFX:
|
||||||
ld b, 6
|
ld b, 6
|
||||||
jr .gfx_loop
|
jr .gfx_loop
|
||||||
|
|
||||||
|
@ -279,7 +279,7 @@ WillObjectBumpIntoSomeoneElse: ; 7009
|
|||||||
jr IsNPCAtCoord
|
jr IsNPCAtCoord
|
||||||
; 7015
|
; 7015
|
||||||
|
|
||||||
Function7015: ; unreferenced
|
Unreferenced_Function7015:
|
||||||
ld a, [hMapObjectIndexBuffer]
|
ld a, [hMapObjectIndexBuffer]
|
||||||
call GetObjectStruct
|
call GetObjectStruct
|
||||||
call .CheckWillBeFacingNPC
|
call .CheckWillBeFacingNPC
|
||||||
@ -482,7 +482,7 @@ IsObjectMovingOffEdgeOfScreen: ; 70ed
|
|||||||
ret
|
ret
|
||||||
; 7113
|
; 7113
|
||||||
|
|
||||||
Function7113: ; unreferenced
|
Unreferenced_Function7113:
|
||||||
ld a, [PlayerStandingMapX]
|
ld a, [PlayerStandingMapX]
|
||||||
ld d, a
|
ld d, a
|
||||||
ld a, [PlayerStandingMapY]
|
ld a, [PlayerStandingMapY]
|
||||||
|
@ -332,8 +332,7 @@ CopyTradeName: ; fcdf4
|
|||||||
ret
|
ret
|
||||||
; fcdfb
|
; fcdfb
|
||||||
|
|
||||||
Functionfcdfb: ; fcdfb
|
Unreferenced_Functionfcdfb: ; fcdfb
|
||||||
; unreferenced
|
|
||||||
ld bc, 4
|
ld bc, 4
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
ld a, "@"
|
ld a, "@"
|
||||||
@ -341,8 +340,7 @@ Functionfcdfb: ; fcdfb
|
|||||||
ret
|
ret
|
||||||
; fce05
|
; fce05
|
||||||
|
|
||||||
Functionfce05: ; fce05
|
Unreferenced_Functionfce05: ; fce05
|
||||||
; unreferenced
|
|
||||||
ld bc, 3
|
ld bc, 3
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
ld a, "@"
|
ld a, "@"
|
||||||
|
@ -534,8 +534,7 @@ TossMenu: ; 10364
|
|||||||
ret
|
ret
|
||||||
; 1039d
|
; 1039d
|
||||||
|
|
||||||
ResetPocketCursorPositions: ; 1039d
|
Unreferenced_ResetPocketCursorPositions: ; 1039d
|
||||||
; unreferenced
|
|
||||||
ld a, [wCurrPocket]
|
ld a, [wCurrPocket]
|
||||||
and a
|
and a
|
||||||
jr z, .items
|
jr z, .items
|
||||||
@ -1511,8 +1510,7 @@ Pack_GetItemName: ; 10a1d
|
|||||||
ret
|
ret
|
||||||
; 10a2a
|
; 10a2a
|
||||||
|
|
||||||
Pack_ClearTilemap: ; 10a2a
|
Unreferenced_Pack_ClearTilemap: ; 10a2a
|
||||||
; unreferenced
|
|
||||||
hlcoord 0, 0
|
hlcoord 0, 0
|
||||||
ld bc, SCREEN_WIDTH * SCREEN_HEIGHT
|
ld bc, SCREEN_WIDTH * SCREEN_HEIGHT
|
||||||
ld a, " "
|
ld a, " "
|
||||||
|
@ -81,7 +81,7 @@ PredefPointers:: ; 856b
|
|||||||
add_predef InitSGBBorder ; $30
|
add_predef InitSGBBorder ; $30
|
||||||
add_predef LoadSGBLayout
|
add_predef LoadSGBLayout
|
||||||
add_predef Pokedex_GetArea
|
add_predef Pokedex_GetArea
|
||||||
add_predef CheckContestMon
|
add_predef Unreferenced_CheckContestMon
|
||||||
add_predef DoBattleTransition
|
add_predef DoBattleTransition
|
||||||
add_predef DummyPredef35
|
add_predef DummyPredef35
|
||||||
add_predef DummyPredef36
|
add_predef DummyPredef36
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
CorrectErrorsInPlayerParty: ; unreferenced
|
Unreferenced_CorrectErrorsInPlayerParty:
|
||||||
ld hl, PartyCount
|
ld hl, PartyCount
|
||||||
ld a, [hl]
|
ld a, [hl]
|
||||||
and a
|
and a
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
StopRTC: ; Unreferenced
|
Unreferenced_StopRTC:
|
||||||
ld a, SRAM_ENABLE
|
ld a, SRAM_ENABLE
|
||||||
ld [MBC3SRamEnable], a
|
ld [MBC3SRamEnable], a
|
||||||
call LatchClock
|
call LatchClock
|
||||||
@ -58,7 +58,7 @@ TimesOfDay: ; 14044
|
|||||||
db -1, MORN_F
|
db -1, MORN_F
|
||||||
; 1404e
|
; 1404e
|
||||||
|
|
||||||
Unknown_1404e: ; unreferenced
|
Unreferenced_1404e:
|
||||||
db 20, NITE_F
|
db 20, NITE_F
|
||||||
db 40, MORN_F
|
db 40, MORN_F
|
||||||
db 60, DAY_F
|
db 60, DAY_F
|
||||||
|
@ -2806,7 +2806,8 @@ Script_warpcheck:
|
|||||||
farcall EnableEvents
|
farcall EnableEvents
|
||||||
ret
|
ret
|
||||||
|
|
||||||
Script_enableevents: ; unreferenced
|
Script_enableevents:
|
||||||
|
; unused
|
||||||
farcall EnableEvents
|
farcall EnableEvents
|
||||||
ret
|
ret
|
||||||
|
|
||||||
@ -3037,7 +3038,7 @@ Script_check_save:
|
|||||||
ret
|
ret
|
||||||
|
|
||||||
|
|
||||||
; unreferenced
|
; unused
|
||||||
ld a, [.byte]
|
ld a, [.byte]
|
||||||
ld [ScriptVar], a
|
ld [ScriptVar], a
|
||||||
ret
|
ret
|
||||||
|
@ -84,7 +84,7 @@ ScrollingMenuJoyAction: ; 24609
|
|||||||
jr .loop
|
jr .loop
|
||||||
; 24640
|
; 24640
|
||||||
|
|
||||||
.unreferenced ; unreferenced
|
.unreferenced ; unused
|
||||||
ld a, -1
|
ld a, -1
|
||||||
and a
|
and a
|
||||||
ret
|
ret
|
||||||
|
@ -232,8 +232,8 @@ SlotsLoop: ; 927af (24:67af)
|
|||||||
|
|
||||||
; 92811 (24:6811)
|
; 92811 (24:6811)
|
||||||
|
|
||||||
Function92811: ; 92811
|
Unreferenced_Function92811: ; 92811
|
||||||
; unreferenced - debug function?
|
; debug function?
|
||||||
ld a, [wSlotBias]
|
ld a, [wSlotBias]
|
||||||
add 0
|
add 0
|
||||||
daa
|
daa
|
||||||
@ -252,8 +252,7 @@ Function92811: ; 92811
|
|||||||
|
|
||||||
; 9282c
|
; 9282c
|
||||||
|
|
||||||
Function9282c: ; 9282c
|
Unreferenced_Function9282c: ; 9282c
|
||||||
; unreferenced
|
|
||||||
; animate OAM tiles?
|
; animate OAM tiles?
|
||||||
ld hl, wcf66
|
ld hl, wcf66
|
||||||
ld a, [hl]
|
ld a, [hl]
|
||||||
@ -854,8 +853,7 @@ Slots_UpdateReelPositionAndOAM: ; 92b53 (24:6b53)
|
|||||||
|
|
||||||
; 92bbe (24:6bbe)
|
; 92bbe (24:6bbe)
|
||||||
|
|
||||||
; unreferenced
|
Unreferenced_Function92bbe: ; 92bbe
|
||||||
Function92bbe: ; 92bbe
|
|
||||||
push hl
|
push hl
|
||||||
srl a
|
srl a
|
||||||
srl a
|
srl a
|
||||||
|
@ -447,8 +447,7 @@ StatsScreen_InitUpperHalf: ; 4deea (13:5eea)
|
|||||||
dw wBufferMonNick
|
dw wBufferMonNick
|
||||||
; 4df7f
|
; 4df7f
|
||||||
|
|
||||||
Function4df7f: ; 4df7f
|
Unreferenced_Function4df7f: ; 4df7f
|
||||||
; unreferenced
|
|
||||||
hlcoord 7, 0
|
hlcoord 7, 0
|
||||||
ld bc, SCREEN_WIDTH
|
ld bc, SCREEN_WIDTH
|
||||||
ld d, SCREEN_HEIGHT
|
ld d, SCREEN_HEIGHT
|
||||||
@ -962,8 +961,7 @@ StatsScreen_LoadTextBoxSpaceGFX: ; 4e307 (13:6307)
|
|||||||
ret
|
ret
|
||||||
; 4e32a (13:632a)
|
; 4e32a (13:632a)
|
||||||
|
|
||||||
; unreferenced
|
Unreferenced_4e32a: ; 4e32a
|
||||||
Unknown_4e32a: ; 4e32a
|
|
||||||
; A blank tile?
|
; A blank tile?
|
||||||
ds 16
|
ds 16
|
||||||
; 4e33a
|
; 4e33a
|
||||||
|
@ -447,8 +447,7 @@ TMHMPocket_GetCurrentLineCoord: ; 2ca86 (b:4a86)
|
|||||||
ret
|
ret
|
||||||
; 2ca95 (b:4a95)
|
; 2ca95 (b:4a95)
|
||||||
|
|
||||||
Function2ca95: ; 2ca95
|
Unreferenced_Function2ca95: ; 2ca95
|
||||||
; unreferenced
|
|
||||||
pop hl
|
pop hl
|
||||||
ld bc, 3
|
ld bc, 3
|
||||||
add hl, bc
|
add hl, bc
|
||||||
@ -499,8 +498,7 @@ TMHM_PlaySFX_ReadText2: ; 2cad6 (b:4ad6)
|
|||||||
ret
|
ret
|
||||||
; 2cadf (b:4adf)
|
; 2cadf (b:4adf)
|
||||||
|
|
||||||
Function2cadf: ; 2cadf
|
Unreferenced_Function2cadf: ; 2cadf
|
||||||
; unreferenced
|
|
||||||
call ConvertCurItemIntoCurTMHM
|
call ConvertCurItemIntoCurTMHM
|
||||||
call .CheckHaveRoomForTMHM
|
call .CheckHaveRoomForTMHM
|
||||||
ld hl, .NoRoomText
|
ld hl, .NoRoomText
|
||||||
|
@ -117,8 +117,7 @@ TrainerCard_Page1_Joypad: ; 251d7 (9:51d7)
|
|||||||
ld [wJumptableIndex], a
|
ld [wJumptableIndex], a
|
||||||
ret
|
ret
|
||||||
|
|
||||||
.KantoCheck:
|
.Unreferenced_KantoCheck:
|
||||||
; unreferenced
|
|
||||||
ld a, [wKantoBadges]
|
ld a, [wKantoBadges]
|
||||||
and a
|
and a
|
||||||
ret z
|
ret z
|
||||||
@ -163,8 +162,7 @@ TrainerCard_Page2_Joypad: ; 25221 (9:5221)
|
|||||||
ld [wJumptableIndex], a
|
ld [wJumptableIndex], a
|
||||||
ret
|
ret
|
||||||
|
|
||||||
.KantoCheck:
|
.Unreferenced_KantoCheck:
|
||||||
; unreferenced
|
|
||||||
ld a, [wKantoBadges]
|
ld a, [wKantoBadges]
|
||||||
and a
|
and a
|
||||||
ret z
|
ret z
|
||||||
|
6
home.asm
6
home.asm
@ -57,8 +57,7 @@ INCLUDE "home/predef.asm"
|
|||||||
INCLUDE "home/window.asm"
|
INCLUDE "home/window.asm"
|
||||||
INCLUDE "home/flag.asm"
|
INCLUDE "home/flag.asm"
|
||||||
|
|
||||||
Function2ebb:: ; 2ebb
|
Unreferenced_Function2ebb:: ; 2ebb
|
||||||
; unreferenced
|
|
||||||
ld a, [wMonStatusFlags]
|
ld a, [wMonStatusFlags]
|
||||||
bit 1, a
|
bit 1, a
|
||||||
ret z
|
ret z
|
||||||
@ -79,8 +78,7 @@ xor_a_dec_a:: ; 2ec8
|
|||||||
ret
|
ret
|
||||||
; 2ecb
|
; 2ecb
|
||||||
|
|
||||||
Function2ecb:: ; 2ecb
|
Unreferenced_Function2ecb:: ; 2ecb
|
||||||
; unreferenced
|
|
||||||
push hl
|
push hl
|
||||||
ld hl, wMonStatusFlags
|
ld hl, wMonStatusFlags
|
||||||
bit 1, [hl]
|
bit 1, [hl]
|
||||||
|
@ -502,10 +502,9 @@ GetMapMusic:: ; 3d97
|
|||||||
ret
|
ret
|
||||||
; 3d9f
|
; 3d9f
|
||||||
|
|
||||||
Function3d9f:: ; 3d9f
|
Unreferenced_Function3d9f:: ; 3d9f
|
||||||
; Places a BCD number at the
|
; Places a BCD number at the
|
||||||
; upper center of the screen.
|
; upper center of the screen.
|
||||||
; Unreferenced.
|
|
||||||
ld a, 4 * 8
|
ld a, 4 * 8
|
||||||
ld [Sprites + 38 * 4], a
|
ld [Sprites + 38 * 4], a
|
||||||
ld [Sprites + 39 * 4], a
|
ld [Sprites + 39 * 4], a
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
; LCD handling
|
; LCD handling
|
||||||
|
|
||||||
|
|
||||||
Function547:: ; 547
|
Unreferenced_Function547:: ; 547
|
||||||
; Unreferenced
|
|
||||||
ld a, [hLCDCPointer]
|
ld a, [hLCDCPointer]
|
||||||
cp rSCX - $ff00
|
cp rSCX - $ff00
|
||||||
ret nz
|
ret nz
|
||||||
|
@ -1383,7 +1383,7 @@ UpdateBGMapColumn:: ; 27f8
|
|||||||
ret
|
ret
|
||||||
; 2816
|
; 2816
|
||||||
|
|
||||||
; unreferenced
|
Unreferenced_Function2816::
|
||||||
ld hl, BGMapBuffer
|
ld hl, BGMapBuffer
|
||||||
ld bc, BGMapBufferEnd - BGMapBuffer
|
ld bc, BGMapBufferEnd - BGMapBuffer
|
||||||
xor a
|
xor a
|
||||||
|
@ -28,8 +28,7 @@ MenuTextBox:: ; 1d4f
|
|||||||
jp PrintText
|
jp PrintText
|
||||||
; 1d57
|
; 1d57
|
||||||
|
|
||||||
ret_1d57:: ; 1d57
|
; unused
|
||||||
; unreferenced
|
|
||||||
ret
|
ret
|
||||||
; 1d58
|
; 1d58
|
||||||
|
|
||||||
@ -453,8 +452,7 @@ PlaceNthMenuStrings:: ; 1f8d
|
|||||||
ret
|
ret
|
||||||
; 1f9e
|
; 1f9e
|
||||||
|
|
||||||
Function1f9e:: ; 1f9e
|
Unreferenced_Function1f9e:: ; 1f9e
|
||||||
; unreferenced
|
|
||||||
call GetMenuDataPointerTableEntry
|
call GetMenuDataPointerTableEntry
|
||||||
inc hl
|
inc hl
|
||||||
inc hl
|
inc hl
|
||||||
|
@ -127,8 +127,7 @@ Timer:: ; 3e93
|
|||||||
reti
|
reti
|
||||||
; 3ed7
|
; 3ed7
|
||||||
|
|
||||||
Function3ed7:: ; 3ed7
|
Unreferenced_Function3ed7:: ; 3ed7
|
||||||
; unreferenced
|
|
||||||
ld [$dc02], a
|
ld [$dc02], a
|
||||||
ld a, [hROMBank]
|
ld a, [hROMBank]
|
||||||
push af
|
push af
|
||||||
@ -160,8 +159,7 @@ Function3eea:: ; 3eea
|
|||||||
ret
|
ret
|
||||||
; 3efd
|
; 3efd
|
||||||
|
|
||||||
Function3efd:: ; 3efd
|
Unreferenced_Function3efd:: ; 3efd
|
||||||
; unreferenced
|
|
||||||
push hl
|
push hl
|
||||||
hlcoord 0, 12
|
hlcoord 0, 12
|
||||||
ld b, 4
|
ld b, 4
|
||||||
|
@ -240,7 +240,7 @@ PrintWinLossText:: ; 3718
|
|||||||
cp BATTLETYPE_CANLOSE
|
cp BATTLETYPE_CANLOSE
|
||||||
jr .canlose ; ??????????
|
jr .canlose ; ??????????
|
||||||
|
|
||||||
; unreferenced
|
; unused
|
||||||
ld hl, wWinTextPointer
|
ld hl, wWinTextPointer
|
||||||
jr .ok
|
jr .ok
|
||||||
|
|
||||||
|
@ -9515,8 +9515,7 @@ Function113eb8: ; 113eb8
|
|||||||
jp Function111f97
|
jp Function111f97
|
||||||
; 113ec7
|
; 113ec7
|
||||||
|
|
||||||
Function113ec7: ; 113ec7
|
Unreferenced_Function113ec7: ; 113ec7
|
||||||
; Unreferenced
|
|
||||||
ld hl, $c822
|
ld hl, $c822
|
||||||
ld a, [hl]
|
ld a, [hl]
|
||||||
push af
|
push af
|
||||||
|
4
main.asm
4
main.asm
@ -210,7 +210,7 @@ SECTION "bank13", ROMX
|
|||||||
INCLUDE "engine/map_palettes.asm"
|
INCLUDE "engine/map_palettes.asm"
|
||||||
INCLUDE "tilesets/palette_maps.asm"
|
INCLUDE "tilesets/palette_maps.asm"
|
||||||
|
|
||||||
; unreferenced
|
; unused
|
||||||
; 0x4ce05
|
; 0x4ce05
|
||||||
rept 26
|
rept 26
|
||||||
db $06
|
db $06
|
||||||
@ -273,7 +273,7 @@ INCLUDE "engine/move_mon_wo_mail.asm"
|
|||||||
INCLUDE "data/pokemon/base_stats.asm"
|
INCLUDE "data/pokemon/base_stats.asm"
|
||||||
INCLUDE "data/pokemon/names.asm"
|
INCLUDE "data/pokemon/names.asm"
|
||||||
|
|
||||||
Unknown_53d84: ; unreferenced
|
Unreferenced_53d84:
|
||||||
db $1a, $15
|
db $1a, $15
|
||||||
db $33, $16
|
db $33, $16
|
||||||
db $4b, $17
|
db $4b, $17
|
||||||
|
@ -144,7 +144,7 @@ MapCeladonGameCornerSignpost9Script:
|
|||||||
end
|
end
|
||||||
|
|
||||||
MovementData_0x721cd:
|
MovementData_0x721cd:
|
||||||
; Unreferenced.
|
; unused
|
||||||
step RIGHT
|
step RIGHT
|
||||||
turn_head LEFT
|
turn_head LEFT
|
||||||
step_end
|
step_end
|
||||||
|
@ -634,8 +634,7 @@ SkipBattleTowerTrainer: ; 1704c9
|
|||||||
ret
|
ret
|
||||||
; 1704ca
|
; 1704ca
|
||||||
|
|
||||||
Function1704ca: ; 1704ca
|
Unreferenced_Function1704ca: ; 1704ca
|
||||||
; unreferenced mobile function
|
|
||||||
ld a, [$be46]
|
ld a, [$be46]
|
||||||
cp $7
|
cp $7
|
||||||
jr c, .asm_1704d3
|
jr c, .asm_1704d3
|
||||||
|
@ -1621,9 +1621,8 @@ Function48c63: ; 48c63
|
|||||||
ret
|
ret
|
||||||
; 48c8e
|
; 48c8e
|
||||||
|
|
||||||
Function48c8e: ; 48c8e
|
Unreferenced_Function48c8e: ; 48c8e
|
||||||
; unreferenced
|
ld hl, wd019 + $11
|
||||||
ld hl, $d02a
|
|
||||||
ld d, h
|
ld d, h
|
||||||
ld e, l
|
ld e, l
|
||||||
farcall Function48c63
|
farcall Function48c63
|
||||||
|
@ -3093,7 +3093,7 @@ Function1013dd: ; 1013dd
|
|||||||
ret
|
ret
|
||||||
; 1013e1
|
; 1013e1
|
||||||
|
|
||||||
Function1013e1: ; 1013e1 ; unreferenced
|
Unreferenced_Function1013e1: ; 1013e1
|
||||||
push de
|
push de
|
||||||
inc de
|
inc de
|
||||||
ld b, a
|
ld b, a
|
||||||
@ -3130,7 +3130,7 @@ Function1013f5: ; 1013f5
|
|||||||
ret
|
ret
|
||||||
; 101400
|
; 101400
|
||||||
|
|
||||||
Function101400: ; 101400 ; unreferenced
|
Unreferenced_Function101400: ; 101400
|
||||||
ld a, [de]
|
ld a, [de]
|
||||||
inc de
|
inc de
|
||||||
cp [hl]
|
cp [hl]
|
||||||
@ -3318,7 +3318,7 @@ Function101507: ; 101507
|
|||||||
ret
|
ret
|
||||||
; 10151d
|
; 10151d
|
||||||
|
|
||||||
Function10151d: ; 10151d ; unreferenced
|
Unreferenced_Function10151d: ; 10151d
|
||||||
ld a, $34
|
ld a, $34
|
||||||
call Function3e32
|
call Function3e32
|
||||||
ld a, [wMobileCommsJumptableIndex]
|
ld a, [wMobileCommsJumptableIndex]
|
||||||
@ -3513,7 +3513,7 @@ Function101663: ; 101663
|
|||||||
ret
|
ret
|
||||||
; 101674
|
; 101674
|
||||||
|
|
||||||
Function101674: ; 101674 ; unreferenced
|
Unreferenced_Function101674: ; 101674
|
||||||
ld a, $05
|
ld a, $05
|
||||||
ld hl, w5_dc00
|
ld hl, w5_dc00
|
||||||
call Function101635
|
call Function101635
|
||||||
@ -4402,7 +4402,7 @@ Function101cbc: ; 101cbc
|
|||||||
ret
|
ret
|
||||||
; 101cc2
|
; 101cc2
|
||||||
|
|
||||||
Function101cc2: ; 101cc2 ; unreferenced
|
Unreferenced_Function101cc2: ; 101cc2
|
||||||
ld a, $02
|
ld a, $02
|
||||||
ld [wcd2b], a
|
ld [wcd2b], a
|
||||||
ret
|
ret
|
||||||
@ -4683,7 +4683,7 @@ Function101e64: ; 101e64
|
|||||||
ret
|
ret
|
||||||
; 101e82
|
; 101e82
|
||||||
|
|
||||||
Function101e82: ; 101e82 ; unreferenced
|
Unreferenced_Function101e82: ; 101e82
|
||||||
call Function101ecc
|
call Function101ecc
|
||||||
ld a, [wMobileCommsJumptableIndex]
|
ld a, [wMobileCommsJumptableIndex]
|
||||||
inc a
|
inc a
|
||||||
@ -4691,7 +4691,7 @@ Function101e82: ; 101e82 ; unreferenced
|
|||||||
ret
|
ret
|
||||||
; 101e8d
|
; 101e8d
|
||||||
|
|
||||||
Function101e8d: ; 101e8d ; unreferenced
|
Unreferenced_Function101e8d: ; 101e8d
|
||||||
call Function101ed3
|
call Function101ed3
|
||||||
ld a, [wMobileCommsJumptableIndex]
|
ld a, [wMobileCommsJumptableIndex]
|
||||||
inc a
|
inc a
|
||||||
@ -6506,7 +6506,7 @@ Function102b4e: ; 102b4e
|
|||||||
ret
|
ret
|
||||||
; 102b68
|
; 102b68
|
||||||
|
|
||||||
Function102b68: ; 102b68 ; unreferenced
|
Unreferenced_Function102b68: ; 102b68
|
||||||
xor a
|
xor a
|
||||||
ld hl, wWindowStackPointer
|
ld hl, wWindowStackPointer
|
||||||
ld bc, $10
|
ld bc, $10
|
||||||
|
@ -244,8 +244,7 @@ TrainerRankings_StepCount: mobile ; 10602e (41:602e)
|
|||||||
ld hl, sTrainerRankingStepCount
|
ld hl, sTrainerRankingStepCount
|
||||||
jp TrainerRankings_Increment4Byte
|
jp TrainerRankings_Increment4Byte
|
||||||
|
|
||||||
; Unreferenced in English version.
|
Unreferenced_TrainerRankings_BattleTowerWins: mobile ; 106035
|
||||||
TrainerRankings_BattleTowerWins: mobile ; 106035
|
|
||||||
ld a, $5
|
ld a, $5
|
||||||
call GetSRAMBank
|
call GetSRAMBank
|
||||||
ld a, [$aa8d]
|
ld a, [$aa8d]
|
||||||
@ -520,8 +519,7 @@ RestoreMobileEventIndex: ; 10619d (41:619d)
|
|||||||
ret
|
ret
|
||||||
; 1061b3 (41:61b3)
|
; 1061b3 (41:61b3)
|
||||||
|
|
||||||
; Unreferenced in English version.
|
Unreferenced_VerifyTrainerRankingsChecksum: ; 1061b3
|
||||||
VerifyTrainerRankingsChecksum: ; 1061b3
|
|
||||||
call CalculateTrainerRankingsChecksum
|
call CalculateTrainerRankingsChecksum
|
||||||
ld hl, sTrainerRankingsChecksum
|
ld hl, sTrainerRankingsChecksum
|
||||||
ld a, d
|
ld a, d
|
||||||
|
@ -1825,7 +1825,7 @@ LZ_1090a7:
|
|||||||
INCBIN "gfx/unknown/1090a7.tilemap.lz"
|
INCBIN "gfx/unknown/1090a7.tilemap.lz"
|
||||||
|
|
||||||
Palette_1090f7:
|
Palette_1090f7:
|
||||||
; unreferenced
|
; unused
|
||||||
RGB 31, 31, 31
|
RGB 31, 31, 31
|
||||||
RGB 0, 0, 0
|
RGB 0, 0, 0
|
||||||
|
|
||||||
|
@ -1559,8 +1559,7 @@ IndexDownloadURL: ; 0x118ce5
|
|||||||
db "http://gameboy.datacenter.ne.jp/cgb/download?name=/01/CGB-BXTJ/tamago/index.txt", 0
|
db "http://gameboy.datacenter.ne.jp/cgb/download?name=/01/CGB-BXTJ/tamago/index.txt", 0
|
||||||
|
|
||||||
|
|
||||||
Function118d35: ; 118d35
|
Unreferenced_Function118d35: ; 118d35
|
||||||
; unreferenced
|
|
||||||
ld hl, $d200
|
ld hl, $d200
|
||||||
ld a, [wcd38]
|
ld a, [wcd38]
|
||||||
and a
|
and a
|
||||||
@ -6957,8 +6956,7 @@ Function11b397: ; 11b397
|
|||||||
jr .loop
|
jr .loop
|
||||||
; 11b3b6
|
; 11b3b6
|
||||||
|
|
||||||
Function11b3b6: ; 11b3b6
|
Unreferenced_Function11b3b6: ; 11b3b6
|
||||||
; unreferenced
|
|
||||||
.loop
|
.loop
|
||||||
ld a, [hl]
|
ld a, [hl]
|
||||||
cp -1
|
cp -1
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
Function16c000: ; 16c000
|
Unreferenced_Function16c000: ; 16c000
|
||||||
; unreferenced
|
|
||||||
; Only for CGB
|
; Only for CGB
|
||||||
ld a, [hCGB]
|
ld a, [hCGB]
|
||||||
and a
|
and a
|
||||||
|
@ -5246,7 +5246,7 @@ String_17fe63: ; 17fe63
|
|||||||
next "せつめいしょを ごらんください"
|
next "せつめいしょを ごらんください"
|
||||||
db "@"
|
db "@"
|
||||||
|
|
||||||
String_17fe9a: ; 17fe9a ; unreferenced
|
String_17fe9a: ; 17fe9a ; unused
|
||||||
db "ポケモンニュースが"
|
db "ポケモンニュースが"
|
||||||
next "あたらしくなっているので"
|
next "あたらしくなっているので"
|
||||||
next "レポートを おくれません"
|
next "レポートを おくれません"
|
||||||
|
Loading…
Reference in New Issue
Block a user