summaryrefslogtreecommitdiff
path: root/data/maps/Route18
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/Route18
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/Route18')
-rw-r--r--data/maps/Route18/map.json6
-rw-r--r--data/maps/Route18/scripts.inc4
2 files changed, 5 insertions, 5 deletions
diff --git a/data/maps/Route18/map.json b/data/maps/Route18/map.json
index 48301e386..9ced2a41f 100644
--- a/data/maps/Route18/map.json
+++ b/data/maps/Route18/map.json
@@ -25,7 +25,7 @@
],
"object_events": [
{
- "graphics_id": "26",
+ "graphics_id": "MAP_OBJ_GFX_ROCKER",
"x": 46,
"y": 14,
"elevation": 3,
@@ -38,7 +38,7 @@
"flag": "0"
},
{
- "graphics_id": "26",
+ "graphics_id": "MAP_OBJ_GFX_ROCKER",
"x": 41,
"y": 15,
"elevation": 3,
@@ -51,7 +51,7 @@
"flag": "0"
},
{
- "graphics_id": "26",
+ "graphics_id": "MAP_OBJ_GFX_ROCKER",
"x": 39,
"y": 12,
"elevation": 3,
diff --git a/data/maps/Route18/scripts.inc b/data/maps/Route18/scripts.inc
index 548fdeeb6..dfc5f8578 100644
--- a/data/maps/Route18/scripts.inc
+++ b/data/maps/Route18/scripts.inc
@@ -5,11 +5,11 @@ Route18_MapScripts:: @ 81681F6
Route18_MapScript1_168201:: @ 8168201
compare_var_to_value VAR_MAP_SCENE_ROUTE16, 1
- call_if 1, EventScript_16820D
+ call_if eq, EventScript_16820D
end
EventScript_16820D:: @ 816820D
- setflag FLAG_0x830
+ setflag FLAG_SYS_ON_CYCLING_ROAD
return
Route18_MapScript2_168211:: @ 8168211