shithub: pokecrystal

Download patch

ref: 97e981985bdbbe24ee32490735af48fc5d544edb
parent: 9b3c45b14d40d084b6301129d25376ee115b25ad
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Tue Nov 17 06:12:21 EST 2020

Correct some filename comments

--- a/charmap.asm
+++ b/charmap.asm
@@ -84,7 +84,7 @@
 
 ; Actual characters (from other graphics files)
 
-	; needed for _LoadFontsExtra1 (see engine/load_font.asm)
+	; needed for _LoadFontsExtra1 (see engine/gfx/load_font.asm)
 	charmap "■",         $60 ; gfx/font/black.2bpp
 	charmap "▲",         $61 ; gfx/font/up_arrow.png
 	charmap "☎",         $62 ; gfx/font/phone_icon.2bpp
--- a/data/party_menu_qualities.asm
+++ b/data/party_menu_qualities.asm
@@ -1,4 +1,4 @@
-; WritePartyMenuTilemap.Jumptable indexes (see engine/party_menu.asm)
+; WritePartyMenuTilemap.Jumptable indexes (see engine/pokemon/party_menu.asm)
 	const_def
 	const PARTYMENUQUALITY_NICKNAMES
 	const PARTYMENUQUALITY_HP_BAR
--- a/data/text/mail_input_chars.asm
+++ b/data/text/mail_input_chars.asm
@@ -1,4 +1,4 @@
-; see engine/naming_screen.asm
+; see engine/menus/naming_screen.asm
 
 MailEntry_Uppercase:
 	db "A B C D E F G H I J"
--- a/data/text/name_input_chars.asm
+++ b/data/text/name_input_chars.asm
@@ -1,4 +1,4 @@
-; see engine/naming_screen.asm
+; see engine/menus/naming_screen.asm
 
 NameInputLower:
 	db "a b c d e f g h i"
--- a/engine/menus/naming_screen.asm
+++ b/engine/menus/naming_screen.asm
@@ -1152,7 +1152,7 @@
 	call .PlaceMailCharset
 	ret
 
-; called from engine/sprite_anims.asm
+; called from engine/gfx/sprite_anims.asm
 
 ComposeMail_AnimateCursor:
 	call .GetDPad
--- a/engine/overworld/events.asm
+++ b/engine/overworld/events.asm
@@ -204,7 +204,7 @@
 	ret
 
 HandleMapObjects:
-	farcall HandleNPCStep ; engine/map_objects.asm
+	farcall HandleNPCStep
 	farcall _HandlePlayerStep
 	call _CheckObjectEnteringVisibleRange
 	ret
--- a/engine/pokegear/pokegear.asm
+++ b/engine/pokegear/pokegear.asm
@@ -1365,7 +1365,7 @@
 _UpdateRadioStation:
 	jr UpdateRadioStation
 
-; called from engine/sprite_anims.asm
+; called from engine/gfx/sprite_anims.asm
 
 AnimateTuningKnob:
 	push bc
--- a/engine/pokemon/party_menu.asm
+++ b/engine/pokemon/party_menu.asm
@@ -36,7 +36,7 @@
 
 LoadPartyMenuGFX:
 	call LoadFontsBattleExtra
-	callfar InitPartyMenuPalettes ; engine/color.asm
+	callfar InitPartyMenuPalettes
 	callfar ClearSpriteAnims2
 	ret