mirror of
https://github.com/pret/pokeemerald.git
synced 2026-08-13 04:40:42 -05:00
Add OW_UNION_DISABLE_CHECK and OW_FLAG_MOVE_UNION_ROOM_CHECK (#5448)
* First addition of both checks * Updated config file * fixed spacing * Updated spacing * Fixed issues where feature was always on * Update overworld.h fixed spacing per https://github.com/rh-hideout/pokeemerald-expansion/pull/5448#discussion_r1789647611
This commit is contained in:
@@ -1258,7 +1258,11 @@ EventScript_CloseMossdeepGameCornerBarrier::
|
||||
|
||||
CableClub_OnResume:
|
||||
special InitUnionRoom
|
||||
.if OW_FLAG_MOVE_UNION_ROOM_CHECK != 0
|
||||
return
|
||||
.else
|
||||
end
|
||||
.endif
|
||||
|
||||
MossdeepCity_GameCorner_1F_EventScript_InfoMan2::
|
||||
lock
|
||||
|
||||
@@ -36,6 +36,11 @@ EventScript_PkmnCenterNurse_TakeAndHealPkmn::
|
||||
applymovement VAR_0x800B, Movement_PkmnCenterNurse_Turn @ Changed from Common_Movement_WalkInPlaceFasterLeft to force the follower to enter their Poké Ball
|
||||
waitmovement 0
|
||||
dofieldeffect FLDEFF_POKECENTER_HEAL
|
||||
.if OW_UNION_DISABLE_CHECK == FALSE && OW_FLAG_MOVE_UNION_ROOM_CHECK != 0
|
||||
setflag OW_FLAG_MOVE_UNION_ROOM_CHECK
|
||||
call CableClub_OnResume
|
||||
clearflag OW_FLAG_MOVE_UNION_ROOM_CHECK
|
||||
.endif
|
||||
waitfieldeffect FLDEFF_POKECENTER_HEAL
|
||||
applymovement VAR_0x800B, Common_Movement_WalkInPlaceFasterDown
|
||||
waitmovement 0
|
||||
|
||||
Reference in New Issue
Block a user