shithub: pokecrystal

Download patch

ref: d0c8f63f25c9e9be52a75b2551ecdee149a6acb3
parent: 2cc17f780a4b50ac3eebeb7e6865639926a611cd
author: Idain <[email protected]>
date: Tue Feb 22 05:47:05 EST 2022

Rename ENGINE_FISH_SWARM to ENGINE_QWILFISH_SWARM (#879)


--- a/constants/engine_flags.asm
+++ b/constants/engine_flags.asm
@@ -97,7 +97,7 @@
 ; wDailyFlags1
 	const ENGINE_KURT_MAKING_BALLS
 	const ENGINE_DAILY_BUG_CONTEST
-	const ENGINE_FISH_SWARM
+	const ENGINE_QWILFISH_SWARM
 	const ENGINE_TIME_CAPSULE
 	const ENGINE_ALL_FRUIT_TREES
 	const ENGINE_GOT_SHUCKIE_TODAY
--- a/engine/phone/scripts/ralph.asm
+++ b/engine/phone/scripts/ralph.asm
@@ -10,7 +10,7 @@
 	checktime MORN
 	iftrue Ralph_WednesdayMorning
 .CheckSwarm:
-	checkflag ENGINE_FISH_SWARM
+	checkflag ENGINE_QWILFISH_SWARM
 	iftrue .ReportSwarm
 	farsjump RalphNoItemScript
 
@@ -46,9 +46,9 @@
 	farsjump PhoneScript_WantsToBattle_Male
 
 Ralph_SetUpSwarm:
-	checkflag ENGINE_FISH_SWARM
+	checkflag ENGINE_QWILFISH_SWARM
 	iftrue .Generic
-	setflag ENGINE_FISH_SWARM
+	setflag ENGINE_QWILFISH_SWARM
 	getmonname STRING_BUFFER_4, QWILFISH
 	getlandmarkname STRING_BUFFER_5, LANDMARK_ROUTE_32
 	setval FISHSWARM_QWILFISH
--- a/maps/Route32.asm
+++ b/maps/Route32.asm
@@ -172,7 +172,7 @@
 	opentext
 	checkflag ENGINE_RALPH_READY_FOR_REMATCH
 	iftrue .Rematch
-	checkflag ENGINE_FISH_SWARM
+	checkflag ENGINE_QWILFISH_SWARM
 	iftrue .Swarm
 	checkcellnum PHONE_FISHER_RALPH
 	iftrue .NumberAccepted