shithub: pokecrystal

Download patch

ref: 9a2b212ffd92a815f614639e8c43b6a242db1642
parent: f204a11274b7b56fd0cd6cb14507280ba4c3495a
author: surskitty <surskitty@gmail.com>
date: Tue Oct 24 20:14:05 EDT 2017

Labelling Sweet Scent.

--- a/event/sweet_scent.asm
+++ b/event/sweet_scent.asm
@@ -1,5 +1,5 @@
 SweetScentFromMenu: ; 506bc
-	ld hl, UnknownScript_0x506c8
+	ld hl, .SweetScent
 	call QueueScript
 	ld a, $1
 	ld [wFieldMoveSucceeded], a
@@ -6,7 +6,7 @@
 	ret
 ; 506c8
 
-UnknownScript_0x506c8: ; 0x506c8
+.SweetScent: ; 0x506c8
 	reloadmappart
 	special UpdateTimePals
 	callasm GetPartyNick
@@ -13,9 +13,9 @@
 	writetext UnknownText_0x50726
 	waitbutton
 	callasm SweetScentEncounter
-	iffalse UnknownScript_0x506e9
+	iffalse SweetScentNothing
 	checkflag ENGINE_BUG_CONTEST_TIMER
-	iftrue UnknownScript_0x506e5
+	iftrue .BugCatchingContest
 	randomwildmon
 	startbattle
 	reloadmapafterbattle
@@ -22,11 +22,11 @@
 	end
 ; 0x506e5
 
-UnknownScript_0x506e5: ; 0x506e5
+.BugCatchingContest: ; 0x506e5
 	farjump BugCatchingContestBattleScript
 ; 0x506e9
 
-UnknownScript_0x506e9: ; 0x506e9
+SweetScentNothing: ; 0x506e9
 	writetext UnknownText_0x5072b
 	waitbutton
 	closetext