summaryrefslogtreecommitdiff
path: root/data/maps/Route1/scripts.inc
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2019-10-23 09:05:26 -0400
committerGitHub <noreply@github.com>2019-10-23 09:05:26 -0400
commit6e36c229200e083ca005cbc448e99210d111f3b2 (patch)
treeaec86bd0f081a7ff207f68cba33315991b629be1 /data/maps/Route1/scripts.inc
parent4bc284ff2c7d0ec3f24df8d94a77860fbaed588b (diff)
parent3efd2e1210b4149628197446d063df0fc11281ab (diff)
Merge pull request #130 from PikalaxALT/trainers
Trainers, event flags, mystery_event_msg, map object gfx
Diffstat (limited to 'data/maps/Route1/scripts.inc')
-rw-r--r--data/maps/Route1/scripts.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/data/maps/Route1/scripts.inc b/data/maps/Route1/scripts.inc
index 16bd02597..ef784e8ee 100644
--- a/data/maps/Route1/scripts.inc
+++ b/data/maps/Route1/scripts.inc
@@ -4,13 +4,13 @@ Route1_MapScripts:: @ 8167EFD
Route1_EventScript_167EFE:: @ 8167EFE
lock
faceplayer
- checkflag FLAG_0x230
- goto_if_eq EventScript_167F48
+ checkflag FLAG_GOT_POTION_ON_ROUTE_1
+ goto_if TRUE, EventScript_167F48
msgbox gUnknown_818329D
textcolor 3
checkitemspace ITEM_POTION, 1
compare_var_to_value VAR_RESULT, 0
- goto_if_eq EventScript_1A6BF9
+ goto_if eq, EventScript_1A6BF9
getitemname 1, ITEM_POTION
playfanfare MUS_FANFA1
message Text_1A51F6
@@ -19,7 +19,7 @@ Route1_EventScript_167EFE:: @ 8167EFE
additem ITEM_POTION, 1
msgbox gUnknown_8183387
call EventScript_1A6675
- setflag FLAG_0x230
+ setflag FLAG_GOT_POTION_ON_ROUTE_1
release
end