shithub: pokecrystal

Download patch

ref: 2f14f3a669afd51ab98d9f2dea5857e5b548a8d7
parent: 2cdca754410fc97878b99a673eeaa9cfad49ed9e
author: PikalaxALT <PikalaxALT@gmail.com>
date: Wed Dec 2 15:37:00 EST 2015

No more autogen functions in engine/crystal_intro.asm

--- a/engine/crystal_intro.asm
+++ b/engine/crystal_intro.asm
@@ -1,4 +1,4 @@
-Functione4579: ; e4579
+Copyright_GFPresents: ; e4579
 	ld de, MUSIC_NONE
 	call PlayMusic
 	call ClearBGPalettes
@@ -24,7 +24,7 @@
 	call DelayFrames
 	call ClearTileMap
 	callba GBCOnlyScreen
-	call Functione45e8
+	call .GetGFLogoGFX
 .joy_loop
 	call JoyTextDelay
 	ld a, [hJoyLast]
@@ -39,17 +39,17 @@
 	jr .joy_loop
 
 .pressed_button
-	call Functione465e
+	call .StopGamefreakAnim
 	scf
 	ret
 
 .finish
-	call Functione465e
+	call .StopGamefreakAnim
 	and a
 	ret
 ; e45e8
 
-Functione45e8: ; e45e8
+.GetGFLogoGFX: ; e45e8
 	ld de, GameFreakLogo
 	ld hl, VTiles2
 	lb bc, BANK(GameFreakLogo), $1c
@@ -106,7 +106,7 @@
 	ret
 ; e465e
 
-Functione465e: ; e465e
+.StopGamefreakAnim: ; e465e
 	callba ClearSpriteAnims
 	call ClearTileMap
 	call ClearSprites
@@ -380,7 +380,7 @@
 	push af
 	ld a, [hVBlank]
 	push af
-	call Functione4901
+	call .InitRAMAddrs
 .loop: ; e48bc
 	call JoyTextDelay
 	ld a, [hJoyLast]
@@ -418,7 +418,7 @@
 	ret
 ; e4901
 
-Functione4901: ; e4901
+.InitRAMAddrs: ; e4901
 	xor a
 	ld [hVBlank], a
 	ld a, $1
--- a/engine/intro_menu.asm
+++ b/engine/intro_menu.asm
@@ -1010,8 +1010,8 @@
 ; 620b
 
 
-Function620b: ; 620b
-	callab Functione4579
+CrystalIntroSequence: ; 620b
+	callab Copyright_GFPresents
 	jr c, StartTitleScreen
 	callba CrystalIntro
 
@@ -1068,8 +1068,8 @@
 .jumptable
 	dw _MainMenu
 	dw Function6389
-	dw Function620b
-	dw Function620b
+	dw CrystalIntroSequence
+	dw CrystalIntroSequence
 	dw ResetClock
 ; 6274
 
@@ -1423,5 +1423,5 @@
 	ld a, $90
 	ld [hWY], a
 	call WaitBGMap
-	jp Function620b
+	jp CrystalIntroSequence
 ; 6454