shithub: pokecrystal

Download patch

ref: 0390728d442db9b0eca21b56fe5ecff982195b67
parent: a21507f22a0a93fe2b0b67073dd9f847864e49a9
author: mid-kid <esteve.varela@gmail.com>
date: Tue Jan 15 08:37:22 EST 2019

Fix constants used with startbattle

--- a/maps/LakeOfRage.asm
+++ b/maps/LakeOfRage.asm
@@ -87,7 +87,7 @@
 	loadwildmon GYARADOS, 30
 	writecode VAR_BATTLETYPE, BATTLETYPE_SHINY
 	startbattle
-	ifequal $1, .NotBeaten
+	ifequal LOSE, .NotBeaten
 	disappear LAKEOFRAGE_GYARADOS
 .NotBeaten:
 	reloadmapafterbattle
--- a/maps/Route36.asm
+++ b/maps/Route36.asm
@@ -77,7 +77,7 @@
 	loadwildmon SUDOWOODO, 20
 	startbattle
 	setevent EVENT_FOUGHT_SUDOWOODO
-	ifequal $2, DidntCatchSudowoodo
+	ifequal DRAW, DidntCatchSudowoodo
 	disappear ROUTE36_WEIRD_TREE
 	variablesprite SPRITE_WEIRD_TREE, SPRITE_TWIN
 	reloadmapafterbattle