mirror of
https://github.com/pret/pokeemerald.git
synced 2026-09-29 21:37:06 -05:00
Combined conditions per https://github.com/rh-hideout/pokeemerald-expansion/pull/5044\#discussion_r1712963093
This commit is contained in:
@@ -1093,9 +1093,7 @@ static bool32 TrySetUpWalkIntoSignpostScript(struct MapPosition *position, u32 m
|
||||
{
|
||||
const u8 *script;
|
||||
|
||||
if (JOY_HELD(DPAD_LEFT | DPAD_RIGHT))
|
||||
return FALSE;
|
||||
if (playerDirection != DIR_NORTH)
|
||||
if ((JOY_HELD(DPAD_LEFT | DPAD_RIGHT)) || (playerDirection != DIR_NORTH))
|
||||
return FALSE;
|
||||
|
||||
switch (GetFacingSignpostType(metatileBehavior, playerDirection))
|
||||
|
||||
Reference in New Issue
Block a user