summaryrefslogtreecommitdiff
path: root/data/maps/LittlerootTown
diff options
context:
space:
mode:
authorTetrable <atifhuss386@gmail.com>2019-01-02 21:25:14 +0000
committerTetrable <atifhuss386@gmail.com>2019-01-02 21:25:14 +0000
commita3ebca4d814adcf245212cb549f72812f2cf39c6 (patch)
tree88fddcd03a5f19cf84b6199863f95fd06f1954bf /data/maps/LittlerootTown
parent1e3da62d24ad91e4d69ac6974476fd5ea47cae9b (diff)
parenta0ff38d0be4f618822d96cc7833e7c331ee78b5f (diff)
Fix merge conflicts
Diffstat (limited to 'data/maps/LittlerootTown')
-rw-r--r--data/maps/LittlerootTown/events.inc2
-rw-r--r--data/maps/LittlerootTown/header.inc2
-rw-r--r--data/maps/LittlerootTown/scripts.inc32
3 files changed, 18 insertions, 18 deletions
diff --git a/data/maps/LittlerootTown/events.inc b/data/maps/LittlerootTown/events.inc
index 71bf9a643..fc151a220 100644
--- a/data/maps/LittlerootTown/events.inc
+++ b/data/maps/LittlerootTown/events.inc
@@ -5,7 +5,7 @@ LittlerootTown_EventObjects: @ 85276A8
object_event 4, EVENT_OBJ_GFX_MOM, 0, 5, 8, 3, MOVEMENT_TYPE_FACE_UP, 0, 0, 0, 0, LittlerootTown_EventScript_1E863D, FLAG_HIDE_LITTLEROOT_TOWN_MOM_OUTSIDE
object_event 5, EVENT_OBJ_GFX_TRUCK, 0, 2, 10, 4, MOVEMENT_TYPE_FACE_RIGHT, 0, 0, 0, 0, 0x0, FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_TRUCK
object_event 6, EVENT_OBJ_GFX_TRUCK, 0, 11, 10, 4, MOVEMENT_TYPE_FACE_RIGHT, 0, 0, 0, 0, 0x0, FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_TRUCK
- object_event 7, EVENT_OBJ_GFX_HIPSTER, 0, 13, 10, 3, MOVEMENT_TYPE_FACE_UP, 1, 1, 0, 0, 0x0, FLAG_HIDE_LITTLEROOT_TOWN_RIVAL
+ object_event 7, EVENT_OBJ_GFX_VAR_0, 0, 13, 10, 3, MOVEMENT_TYPE_FACE_UP, 1, 1, 0, 0, 0x0, FLAG_HIDE_LITTLEROOT_TOWN_RIVAL
object_event 8, EVENT_OBJ_GFX_PROF_BIRCH, 0, 14, 10, 3, MOVEMENT_TYPE_FACE_UP, 1, 1, 0, 0, 0x0, FLAG_HIDE_LITTLEROOT_TOWN_BIRCH
LittlerootTown_MapWarps: @ 8527768
diff --git a/data/maps/LittlerootTown/header.inc b/data/maps/LittlerootTown/header.inc
index db13d6def..a94244f95 100644
--- a/data/maps/LittlerootTown/header.inc
+++ b/data/maps/LittlerootTown/header.inc
@@ -10,6 +10,6 @@ LittlerootTown: @ 84825B4
.byte WEATHER_SUNNY
.byte MAP_TYPE_TOWN
.2byte 0
- .byte 13
+ map_header_flags allow_bike=1, allow_escape_rope=0, allow_run=1, show_map_name=1
.byte MAP_BATTLE_SCENE_NORMAL
diff --git a/data/maps/LittlerootTown/scripts.inc b/data/maps/LittlerootTown/scripts.inc
index 538fe9939..b7067f451 100644
--- a/data/maps/LittlerootTown/scripts.inc
+++ b/data/maps/LittlerootTown/scripts.inc
@@ -68,9 +68,9 @@ LittlerootTown_EventScript_1E7E92:: @ 81E7E92
clearflag FLAG_HIDE_LITTLEROOT_TOWN_MOM_OUTSIDE
setobjectmovementtype 4, 8
checkplayergender
- compare VAR_RESULT, 0
+ compare VAR_RESULT, MALE
call_if_eq LittlerootTown_EventScript_1E7EB1
- compare VAR_RESULT, 1
+ compare VAR_RESULT, FEMALE
call_if_eq LittlerootTown_EventScript_1E7EB9
return
@@ -381,9 +381,9 @@ LittlerootTown_EventScript_1E815A:: @ 81E815A
LittlerootTown_EventScript_1E8163:: @ 81E8163
lockall
checkplayergender
- compare VAR_RESULT, 0
+ compare VAR_RESULT, MALE
call_if_eq LittlerootTown_EventScript_1E817D
- compare VAR_RESULT, 1
+ compare VAR_RESULT, FEMALE
call_if_eq LittlerootTown_EventScript_1E8186
releaseall
end
@@ -399,9 +399,9 @@ LittlerootTown_EventScript_1E8186:: @ 81E8186
LittlerootTown_EventScript_1E818F:: @ 81E818F
lockall
checkplayergender
- compare VAR_RESULT, 0
+ compare VAR_RESULT, MALE
call_if_eq LittlerootTown_EventScript_1E81A9
- compare VAR_RESULT, 1
+ compare VAR_RESULT, FEMALE
call_if_eq LittlerootTown_EventScript_1E81B2
releaseall
end
@@ -454,27 +454,27 @@ LittlerootTown_EventScript_1E8205:: @ 81E8205
LittlerootTown_EventScript_1E8211:: @ 81E8211
checkplayergender
- compare VAR_RESULT, 0
+ compare VAR_RESULT, MALE
call_if_eq LittlerootTown_EventScript_1E8297
- compare VAR_RESULT, 1
+ compare VAR_RESULT, FEMALE
call_if_eq LittlerootTown_EventScript_1E82A2
checkplayergender
- compare VAR_RESULT, 0
+ compare VAR_RESULT, MALE
call_if_eq LittlerootTown_EventScript_1E8281
- compare VAR_RESULT, 1
+ compare VAR_RESULT, FEMALE
call_if_eq LittlerootTown_EventScript_1E828C
msgbox LittlerootTown_Text_1E87E1, MSGBOX_DEFAULT
closemessage
checkplayergender
- compare VAR_RESULT, 0
+ compare VAR_RESULT, MALE
call_if_eq LittlerootTown_EventScript_1E82AD
- compare VAR_RESULT, 1
+ compare VAR_RESULT, FEMALE
call_if_eq LittlerootTown_EventScript_1E82F0
call LittlerootTown_EventScript_1E8693
checkplayergender
- compare VAR_RESULT, 0
+ compare VAR_RESULT, MALE
call_if_eq LittlerootTown_EventScript_1E8405
- compare VAR_RESULT, 1
+ compare VAR_RESULT, FEMALE
call_if_eq LittlerootTown_EventScript_1E8448
goto LittlerootTown_EventScript_1E8686
end
@@ -889,9 +889,9 @@ LittlerootTown_EventScript_1E863D:: @ 81E863D
lock
faceplayer
checkplayergender
- compare VAR_RESULT, 0
+ compare VAR_RESULT, MALE
call_if_eq LittlerootTown_EventScript_1E8281
- compare VAR_RESULT, 1
+ compare VAR_RESULT, FEMALE
call_if_eq LittlerootTown_EventScript_1E828C
call LittlerootTown_EventScript_1E8693
applymovement 4, LittlerootTown_Movement_2725A6