diff options
Diffstat (limited to 'home')
-rw-r--r-- | home/audio.asm | 4 | ||||
-rw-r--r-- | home/copy.asm | 2 | ||||
-rw-r--r-- | home/farcall.asm | 1 | ||||
-rw-r--r-- | home/gfx.asm | 2 | ||||
-rw-r--r-- | home/joypad.asm | 5 | ||||
-rw-r--r-- | home/map.asm | 6 | ||||
-rw-r--r-- | home/menu.asm | 5 | ||||
-rw-r--r-- | home/palettes.asm | 1 | ||||
-rw-r--r-- | home/sine.asm | 2 |
9 files changed, 17 insertions, 11 deletions
diff --git a/home/audio.asm b/home/audio.asm index 7448de022..d9e04dd92 100644 --- a/home/audio.asm +++ b/home/audio.asm @@ -286,12 +286,12 @@ MinVolume:: ld [wVolume], a ret -Unused_FadeOutMusic:: +FadeOutToMusic:: ; unreferenced ld a, 4 ld [wMusicFade], a ret -FadeInMusic:: +FadeInToMusic:: ld a, 4 | (1 << MUSIC_FADE_IN_F) ld [wMusicFade], a ret diff --git a/home/copy.asm b/home/copy.asm index 55951342c..4972045ae 100644 --- a/home/copy.asm +++ b/home/copy.asm @@ -117,7 +117,7 @@ GetFarWRAMByte:: ldh a, [hFarByte] ret -GetFarWRAMWord:: +GetFarWRAMWord:: ; unreferenced ldh [hTempBank], a ldh a, [rSVBK] push af diff --git a/home/farcall.asm b/home/farcall.asm index 1c17fb409..ebec3881b 100644 --- a/home/farcall.asm +++ b/home/farcall.asm @@ -24,6 +24,7 @@ FarCall_hl:: ldh a, [hTempBank] rst Bankswitch call FarCall_JumpToHL + ; fallthrough ReturnFarCall:: ; We want to retain the contents of f. diff --git a/home/gfx.asm b/home/gfx.asm index 01598a95b..06ff91969 100644 --- a/home/gfx.asm +++ b/home/gfx.asm @@ -337,6 +337,7 @@ Get2bpp:: ldh a, [rLCDC] bit rLCDC_ENABLE, a jp nz, Request2bpp + ; fallthrough Copy2bpp: ; copy c 2bpp tiles from b:de to hl @@ -366,6 +367,7 @@ Get1bpp:: ldh a, [rLCDC] bit rLCDC_ENABLE, a jp nz, Request1bpp + ; fallthrough Copy1bpp:: ; copy c 1bpp tiles from b:de to hl diff --git a/home/joypad.asm b/home/joypad.asm index 79129ecc4..05868d8b3 100644 --- a/home/joypad.asm +++ b/home/joypad.asm @@ -261,19 +261,20 @@ StopAutoInput:: ld [wInputType], a ret -JoyTitleScreenInput:: +JoyTitleScreenInput:: ; unreferenced .loop - call DelayFrame push bc call JoyTextDelay pop bc +; Save data can be deleted by pressing Up + B + Select. ldh a, [hJoyDown] cp D_UP | SELECT | B_BUTTON jr z, .keycombo +; Press Start or A to start the game. ldh a, [hJoyLast] and START | A_BUTTON jr nz, .keycombo diff --git a/home/map.asm b/home/map.asm index 927c705db..b2bf2bc9f 100644 --- a/home/map.asm +++ b/home/map.asm @@ -1109,14 +1109,14 @@ ObjectEventText:: text_far _ObjectEventText text_end -BGEvent:: +BGEvent:: ; unreferenced jumptext BGEventText BGEventText:: text_far _BGEventText text_end -CoordinatesEvent:: +CoordinatesEvent:: ; unreferenced jumptext CoordinatesEventText CoordinatesEventText:: @@ -2047,7 +2047,7 @@ SwitchToAnyMapAttributesBank:: rst Bankswitch ret -GetMapAttributesBank:: +GetMapAttributesBank:: ; unreferenced ld a, [wMapGroup] ld b, a ld a, [wMapNumber] diff --git a/home/menu.asm b/home/menu.asm index 1ee95f181..2328ad5b1 100644 --- a/home/menu.asm +++ b/home/menu.asm @@ -282,8 +282,9 @@ MenuBoxCoord2Attr:: ld c, a ld a, [wMenuBorderTopCoord] ld b, a + ; fallthrough -Coord2Attr:: +Coord2Attr:: ; unreferenced ; Return the address of wAttrmap(c, b) in hl. xor a ld h, a @@ -835,7 +836,7 @@ InterpretBattleMenu:: ld a, [wMenuCursorBuffer] ret -InterpretMobileMenu:: +InterpretMobileMenu:: ; unreferenced ldh a, [hROMBank] ld [wMenuData_2DMenuItemStringsBank], a farcall _InterpretMobileMenu diff --git a/home/palettes.asm b/home/palettes.asm index 528c273f8..5940a0efe 100644 --- a/home/palettes.asm +++ b/home/palettes.asm @@ -16,6 +16,7 @@ UpdateCGBPals:: ldh a, [hCGBPalUpdate] and a ret z + ; fallthrough ForceUpdateCGBPals:: ldh a, [rSVBK] diff --git a/home/sine.asm b/home/sine.asm index 821f7c47d..3601e1ebf 100644 --- a/home/sine.asm +++ b/home/sine.asm @@ -1,4 +1,4 @@ -Cosine:: +Cosine:: ; unreferenced ; a = d * cos(a * pi/32) add %010000 ; cos(x) = sin(x + pi/2) ; fallthrough |