diff options
author | Rangi <35663410+Rangi42@users.noreply.github.com> | 2020-10-30 12:26:04 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-30 12:26:04 -0400 |
commit | d831e40b99853c8e29e3939bb100b6ecf03b1028 (patch) | |
tree | 7d97e9277ee405a77046481100bf11adbc325367 /engine/debug | |
parent | 26ddba8cfd8f035c06bd6419b64a6c4d7dbc226f (diff) | |
parent | db72c5103e807c4960ff62ca1764cac151288586 (diff) |
Merge pull request #64 from Rangi42/unreferenced
Comment, remove, or revise many unreferenced labels
Diffstat (limited to 'engine/debug')
-rw-r--r-- | engine/debug/color_picker.asm | 16 | ||||
-rw-r--r-- | engine/debug/debug_room.asm | 6 |
2 files changed, 11 insertions, 11 deletions
diff --git a/engine/debug/color_picker.asm b/engine/debug/color_picker.asm index b5d196b1..2ebf4861 100644 --- a/engine/debug/color_picker.asm +++ b/engine/debug/color_picker.asm @@ -32,7 +32,7 @@ const DEBUGCOLORMAIN_INITTMHM ; 4 const DEBUGCOLORMAIN_TMHMJOYPAD ; 5 -DebugColorPicker: +DebugColorPicker: ; unreferenced ; A debug menu to test monster and trainer palettes at runtime. ldh a, [hCGB] and a @@ -913,13 +913,13 @@ DebugColor_FillBoxWithByte: ret DebugColor_PushSGBPals: - ld a, [wd8ba] + ld a, [wJoypadDisable] push af - set 7, a - ld [wd8ba], a + set JOYPAD_DISABLE_SGB_TRANSFER_F, a + ld [wJoypadDisable], a call _DebugColor_PushSGBPals pop af - ld [wd8ba], a + ld [wJoypadDisable], a ret _DebugColor_PushSGBPals: @@ -1053,7 +1053,7 @@ INCBIN "gfx/debug/up_arrow.2bpp" DebugColor_GFX: INCBIN "gfx/debug/color_test.2bpp" -TilesetColorPicker: +TilesetColorPicker: ; unreferenced ; A debug menu to test tileset palettes at runtime. ; dummied out ret @@ -1456,9 +1456,9 @@ DebugTileset_PlaceCursor: ; unreferenced inc c ret -; unused +.clearsprites: ; unreferenced call ClearSprites ret -; unused +.dummy: ; unreferenced ret diff --git a/engine/debug/debug_room.asm b/engine/debug/debug_room.asm index 12259ce9..19f7f9e0 100644 --- a/engine/debug/debug_room.asm +++ b/engine/debug/debug_room.asm @@ -1147,9 +1147,9 @@ DebugRoom_BoxStructStrings: .Move4: db "MOVE 4@" .ID0: db "ID[0]@" .ID1: db "ID[1]@" -.BaseExp0: db "BASE EXP[0]@" -.BaseExp1: db "BASE EXP[1]@" -.BaseExp2: db "BASE EXP[2]@" +.BaseExp0: db "BASE EXP[0]@" ; unreferenced +.BaseExp1: db "BASE EXP[1]@" ; unreferenced +.BaseExp2: db "BASE EXP[2]@" ; unreferenced .HPExp0: db "HP EXP[0]@" .HPExp1: db "HP EXP[1]@" .AttkExp0: db "ATTK EXP[0]@" |