shithub: pokecrystal

Download patch

ref: aeee49d29be52d56b542706cf6524eb9b2c4c279
parent: 148fd299f99a55109fdedbe8bd6b976263f9f77b
author: Remy Oukaour <remy.oukaour@gmail.com>
date: Sun Dec 24 15:07:23 EST 2017

Change a few Unknown labels

--- a/audio/cries.asm
+++ b/audio/cries.asm
@@ -1166,7 +1166,7 @@
 	musicheader 1, 8, Cry_Weepinbell_Ch8
 ; f35d3
 
-Unknown_Cry_Ch5: ; f35d3
+Unused_Cry_Ch5: ; f35d3
 	sound_duty 0, 0, 3, 3
 	sound __, 16, $e0, $0780
 	sound __, 16, $f0, $0784
@@ -1177,7 +1177,7 @@
 	endchannel
 ; f35ee
 
-Unknown_Cry_Ch6: ; f35ee
+Unused_Cry_Ch6: ; f35ee
 	sound_duty 1, 1, 0, 0
 	sound __, 16, $a0, $0741
 	sound __, 16, $b0, $0743
@@ -1188,7 +1188,7 @@
 	endchannel
 ; f3609
 
-Unknown_Cry_Ch8: ; f3609
+Unused_Cry_Ch8: ; f3609
 	noise __,  3, $f2, $4c
 	noise __,  7, $e0, $3a
 	noise __, 16, $d0, $3a
--- a/audio/sfx.asm
+++ b/audio/sfx.asm
@@ -968,14 +968,14 @@
 	musicheader 1, 8, Sfx_Fanfare2_Ch8
 ; f0d5f
 
-UnknownSfx: ; f0d5f
-	musicheader 4, 5, UnknownSfx_Ch5
-	musicheader 1, 6, UnknownSfx_Ch6
-	musicheader 1, 7, UnknownSfx_Ch7
-	musicheader 1, 8, UnknownSfx_Ch8
+UnusedSfx: ; f0d5f
+	musicheader 4, 5, UnusedSfx_Ch5
+	musicheader 1, 6, UnusedSfx_Ch6
+	musicheader 1, 7, UnusedSfx_Ch7
+	musicheader 1, 8, UnusedSfx_Ch8
 ; f0d6b
 
-UnknownSfx_Ch5: ; f0d6b
+UnusedSfx_Ch5: ; f0d6b
 	togglesfx
 	tempo 124
 	volume $77
@@ -1000,7 +1000,7 @@
 	endchannel
 ; f0d8a
 
-UnknownSfx_Ch6: ; f0d8a
+UnusedSfx_Ch6: ; f0d8a
 	togglesfx
 	vibrato $8, $27
 	dutycycle $2
@@ -1025,7 +1025,7 @@
 	endchannel
 ; f0da6
 
-UnknownSfx_Ch7: ; f0da6
+UnusedSfx_Ch7: ; f0da6
 	togglesfx
 	notetype $c, $25
 	octave 4
@@ -1041,7 +1041,7 @@
 	endchannel
 ; f0db6
 
-UnknownSfx_Ch8: ; f0db6
+UnusedSfx_Ch8: ; f0db6
 	togglesfx
 	sfxtogglenoise $4
 	notetype $c
--- a/battle/moves/move_descriptions.asm
+++ b/battle/moves/move_descriptions.asm
@@ -263,7 +263,6 @@
 MoveFEDescription:
 MoveFFDescription:
 Move00Description:
-UnknownMoveDescription:
 	db "?@"
 
 PoundDescription:
--- a/engine/pokegear.asm
+++ b/engine/pokegear.asm
@@ -1688,7 +1688,7 @@
 	ld a, BANK(PlayRadioShow)
 	ld hl, PlayRadioShow
 	call Radio_BackUpFarCallParams
-	ld de, UnknownStationName
+	ld de, UnownStationName
 	ret
 
 LoadStation_PlacesAndPeople: ; 917ea (24:57ea)
@@ -1747,7 +1747,7 @@
 	ld a, BANK(PlayRadioShow)
 	ld hl, PlayRadioShow
 	call Radio_BackUpFarCallParams
-	ld de, UnknownStationName
+	ld de, UnownStationName
 	ret
 
 ; 91853 (24:5853)
@@ -1821,7 +1821,7 @@
 PokedexShowName:      db "#DEX Show@"
 PokemonMusicName:     db "#MON Music@"
 LuckyChannelName:     db "Lucky Channel@"
-UnknownStationName:   db "?????@"
+UnownStationName:     db "?????@"
 
 PlacesAndPeopleName:  db "Places & People@"
 LetsAllSingName:      db "Let's All Sing!@"
--- a/engine/rtc.asm
+++ b/engine/rtc.asm
@@ -58,11 +58,11 @@
 	db -1, MORN_F
 ; 1404e
 
-Unknown_1404e: ; Unreferenced
-	db 20, 2
-	db 40, 0
-	db 60, 1
-	db -1, 0
+Unknown_1404e: ; unreferenced
+	db 20, NITE_F
+	db 40, MORN_F
+	db 60, DAY_F
+	db -1, MORN_F
 ; 14056
 
 StageRTCTimeForSave: ; 14056
--- a/engine/slot_machine.asm
+++ b/engine/slot_machine.asm
@@ -766,14 +766,15 @@
 
 ; 92bbe (24:6bbe)
 
+; unreferenced
 Function92bbe: ; 92bbe
 	push hl
 	srl a
 	srl a
-	add Unknown_92bce % $100
+	add .Unknown_92bce % $100
 	ld l, a
 	ld a, 0
-	adc Unknown_92bce / $100
+	adc .Unknown_92bce / $100
 	ld h, a
 	ld a, [hl]
 	pop hl
@@ -781,7 +782,7 @@
 
 ; 92bce
 
-Unknown_92bce: ; 92bce
+.Unknown_92bce: ; 92bce
 	db 0, 1, 2, 3, 4, 5
 ; 92bd4
 
--- a/engine/stats_screen.asm
+++ b/engine/stats_screen.asm
@@ -965,6 +965,7 @@
 	ret
 ; 4e32a (13:632a)
 
+; unreferenced
 Unknown_4e32a: ; 4e32a
 ; A blank tile?
 	ds 16