Fix constants used with startbattle

This commit is contained in:
mid-kid 2019-01-15 13:37:22 +01:00
parent a21507f22a
commit 0390728d44
2 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@ RedGyarados:
loadwildmon GYARADOS, 30
writecode VAR_BATTLETYPE, BATTLETYPE_SHINY
startbattle
ifequal $1, .NotBeaten
ifequal LOSE, .NotBeaten
disappear LAKEOFRAGE_GYARADOS
.NotBeaten:
reloadmapafterbattle

View File

@ -77,7 +77,7 @@ WateredWeirdTreeScript:: ; export (for when you use Squirtbottle from pack)
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