summaryrefslogtreecommitdiff
path: root/data/maps/LavaridgeTown
diff options
context:
space:
mode:
authorPhlosioneer <mattmdrr2@gmail.com>2019-02-25 02:24:20 -0500
committerPhlosioneer <mattmdrr2@gmail.com>2019-02-25 02:24:20 -0500
commit4e5fae008625d236d98d4958594c938bc17f83da (patch)
tree38d9d2e8215684ff90f8e50c7dd2efd40a2cbc71 /data/maps/LavaridgeTown
parent87859a655b810aeaad7e7e1f5b066731f7e79ece (diff)
parenta589d4a630a130e78bdf0819b807a133562d4449 (diff)
Merge branch 'master' into event-vars
Diffstat (limited to 'data/maps/LavaridgeTown')
-rw-r--r--data/maps/LavaridgeTown/map.json8
-rw-r--r--data/maps/LavaridgeTown/scripts.inc18
2 files changed, 13 insertions, 13 deletions
diff --git a/data/maps/LavaridgeTown/map.json b/data/maps/LavaridgeTown/map.json
index 9bec14bd1..65a6a25d3 100644
--- a/data/maps/LavaridgeTown/map.json
+++ b/data/maps/LavaridgeTown/map.json
@@ -216,7 +216,7 @@
"y": 5,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
- "script": "LavaridgeTown_EventScript_271E6A"
+ "script": "Common_EventScript_ShowPokemartSign"
},
{
"type": "sign",
@@ -232,7 +232,7 @@
"y": 6,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
- "script": "LavaridgeTown_EventScript_271E73"
+ "script": "Common_EventScript_ShowPokemonCenterSign"
},
{
"type": "sign",
@@ -240,7 +240,7 @@
"y": 5,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
- "script": "LavaridgeTown_EventScript_271E6A"
+ "script": "Common_EventScript_ShowPokemartSign"
},
{
"type": "sign",
@@ -248,7 +248,7 @@
"y": 6,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
- "script": "LavaridgeTown_EventScript_271E73"
+ "script": "Common_EventScript_ShowPokemonCenterSign"
},
{
"type": "hidden_item",
diff --git a/data/maps/LavaridgeTown/scripts.inc b/data/maps/LavaridgeTown/scripts.inc
index 84f04055f..d73a50d10 100644
--- a/data/maps/LavaridgeTown/scripts.inc
+++ b/data/maps/LavaridgeTown/scripts.inc
@@ -7,8 +7,8 @@ LavaridgeTown_MapScript1_1EA4DE: @ 81EA4DE
setflag FLAG_VISITED_LAVARIDGE_TOWN
call_if_set FLAG_FLANNERY_GIVES_BADGE_INFO, LavaridgeTown_EventScript_1EA514
call_if_set FLAG_DEFEATED_EVIL_TEAM_MT_CHIMNEY, LavaridgeTown_EventScript_1EA53F
- call LavaridgeTown_EventScript_271ED7
- call LavaridgeTown_EventScript_271EFB
+ call Common_EventScript_SetupRivalGender
+ call Common_EventScript_SetupRivalOnBikeGender
compare VAR_LAVARIDGE_RIVAL_STATE, 1
call_if_eq LavaridgeTown_EventScript_1EA518
compare VAR_LAVARIDGE_RIVAL_STATE, 1
@@ -110,12 +110,12 @@ LavaridgeTown_EventScript_1EA635:: @ 81EA635
return
LavaridgeTown_EventScript_1EA63A:: @ 81EA63A
- applymovement 8, LavaridgeTown_Movement_2725A6
+ applymovement 8, Common_Movement_WalkInPlaceUp
waitmovement 0
playse SE_PIN
- applymovement 8, LavaridgeTown_Movement_272598
+ applymovement 8, Common_Movement_ExclamationMark
waitmovement 0
- applymovement 8, LavaridgeTown_Movement_27259A
+ applymovement 8, Common_Movement_Delay48
waitmovement 0
return
@@ -127,14 +127,14 @@ LavaridgeTown_EventScript_1EA65C:: @ 81EA65C
waitmovement 0
closedoor 12, 15
waitdooranim
- applymovement 8, LavaridgeTown_Movement_2725A4
+ applymovement 8, Common_Movement_WalkInPlaceLeft
waitmovement 0
playse SE_PIN
- applymovement 8, LavaridgeTown_Movement_272598
+ applymovement 8, Common_Movement_ExclamationMark
waitmovement 0
- applymovement 8, LavaridgeTown_Movement_27259A
+ applymovement 8, Common_Movement_Delay48
waitmovement 0
- applymovement EVENT_OBJ_ID_PLAYER, LavaridgeTown_Movement_2725A8
+ applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceRight
waitmovement 0
return