mirror of
https://github.com/pret/pokeemerald.git
synced 2026-09-13 05:26:53 -05:00
Merge branch 'followers-expanded-id' of https://github.com/aarant/pokeemerald into merrpmerge1210
This commit is contained in:
@@ -368,6 +368,23 @@ EventScript_EndSurface::
|
||||
releaseall
|
||||
end
|
||||
|
||||
EventScript_DigCommon:
|
||||
isfollowerfieldmoveuser VAR_0x8004
|
||||
setfieldeffectargument 3, VAR_0x8004 @ skip pose if true
|
||||
dofieldeffect FLDEFF_USE_DIG
|
||||
waitstate
|
||||
EventScript_DigSealedChamber:: @ fallthrough
|
||||
setflag FLAG_SAFE_FOLLOWER_MOVEMENT
|
||||
call_if_eq VAR_0x8004, TRUE, EventScript_FollowerFieldMove
|
||||
callnative DoBrailleDigEffect
|
||||
releaseall
|
||||
end
|
||||
|
||||
@ Use Dig from party menu
|
||||
EventScript_UseDig::
|
||||
lockall
|
||||
goto EventScript_DigCommon
|
||||
|
||||
Text_CantDive:
|
||||
.string "The sea is deep here. A POKéMON\n"
|
||||
.string "may be able to go underwater.$"
|
||||
|
||||
Reference in New Issue
Block a user