diff options
author | dannye <33dannye@gmail.com> | 2021-06-06 12:08:56 -0500 |
---|---|---|
committer | dannye <33dannye@gmail.com> | 2021-06-06 12:08:56 -0500 |
commit | 36ef80903a5cb821ddf4660276709144df67f8b6 (patch) | |
tree | fb7c5a5274a2d3438382a6fe17bd385c69ac0a05 /src/engine/sequences | |
parent | ed78da2f67c7e4dd5c80af96468bb9d4b41a7c8b (diff) |
Remove some redundant address comments
Diffstat (limited to 'src/engine/sequences')
-rw-r--r-- | src/engine/sequences/credits_sequence_commands.asm | 20 | ||||
-rw-r--r-- | src/engine/sequences/opening_sequence_commands.asm | 27 |
2 files changed, 1 insertions, 46 deletions
diff --git a/src/engine/sequences/credits_sequence_commands.asm b/src/engine/sequences/credits_sequence_commands.asm index 5a7d4eb..9b66fd4 100644 --- a/src/engine/sequences/credits_sequence_commands.asm +++ b/src/engine/sequences/credits_sequence_commands.asm @@ -6,7 +6,6 @@ SetCreditsSequenceCmdPtr: ; 1d7fc (7:57fc) xor a
ld [wSequenceDelay], a
ret
-; 0x1d80b
ExecuteCreditsSequenceCmd: ; 1d80b (7:580b)
ld a, [wSequenceDelay]
@@ -40,7 +39,6 @@ ExecuteCreditsSequenceCmd: ; 1d80b (7:580b) pop hl
call CallHL2
jr ExecuteCreditsSequenceCmd
-; 0x1d834
ret ; stray ret
@@ -74,13 +72,11 @@ AdvanceCreditsSequenceCmdPtr: ; 1d847 (7:5847) ld [hl], a
pop hl
ret
-; 0x1d853
CreditsSequenceCmd_Wait: ; 1d853 (7:5853)
ld a, c
ld [wSequenceDelay], a
jp AdvanceCreditsSequenceCmdPtrBy3
-; 0x1d85a
CreditsSequenceCmd_LoadScene: ; 1d85a (7:585a)
push bc
@@ -99,7 +95,6 @@ CreditsSequenceCmd_LoadScene: ; 1d85a (7:585a) ld a, e
call LoadScene
jp AdvanceCreditsSequenceCmdPtrBy5
-; 0x1d878
CreditsSequenceCmd_LoadBooster: ; 1d878 (7:5878)
push bc
@@ -118,7 +113,6 @@ CreditsSequenceCmd_LoadBooster: ; 1d878 (7:5878) ld a, e
farcall LoadBoosterGfx
jp AdvanceCreditsSequenceCmdPtrBy5
-; 0x1d897
CreditsSequenceCmd_LoadClubMap: ; 1d897 (7:5897)
ld b, $00
@@ -267,7 +261,6 @@ ENDM db NPC_ROD, 14, 6, SOUTH
db NPC_PLAYER_CREDITS, 14, 10, NORTH
db $00
-; 0x1d9a6
; bc = coordinates
; e = OW map
@@ -296,24 +289,20 @@ LoadOWMapForCreditsSequence: ; 1d9a6 (7:59a6) ld a, PALETTE_29
farcall LoadPaletteData
ret
-; 0x1d9d5
CreditsSequenceCmd_LoadOWMap: ; 1d9d5 (7:59d5)
call LoadOWMapForCreditsSequence
jp AdvanceCreditsSequenceCmdPtrBy5
-; 0x1d9db
CreditsSequenceCmd_DisableLCD: ; 1d9db (7:59db)
call DisableLCD
jp AdvanceCreditsSequenceCmdPtrBy2
-; 0x1d9e1
CreditsSequenceCmd_FadeIn: ; 1d9e1 (7:59e1)
call DisableLCD
call Set_WD_on
farcall Func_10af9
jp AdvanceCreditsSequenceCmdPtrBy2
-; 0x1d9ee
CreditsSequenceCmd_FadeOut: ; 1d9ee (7:59ee)
farcall Func_10ab4
@@ -323,7 +312,6 @@ CreditsSequenceCmd_FadeOut: ; 1d9ee (7:59ee) call DisableLCD
call Set_WD_off
jp AdvanceCreditsSequenceCmdPtrBy2
-; 0x1da04
CreditsSequenceCmd_DrawRectangle: ; 1da04 (7:5a04)
ld a, c
@@ -336,7 +324,6 @@ CreditsSequenceCmd_DrawRectangle: ; 1da04 (7:5a04) lb hl, 0, 0
call FillRectangle
jp AdvanceCreditsSequenceCmdPtrBy4
-; 0x1da17
CreditsSequenceCmd_PrintText: ; 1da17 (7:5a17)
ld a, $01
@@ -350,7 +337,6 @@ CreditsSequenceCmd_PrintText: ; 1da17 (7:5a17) pop hl
call PrintTextNoDelay
jp AdvanceCreditsSequenceCmdPtrBy6
-; 0x1da2c
CreditsSequenceCmd_PrintTextBox: ; 1da2c (7:5a2c)
ld a, $01
@@ -362,7 +348,6 @@ CreditsSequenceCmd_PrintTextBox: ; 1da2c (7:5a2c) pop hl
call PrintTextNoDelay
jp AdvanceCreditsSequenceCmdPtrBy6
-; 0x1da3e
CreditsSequenceCmd_InitOverlay: ; 1da3e (7:5a3e)
ld a, c
@@ -375,12 +360,10 @@ CreditsSequenceCmd_InitOverlay: ; 1da3e (7:5a3e) ld [wd64a], a
call Func_1d765
jp AdvanceCreditsSequenceCmdPtrBy6
-; 0x1da54
CreditsSequenceCmd_LoadNPC: ; 1da54 (7:5a54)
call LoadNPCForCreditsSequence
jp AdvanceCreditsSequenceCmdPtrBy6
-; 0x1da5a
; bc = coordinates
; e = direction
@@ -424,12 +407,10 @@ LoadNPCForCreditsSequence: ; 1da5a (7:5a5a) add c
farcall StartNewSpriteAnimation
ret
-; 0x1da9e
CreditsSequenceCmd_InitVolcanoSprite: ; 1da9e (7:5a9e)
farcall OverworldMap_InitVolcanoSprite
jp AdvanceCreditsSequenceCmdPtrBy2
-; 0x1daa5
CreditsSequenceCmd_TransformOverlay: ; 1daa5 (7:5aa5)
; either stretches or shrinks overlay
@@ -481,4 +462,3 @@ CreditsSequenceCmd_TransformOverlay: ; 1daa5 (7:5aa5) inc a
.done
ret
-; 0x1daef
diff --git a/src/engine/sequences/opening_sequence_commands.asm b/src/engine/sequences/opening_sequence_commands.asm index 8846c88..fac3aa7 100644 --- a/src/engine/sequences/opening_sequence_commands.asm +++ b/src/engine/sequences/opening_sequence_commands.asm @@ -27,7 +27,6 @@ ExecuteOpeningSequenceCmd: ; 1d408 (7:5408) call CallHL2
jr c, ExecuteOpeningSequenceCmd
ret
-; 0x1d42e
AdvanceOpeningSequenceCmdPtrBy2: ; 1d42e (7:542e)
ld a, 2
@@ -51,7 +50,6 @@ AdvanceOpeningSequenceCmdPtr: ; 1d438 (7:5438) ld [hl], a
pop hl
ret
-; 0x1d444
OpeningSequenceCmd_WaitOrbsAnimation: ; 1d444 (7:5444)
ld c, $7
@@ -72,7 +70,6 @@ OpeningSequenceCmd_WaitOrbsAnimation: ; 1d444 (7:5444) .no_carry
or a
ret
-; 0x1d460
OpeningSequenceCmd_Wait: ; 1d460 (7:5460)
ld a, c
@@ -80,7 +77,6 @@ OpeningSequenceCmd_Wait: ; 1d460 (7:5460) call AdvanceOpeningSequenceCmdPtrBy3
scf
ret
-; 0x1d469
OpeningSequenceCmd_SetOrbsAnimations: ; 1d469 (7:5469)
ld l, c
@@ -104,7 +100,6 @@ OpeningSequenceCmd_SetOrbsAnimations: ; 1d469 (7:5469) call AdvanceOpeningSequenceCmdPtrBy4
scf
ret
-; 0x1d486
OpeningSequenceCmd_SetOrbsCoordinates: ; 1d486 (7:5486)
ld l, c
@@ -139,7 +134,6 @@ OpeningSequenceCmd_SetOrbsCoordinates: ; 1d486 (7:5486) call AdvanceOpeningSequenceCmdPtrBy4
scf
ret
-; 0x1d4b0
OpeningOrbAnimations_CharizardScene: ; 1d4b0 (7:54b0)
db $c0 ; GRASS
@@ -149,7 +143,6 @@ OpeningOrbAnimations_CharizardScene: ; 1d4b0 (7:54b0) db $c1 ; LIGHTNING
db $c0 ; PSYCHIC
db $c1 ; FIGHTING
-; 0x1d4b7
OpeningOrbCoordinates_CharizardScene: ; 1d4b7 (7:54b7)
; x coord, y coord
@@ -160,7 +153,6 @@ OpeningOrbCoordinates_CharizardScene: ; 1d4b7 (7:54b7) db 160, 84 ; LIGHTNING
db 240, 100 ; PSYCHIC
db 160, 44 ; FIGHTING
-; 0x1d4c5
OpeningOrbAnimations_ScytherScene: ; 1d4c5 (7:54c5)
db $c1 ; GRASS
@@ -170,7 +162,6 @@ OpeningOrbAnimations_ScytherScene: ; 1d4c5 (7:54c5) db $c0 ; LIGHTNING
db $c1 ; PSYCHIC
db $c0 ; FIGHTING
-; 0x1d4cc
OpeningOrbCoordinates_ScytherScene: ; 1d4cc (7:54cc)
; x coord, y coord
@@ -181,7 +172,6 @@ OpeningOrbCoordinates_ScytherScene: ; 1d4cc (7:54cc) db 240, 84 ; LIGHTNING
db 160, 100 ; PSYCHIC
db 240, 44 ; FIGHTING
-; 0x1d4da
OpeningOrbAnimations_AerodactylScene: ; 1d4da (7:54da)
db $c2 ; GRASS
@@ -191,18 +181,16 @@ OpeningOrbAnimations_AerodactylScene: ; 1d4da (7:54da) db $ce ; LIGHTNING
db $d1 ; PSYCHIC
db $d4 ; FIGHTING
-; 0x1d4e1
OpeningOrbCoordinates_AerodactylScene: ; 1d4e1 (7:54e1)
; x coord, y coord
db 240, 32 ; GRASS
db 160, 112 ; FIRE
- db $A0, 16 ; WATER
+ db 160, 16 ; WATER
db 240, 64 ; COLORLESS
db 160, 80 ; LIGHTNING
db 240, 96 ; PSYCHIC
db 160, 48 ; FIGHTING
-; 0x1d4ef
OpeningOrbAnimations_InitialTitleScreen: ; 1d4ef (7:54ef)
db $c3 ; GRASS
@@ -212,7 +200,6 @@ OpeningOrbAnimations_InitialTitleScreen: ; 1d4ef (7:54ef) db $cf ; LIGHTNING
db $d2 ; PSYCHIC
db $d5 ; FIGHTING
-; 0x1d4f6
OpeningOrbCoordinates_InitialTitleScreen: ; 1d4f6 (7:54f6)
; x coord, y coord
@@ -223,7 +210,6 @@ OpeningOrbCoordinates_InitialTitleScreen: ; 1d4f6 (7:54f6) db 52, 144 ; LIGHTNING
db 132, 144 ; PSYCHIC
db 72, 144 ; FIGHTING
-; 0x1d504
OpeningOrbAnimations_InTitleScreen: ; 1d504 (7:5504)
db $c4 ; GRASS
@@ -233,7 +219,6 @@ OpeningOrbAnimations_InTitleScreen: ; 1d504 (7:5504) db $d0 ; LIGHTNING
db $d3 ; PSYCHIC
db $d6 ; FIGHTING
-; 0x1d50b
OpeningOrbCoordinates_InTitleScreen: ; 1d50b (7:550b)
; x coord, y coord
@@ -244,7 +229,6 @@ OpeningOrbCoordinates_InTitleScreen: ; 1d50b (7:550b) db 52, 252 ; LIGHTNING
db 144, 28 ; PSYCHIC
db 72, 76 ; FIGHTING
-; 0x1d519
OpeningSequenceCmd_PlayTitleScreenMusic: ; 1d519 (7:5519)
ld a, MUSIC_TITLESCREEN
@@ -252,7 +236,6 @@ OpeningSequenceCmd_PlayTitleScreenMusic: ; 1d519 (7:5519) call AdvanceOpeningSequenceCmdPtrBy2
scf
ret
-; 0x1d523
OpeningSequenceCmd_WaitSFX: ; 1d523 (7:5523)
call AssertSFXFinished
@@ -265,7 +248,6 @@ OpeningSequenceCmd_WaitSFX: ; 1d523 (7:5523) .no_carry
or a
ret
-; 0x1d530
OpeningSequenceCmd_PlaySFX: ; 1d530 (7:5530)
ld a, c
@@ -273,7 +255,6 @@ OpeningSequenceCmd_PlaySFX: ; 1d530 (7:5530) call AdvanceOpeningSequenceCmdPtrBy3
scf
ret
-; 0x1d539
OpeningSequenceCmd_FadeIn: ; 1d539 (7:5539)
ld a, TRUE
@@ -281,7 +262,6 @@ OpeningSequenceCmd_FadeIn: ; 1d539 (7:5539) call AdvanceOpeningSequenceCmdPtrBy2
scf
ret
-; 0x1d543
OpeningSequenceCmd_FadeOut: ; 1d543 (7:5543)
farcall Func_10d50
@@ -290,7 +270,6 @@ OpeningSequenceCmd_FadeOut: ; 1d543 (7:5543) call AdvanceOpeningSequenceCmdPtrBy2
scf
ret
-; 0x1d551
OpeningSequenceCmd_LoadCharizardScene: ; 1d551 (7:5551)
lb bc, 6, 3
@@ -315,7 +294,6 @@ LoadOpeningSceneAndUpdateSGBBorder: ; 1d564 (7:5564) farcall Func_70498
scf
ret
-; 0x1d575
OpeningSequenceCmd_LoadTitleScreenScene: ; 1d575 (7:5575)
lb bc, 0, 0
@@ -324,7 +302,6 @@ OpeningSequenceCmd_LoadTitleScreenScene: ; 1d575 (7:5575) call OpeningSequenceEmptyFunc
scf
ret
-; 0x1d582
; a = scene ID
; bc = coordinates for scene
@@ -343,8 +320,6 @@ LoadOpeningScene: ; 1d582 (7:5582) call AdvanceOpeningSequenceCmdPtrBy2
call EnableLCD
ret
-; 0x1d59c
OpeningSequenceEmptyFunc: ; 1d59c (7:559c)
ret
-; 0x1d59d
|