Include Missed GetInteractedMetatileScript Entries for Mart & Center Signs (#6269)
This commit is contained in:
parent
079017549d
commit
48d321e80b
@ -497,6 +497,20 @@ static const u8 *GetInteractedMetatileScript(struct MapPosition *position, u8 me
|
||||
return EventScript_Questionnaire;
|
||||
if (MetatileBehavior_IsTrainerHillTimer(metatileBehavior) == TRUE)
|
||||
return EventScript_TrainerHillTimer;
|
||||
if (MetatileBehavior_IsPokeMartSign(metatileBehavior) == TRUE)
|
||||
{
|
||||
if(direction != DIR_NORTH)
|
||||
return NULL;
|
||||
SetMsgSignPostAndVarFacing(direction);
|
||||
return Common_EventScript_ShowPokemartSign;
|
||||
}
|
||||
if (MetatileBehavior_IsPokemonCenterSign(metatileBehavior) == TRUE)
|
||||
{
|
||||
if(direction != DIR_NORTH)
|
||||
return NULL;
|
||||
SetMsgSignPostAndVarFacing(direction);
|
||||
return Common_EventScript_ShowPokemonCenterSign;
|
||||
}
|
||||
|
||||
elevation = position->elevation;
|
||||
if (elevation == MapGridGetElevationAt(position->x, position->y))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user