summaryrefslogtreecommitdiff
path: root/engine/intro.asm
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-06-11 17:51:03 -0700
committerGitHub <noreply@github.com>2016-06-11 17:51:03 -0700
commit54143d33fc1211fb0c949ba62633d1c8d94f2717 (patch)
tree9176ffc5b6384a48eb32ea8f33ac97d1d67f6865 /engine/intro.asm
parentdb0ac16b6b4f257de338d1aaac561e681ca8723a (diff)
parent7e112672b436afee27f1a5a0d6e7a5964e7829b2 (diff)
Merge pull request #13 from YamaArashi/master
remove address comments
Diffstat (limited to 'engine/intro.asm')
-rwxr-xr-xengine/intro.asm24
1 files changed, 12 insertions, 12 deletions
diff --git a/engine/intro.asm b/engine/intro.asm
index 27a357a7..9bc1f503 100755
--- a/engine/intro.asm
+++ b/engine/intro.asm
@@ -2,7 +2,7 @@ MOVE_GENGAR_RIGHT EQU $00
MOVE_GENGAR_LEFT EQU $01
MOVE_NIDORINO_RIGHT EQU $ff
-PlayIntro: ; 41997 (10:5997)
+PlayIntro:
xor a
ld [hJoyHeld], a
inc a
@@ -16,7 +16,7 @@ PlayIntro: ; 41997 (10:5997)
call DelayFrame
ret
-InitIntroNidorinoOAM: ; 419b4 (10:59b4)
+InitIntroNidorinoOAM:
ld hl, wOAMBuffer
ld d, 0
.loop
@@ -45,17 +45,17 @@ InitIntroNidorinoOAM: ; 419b4 (10:59b4)
jr nz, .loop
ret
-IntroClearScreen: ; 419dd (10:59dd)
+IntroClearScreen:
ld hl, vBGMap1
ld bc, $240
jr IntroClearCommon
-IntroClearMiddleOfScreen: ; 419e5 (10:59e5)
+IntroClearMiddleOfScreen:
; clear the area of the tile map between the black bars on the top and bottom
coord hl, 0, 4
ld bc, SCREEN_WIDTH * 10
-IntroClearCommon: ; 419eb (10:59eb)
+IntroClearCommon:
ld [hl], $0
inc hl
dec bc
@@ -64,7 +64,7 @@ IntroClearCommon: ; 419eb (10:59eb)
jr nz, IntroClearCommon
ret
-IntroPlaceBlackTiles: ; 419f4 (10:59f4)
+IntroPlaceBlackTiles:
ld a, $1
.loop
ld [hli], a
@@ -72,11 +72,11 @@ IntroPlaceBlackTiles: ; 419f4 (10:59f4)
jr nz, .loop
ret
-CopyTileIDsFromList_ZeroBaseTileID: ; 419fb (10:59fb)
+CopyTileIDsFromList_ZeroBaseTileID:
ld c, 0
predef_jump CopyTileIDsFromList
-PlayShootingStar: ; 41a02 (10:5a02)
+PlayShootingStar:
ld b, SET_PAL_GAME_FREAK_INTRO
call RunPaletteCommand
callba LoadCopyrightAndTextBoxTiles
@@ -128,7 +128,7 @@ PlayShootingStar: ; 41a02 (10:5a02)
call ClearSprites
jp Delay3
-IntroDrawBlackBars: ; 41a82 (10:5a82)
+IntroDrawBlackBars:
; clear the screen and draw black bars on the top and bottom
call IntroClearScreen
coord hl, 0, 0
@@ -144,11 +144,11 @@ IntroDrawBlackBars: ; 41a82 (10:5a82)
ld c, $80
jp IntroPlaceBlackTiles
-EmptyFunc4: ; 41aa5 (10:5aa5)
+EmptyFunc4:
ret
-GameFreakIntro: ; 41959 (10:5aa6)
+GameFreakIntro:
INCBIN "gfx/gamefreak_intro.2bpp"
INCBIN "gfx/gamefreak_logo.2bpp"
ds $10 ; blank tile
-GameFreakIntroEnd: \ No newline at end of file
+GameFreakIntroEnd: