Skip to Content
The Alchemy Project

src/scene/suhalla_desert.c

Suhalla Desert, the desert of sandstorms between Suhalla and Suhalla Gate, which the party crosses with Iodem after Babi's audience while Sheba is missing in it. More…

Macros

NameDescription
#defineSUHALLA_DESERT_HAZE_BLENDThe sand haze, which is BG1 blended over every layer.
#defineSUHALLA_REVEAL_PALETTE_COLOR BG_PLTT_COLOR(12, 15)The colour Reveal pulses, the last of BG palette 12.
#defineAREA_LALIVERO 55Lalivero's area, whose FLAG_AREA_VISITED says the party has been there (MapScreenAreaMarkers marks it at SCENE_LALIVERO).
#defineFLAG_SUHALLA_DESERT_FIRST_SANDSTORM_RISEN FLAG_SCENE_TEMP(0x06)The first sandstorm (ACTOR_FIRST_SANDSTORM) has risen on this visit.
#defineFLAG_SUHALLA_DESERT_SECOND_SANDSTORM_RISEN FLAG_SCENE_TEMP(0x07)The second sandstorm has risen on this visit.
#defineFLAG_SUHALLA_DESERT_THIRD_SANDSTORM_RISEN FLAG_SCENE_TEMP(0x08)The third sandstorm has risen on this visit.
#defineFLAG_SUHALLA_DESERT_FOURTH_SANDSTORM_RISEN FLAG_SCENE_TEMP(0x09)The fourth sandstorm (ACTOR_FOURTH_SANDSTORM) has risen on this visit.
#defineFLAG_SUHALLA_DESERT_FIFTH_SANDSTORM_RISEN FLAG_SCENE_TEMP(0x0a)The fifth sandstorm (ACTOR_LAST_SANDSTORM) has risen on this visit.
#defineFLAG_SUHALLA_DESERT_CHASING_SANDSTORM_SET_OFF FLAG_SCENE_TEMP(0x0e)In the south half, the sandstorm that gives chase has set off after the leader.
#defineFLAG_SUHALLA_DESERT_CAUGHT_IN_SANDSTORM FLAG_SCENE_TEMP(0x0f)A sandstorm has caught the leader and lifts the party, and Douse can put it out.
#defineFLAG_SUHALLA_DESERT_CAPTURE_TICKS_LEFT FLAG_SCENE_TEMP(0x10)A byte flag that holds the ticks left before the sandstorm that caught the leader carries the party away.
#defineFLAG_SUHALLA_DESERT_CATCHING_SANDSTORM FLAG_SCENE_TEMP(0x18)A byte flag that holds the actor id of the sandstorm that caught the leader.
#defineGAP (a, b) ((a) - (b) < 0 ? (b) - (a) : (a) - (b))How far apart two coordinates are.

Enumerations

NameDescription
enumanonymous enum { FLAG_SUHALLA_DESERT_FIRST_MAP_SANDSTORM_DOUSED, FLAG_SUHALLA … }Storms doused in the north and south halves, one flag per storm from the first.
enumanonymous enum { ACTOR_FIRST_SANDSTORM, ACTOR_FOURTH_SANDSTORM, ACTOR_LAST_SA … }The actors, numbering the actor placement rows of both halves of the desert from ACTOR_FIRST_PLACED.
enumSUHALLA_DESERT_METATILE_BEHAVIOR { METATILE_BEHAVIOR_SUHALLA_DESERT_IODEM_ASKS, METATILE_BEHAVI … }The metatile behaviors of the desert's step cues.
enumanonymous enum { ENCOUNTER_SLOT_TORNADO_LIZARD, ENCOUNTER_SLOT_STORM_LIZARD, … }The monster a doused storm lets loose, by its slot of ENCOUNTER_ZONE_SCRIPTED.
enumanonymous enum { SANDSTORM_CAPTURE_TICKS }Ticks a caught party spins before the storm carries it away.
enumanonymous enum { TREASURE_SPOT_PSYNERGY_STONE }The treasure spot of the Psynergy Stone hidden in the south half, at metatile (12, 71) on the plain, whose search row finds the stone (FIND_PSYNERGY_STONE).
enumanonymous enum { RAISED_CHASING_SANDSTORM_CATCHES, RAISED_SANDSTORM_CARRIES_P … }The scripts the storms raise.

Functions

NameDescription
static voidscSuhallaDesertSetUpFirstMapStorms (void)The north half's storms on entry: doused ones count as risen, and the rest start shrunk into the sand unless the party is coming back to where it was.
static voidscSuhallaDesertSetUpSecondMapStorms (void)The south half's storms on entry, as the north half's; the fourth is tinted red, and is already full size.
static voidscSuhallaDesertFightFlash (void)Talking to Flash, the Mars Djinni by the west cave mouth in the south half of Suhalla Desert (metatile (4, 43)), starts its battle.
static Sint32scSuhallaDesertClearActorSpriteAndCollisionFlags (ACTOR *actor)The first step of a storm's actor script: the storm casts no shadow and nothing bumps into it.
static Sint32scSuhallaDesertFlickerStorm (ACTOR *actor)The rest of a storm's actor script, run every tick: the storm's sprite is drawn one tick and not the next (ACTOR_SPRITE_ONE and ACTOR_SPRITE_NONE), so the whirlwind flickers, half there.
const SCENE_ENTRANCE *scGetEntrances (void)The six rooms share one entrance table.
const SCENE_EXIT_REGION *scGetExitRegions (void)The scene has no exit regions: its regions entry returns none.
const Uint32 *scGetExits (void)Where each exit of the three scenes leads.
const ACTOR_PLACE *scGetActorPlacements (void)The storms, Iodem, and in the south half Flash and the pillar Reveal shows.
static voidscSuhallaDesertUpdateCaptureTimer (void)Each tick while caught, spins the leader round and counts down to the storm carrying the party away (RAISED_SANDSTORM_CARRIES_PARTY_AWAY).
static voidscSuhallaDesertCatchInStorm (Sint32 stormId)The leader walks into a storm: he is drawn to its centre, looking about, and lifted spinning into the air with the roar of the wind.
static voidscSuhallaDesertCaughtByFirstStorm (void)Walking into the sandstorm on the west path near the top of Suhalla Desert's north half (metatile (3, 16)), or the one in the west way north out of the south half's long valley toward the Cookie's chest (metatile (13, 20)), gets the party caught up in it.
static voidscSuhallaDesertCaughtBySecondStorm (void)Walking into the sandstorm on the east path near the top of Suhalla Desert's north half, toward the Virtuous Armlet's chest (metatile (28, 16)), or the one in the middle way north out of the south half's long valley (metatile (18, 20)), gets the party caught up in it.
static voidscSuhallaDesertCaughtByThirdStorm (void)Walking into the sandstorm in the south-west of Suhalla Desert's north half (metatile (7, 43)), or the one in the east way north out of the south half's long valley toward the Lucky Medal's chest (metatile (25, 20)), gets the party caught up in it.
static voidscSuhallaDesertCaughtByFourthStorm (void)Walking into the sandstorm beside the Mimic's chest in the south of Suhalla Desert's north half (metatile (16, 43)), or into the great red storm in the hollow by the south half's east cave mouth (metatiles (24, 37) to (24, 40)), gets the party caught up in it.
static voidscSuhallaDesertCaughtByFifthStorm (void)Walking into the sandstorm in the south-east of Suhalla Desert's north half (metatile (27, 45)) gets the party caught up in it, and so does the storm chasing the party across the south half's plain when it reaches a leader on the move (RAISED_CHASING_SANDSTORM_CATCHES).
static voidscSuhallaDesertRaiseStorm (Sint32 stormId)Stepping next to a storm makes a white whirlwind rise out of the sand with a roar, growing to full size in about a quarter of a second, and the first time the air fills with blowing sand.
static voidscSuhallaDesertFirstStormRises (void)Stepping next to the hidden storm on the west path near the top of Suhalla Desert's north half (metatiles (3, 15) and (3, 17)), or the one in the west way out of the south half's long valley (metatiles (13, 19) and (13, 21)), makes it rise.
static voidscSuhallaDesertSecondStormRises (void)Stepping next to the hidden storm on the east path near the top of Suhalla Desert's north half (metatiles (28, 15) and (28, 17)), or the one in the middle way out of the south half's long valley (metatiles (18, 19) and (18, 21)), makes it rise.
static voidscSuhallaDesertThirdStormRises (void)
static voidscSuhallaDesertFourthStormRises (void)Stepping next to the hidden storm beside the Mimic's chest in the south of Suhalla Desert's north half (metatiles (16, 42) and (16, 44)) makes it rise.
static voidscSuhallaDesertFifthStormRises (void)Stepping next to the hidden storm in the south-east of Suhalla Desert's north half (metatiles (27, 44) and (27, 46)) makes it rise.
static voidscSuhallaDesertIodemAsksWhetherToPressOn (void)Near the way out of Suhalla Desert's south half, in its south-east corner (metatile (27, 79)), Iodem steps out of the party: Sheba is nowhere to be found, should they search the desert once more or press on to Lalivero?
static Sint32scSuhallaDesertChaseLeader (ACTOR *actor)The chasing storm's script: it speeds after the leader, throwing up sand, and once it reaches a leader on the move it catches him.
static voidscSuhallaDesertStormGivesChase (void)Crossing the wide plain in the south of Suhalla Desert's south half (metatiles (18, 48) to (18, 52), (22, 51) to (22, 52), or (14, 62) to (21, 62)) sets a storm chasing the party from beside the half-buried stone head (metatile (7, 51)), until it has been doused.
static voidscSuhallaDesertDouseCastAtStorm (void)Casting Douse while a sandstorm in Suhalla Desert holds the party makes the rain fall on the storm from above.
static voidscSuhallaDesertDouseStorm (Sint32 unused, Sint32 stormId)Douse on a sandstorm in Suhalla Desert that holds the party stops it, and the monster inside attacks: a Tornado Lizard, or the Tempest Lizard in the red storm by the south half's east cave mouth, or the Storm Lizard in the storm that chased the party across the plain.
static voidscSuhallaDesertStormCarriesPartyAway (void)When a sandstorm in Suhalla Desert has held the party for three seconds without being doused, it rises with them faster and faster out of sight, the screen closes, and the party drops onto the World Map outside Suhalla.
static voidscSuhallaDesertPulseRevealPalette (void)While Reveal lasts, one colour of the desert's picture pulses grey, brightening and dimming about once a second.
static Sint32scSuhallaDesertRevealEnds (void)When Reveal wears off in Suhalla Desert's south half, the stone pillar in the pit east of Flash (metatile (15, 44)) disappears again, and the Psynergy Stone on the plain (metatile (12, 71)) can no longer be found.
static UNREAD_RESULTscSuhallaDesertRevealStarts (void)Reveal in Suhalla Desert's south half shows a stone pillar standing in the pit east of Flash (metatile (15, 44)), to hop across while Reveal lasts, and lets the party find a Psynergy Stone hidden on the plain (metatile (12, 71)).
const CUE *scGetCues (void)The caves' exits, or the storms, Iodem, treasure and Reveal of the two halves.
Sint32scInit (void)Sets a part of the desert up as the party enters: a party still held by a storm (after the menu) goes on spinning, what Reveal shows is hidden, the storms that are left start shrunk into the sand, and the blowing sand is shown only if a storm has already risen.

Variables

NameDescription
extern SCENE_ENTRANCESuhallaDesertEntrancesOther []
extern SCENE_ENTRANCESuhallaDesertNorthEntrances []
extern SCENE_ENTRANCESuhallaDesertSouthEntrances []
extern SCENE_ENTRANCESuhallaDesertCavesEntrances []
extern Uint32SuhallaDesertExits []
extern ACTOR_PLACESuhallaDesertActorPlacementsOther []
extern ACTOR_PLACESuhallaDesertNorthActorPlacements []
extern ACTOR_PLACESuhallaDesertSouthActorPlacements []
extern ACTOR_PLACESuhallaDesertCavesActorPlacements []
extern Sint32SuhallaDesertChaseScript []
extern CUESuhallaDesertCuesOther []The scripts of the desert's two halves, in one table.
extern CUESuhallaDesertCavesCues []
static Uint16SuhallaDesertSavedColorThe colour Reveal pulses, as it was before Reveal, put back as it ends.
const Sint32 *FieldEffectDurationScripts []The resident copy of the scripts EFFECT_SCRIPT_MASK picks, by enum EFFECT_DURATION.
Sint32SuhallaDesertStormScript []
Sint32SuhallaDesertFourthStormScript []

Description

Suhalla Desert, the desert of sandstorms between Suhalla and Suhalla Gate, which the party crosses with Iodem after Babi's audience while Sheba is missing in it.

Three scenes share this overlay and the area name Suhalla Desert:

  • The north half (SceneIdSuhallaDesertNorth), entered from the World Map just south of Suhalla at the top of the map. Five sandstorms lie in wait: on the west path and on the east path toward the Virtuous Armlet's chest near the top, and three in the south, the middle one beside the chest the Mimic hides in. The way on leaves by the map's south-west edge.
  • The south half (SceneIdSuhallaDesertSouth), entered at its east side. A long valley ends in three ways north, each with a storm: the west way to a chest with a Cookie, the east way to a chest with a Lucky Medal. Below lie two cave mouths: by the west one Flash, the Mars Djinni, is reached over a pit with a pillar Reveal shows, and the east one opens into a hollow where a great red storm turns. Across the wide plain south, past a half-buried stone head, a storm gives chase, and near the way out in the south-east Iodem asks whether to search on for Sheba (scSuhallaDesertIodemAsksWhetherToPressOn, FLAG_SUHALLA_DESERT_TALKED_OF_SHEBA).
  • The caves under the south half (SceneIdSuhallaDesertCaves), which join its west cave mouth to the hollow of the red storm. They place nothing.

One exit table and, for the two halves, one cue table serve the overlay. The exits in that cue table keep their numbers, which each half's exit rows lead its own way.

The storms, ACTOR_FIRST_SANDSTORM to ACTOR_LAST_SANDSTORM in both halves, start shrunk to nothing in the sand. Stepping next to one (the metatiles north and south of it) makes a white whirlwind rise there with a roar (scSuhallaDesertRaiseStorm); the first time, blowing sand fills the air. That haze is BG1 blended over the rest (SUHALLA_DESERT_HAZE_BLEND). The first storm to rise while Iodem travels with the party brings him out to warn of them.

Walking into a storm draws the leader to its centre and lifts the party, spinning, for SANDSTORM_CAPTURE_TICKS (scSuhallaDesertCatchInStorm).

Douse in that time stops the storm, and the monster in it attacks: a Tornado Lizard, or the Tempest Lizard in the red storm and the Storm Lizard in the storm that gives chase (scSuhallaDesertDouseStorm). Otherwise the storm carries the party up out of sight and drops it on the World Map outside Suhalla (scSuhallaDesertStormCarriesPartyAway), which is why everyone the storms catch winds up there; the red storm drops it far off, near Crossbone Isle.

A doused storm's flag is an area flag, five from FLAG_SUHALLA_DESERT_FIRST_MAP_SANDSTORM_DOUSED and five from FLAG_SUHALLA_DESERT_SECOND_MAP_SANDSTORM_DOUSED, so the storm stays gone until the party leaves the desert's area. The chasing storm, once doused, is gone for good (FLAG_SUHALLA_DESERT_CHASING_SANDSTORM_DOUSED).

Its scene flags:

Macros in detail

SUHALLA_DESERT_HAZE_BLEND

#define SUHALLA_DESERT_HAZE_BLEND

The sand haze, which is BG1 blended over every layer.

Its weight rises from 0 to BLEND_WEIGHT_MAX as the first storm rises.

Referenced by scSuhallaDesertSetUpFirstMapStorms() and scSuhallaDesertSetUpSecondMapStorms().

Definition at line 226 of file suhalla_desert.c.

SUHALLA_REVEAL_PALETTE_COLOR

#define SUHALLA_REVEAL_PALETTE_COLOR BG_PLTT_COLOR(12, 15)

The colour Reveal pulses, the last of BG palette 12.

Referenced by scInit(), scSuhallaDesertPulseRevealPalette() and scSuhallaDesertRevealEnds().

Definition at line 236 of file suhalla_desert.c.

AREA_LALIVERO

#define AREA_LALIVERO 55

Lalivero's area, whose FLAG_AREA_VISITED says the party has been there (MapScreenAreaMarkers marks it at SCENE_LALIVERO).

Referenced by scSuhallaDesertIodemAsksWhetherToPressOn().

Definition at line 240 of file suhalla_desert.c.

FLAG_SUHALLA_DESERT_FIRST_SANDSTORM_RISEN

#define FLAG_SUHALLA_DESERT_FIRST_SANDSTORM_RISEN FLAG_SCENE_TEMP(0x06)

The first sandstorm (ACTOR_FIRST_SANDSTORM) has risen on this visit.

The four flags after it are the next four sandstorms'.

Referenced by scSuhallaDesertRaiseStorm(), scSuhallaDesertSetUpFirstMapStorms(), scSuhallaDesertSetUpSecondMapStorms() and SuhallaDesertCuesOther.

Definition at line 248 of file suhalla_desert.c.

FLAG_SUHALLA_DESERT_SECOND_SANDSTORM_RISEN

#define FLAG_SUHALLA_DESERT_SECOND_SANDSTORM_RISEN FLAG_SCENE_TEMP(0x07)

The second sandstorm has risen on this visit.

Referenced by scSuhallaDesertSetUpFirstMapStorms(), scSuhallaDesertSetUpSecondMapStorms() and SuhallaDesertCuesOther.

Definition at line 250 of file suhalla_desert.c.

FLAG_SUHALLA_DESERT_THIRD_SANDSTORM_RISEN

#define FLAG_SUHALLA_DESERT_THIRD_SANDSTORM_RISEN FLAG_SCENE_TEMP(0x08)

The third sandstorm has risen on this visit.

Referenced by scSuhallaDesertSetUpFirstMapStorms(), scSuhallaDesertSetUpSecondMapStorms() and SuhallaDesertCuesOther.

Definition at line 252 of file suhalla_desert.c.

FLAG_SUHALLA_DESERT_FOURTH_SANDSTORM_RISEN

#define FLAG_SUHALLA_DESERT_FOURTH_SANDSTORM_RISEN FLAG_SCENE_TEMP(0x09)

The fourth sandstorm (ACTOR_FOURTH_SANDSTORM) has risen on this visit.

Referenced by scSuhallaDesertSetUpFirstMapStorms() and SuhallaDesertCuesOther.

Definition at line 254 of file suhalla_desert.c.

FLAG_SUHALLA_DESERT_FIFTH_SANDSTORM_RISEN

#define FLAG_SUHALLA_DESERT_FIFTH_SANDSTORM_RISEN FLAG_SCENE_TEMP(0x0a)

The fifth sandstorm (ACTOR_LAST_SANDSTORM) has risen on this visit.

Referenced by scSuhallaDesertSetUpFirstMapStorms() and SuhallaDesertCuesOther.

Definition at line 256 of file suhalla_desert.c.

FLAG_SUHALLA_DESERT_CHASING_SANDSTORM_SET_OFF

#define FLAG_SUHALLA_DESERT_CHASING_SANDSTORM_SET_OFF FLAG_SCENE_TEMP(0x0e)

In the south half, the sandstorm that gives chase has set off after the leader.

Referenced by scSuhallaDesertStormGivesChase() and SuhallaDesertCuesOther.

Definition at line 259 of file suhalla_desert.c.

FLAG_SUHALLA_DESERT_CAUGHT_IN_SANDSTORM

#define FLAG_SUHALLA_DESERT_CAUGHT_IN_SANDSTORM FLAG_SCENE_TEMP(0x0f)

A sandstorm has caught the leader and lifts the party, and Douse can put it out.

Referenced by scSuhallaDesertCatchInStorm(), scSuhallaDesertDouseStorm() and SuhallaDesertCuesOther.

Definition at line 262 of file suhalla_desert.c.

FLAG_SUHALLA_DESERT_CAPTURE_TICKS_LEFT

#define FLAG_SUHALLA_DESERT_CAPTURE_TICKS_LEFT FLAG_SCENE_TEMP(0x10)

A byte flag that holds the ticks left before the sandstorm that caught the leader carries the party away.

Referenced by scInit(), scSuhallaDesertCatchInStorm(), scSuhallaDesertDouseStorm() and scSuhallaDesertUpdateCaptureTimer().

Definition at line 265 of file suhalla_desert.c.

FLAG_SUHALLA_DESERT_CATCHING_SANDSTORM

#define FLAG_SUHALLA_DESERT_CATCHING_SANDSTORM FLAG_SCENE_TEMP(0x18)

A byte flag that holds the actor id of the sandstorm that caught the leader.

Referenced by scSuhallaDesertCatchInStorm() and scSuhallaDesertStormCarriesPartyAway().

Definition at line 267 of file suhalla_desert.c.

GAP

#define GAP(a, b) ((a) - (b) < 0 ? (b) - (a) : (a) - (b))

How far apart two coordinates are.

Referenced by scSuhallaDesertChaseLeader().

Definition at line 672 of file suhalla_desert.c.

Enumerations in detail

anonymous enum

enum { FLAG_SUHALLA_DESERT_FIRST_MAP_SANDSTORM_DOUSED, FLAG_SUHALLA_DESERT_SECOND_MAP_SANDSTORM_DOUSED, FLAG_SUHALLA_DESERT_SANDSTORMS_RISEN, FLAG_SUHALLA_DESERT_PSYNERGY_STONE }

Storms doused in the north and south halves, one flag per storm from the first.

Each storm stays away once doused.

EnumeratorValueDescription
FLAG_SUHALLA_DESERT_FIRST_MAP_SANDSTORM_DOUSEDFLAG_AREA_TEMP(0x01)The
FLAG_SUHALLA_DESERT_SECOND_MAP_SANDSTORM_DOUSEDFLAG_AREA_TEMP(0x11)north half's storms, five from this one. The south half's
FLAG_SUHALLA_DESERT_SANDSTORMS_RISENFLAG_AREA_TEMP(0x40)storms, five from this one. A storm has risen, so the sand haze stays faded in.
FLAG_SUHALLA_DESERT_PSYNERGY_STONEFLAG_AREA_TEMP(0x51)The Psynergy Stone has been found, an area flag.

Definition at line 97 of file suhalla_desert.c.

anonymous enum

enum { ACTOR_FIRST_SANDSTORM, ACTOR_FOURTH_SANDSTORM, ACTOR_LAST_SANDSTORM, ACTOR_CHASING_SANDSTORM, … }

The actors, numbering the actor placement rows of both halves of the desert from ACTOR_FIRST_PLACED.

The caves place none.

EnumeratorValueDescription
ACTOR_FIRST_SANDSTORMACTOR_FIRST_PLACEDThe storms, five in each half.
ACTOR_FOURTH_SANDSTORMACTOR_FIRST_SANDSTORM + 3In the south half,
ACTOR_LAST_SANDSTORMACTOR_FIRST_SANDSTORM + 4the great red storm in the hollow by the east cave mouth, which holds the Tempest Lizard.
ACTOR_CHASING_SANDSTORMACTOR_LAST_SANDSTORMIn the south half the last storm waits off the map until it gives chase across the plain. It holds the Storm Lizard.
ACTOR_IODEMIodem, who steps out of the party to talk and then rejoins it.
ACTOR_REVEALED_PILLARIn the south half, the stone pillar Reveal shows in the pit east of Flash, drawn as Goma Cave's stone pillars.
ACTOR_FLASHIn the south half, Flash, the Mars Djinni, by the west cave mouth.

Definition at line 123 of file suhalla_desert.c.

SUHALLA_DESERT_METATILE_BEHAVIOR

enum SUHALLA_DESERT_METATILE_BEHAVIOR

The metatile behaviors of the desert's step cues.

EnumeratorValueDescription
METATILE_BEHAVIOR_SUHALLA_DESERT_IODEM_ASKS9Near the south half's way out, where Iodem asks whether to press on.
METATILE_BEHAVIOR_SUHALLA_DESERT_NORTH_STORM41A storm's own metatile in the north half, one behavior per storm from the first.
METATILE_BEHAVIOR_SUHALLA_DESERT_SOUTH_STORM51A storm's own
METATILE_BEHAVIOR_SUHALLA_DESERT_NEAR_NORTH_STORM61metatiles in the south half, one behavior per storm from the first; the fourth is the red storm's. The metatiles north
METATILE_BEHAVIOR_SUHALLA_DESERT_NEAR_SOUTH_STORM71and south of a storm in the north half, which raise it. The metatiles north and south of a storm in the south half, which raise it.
METATILE_BEHAVIOR_SUHALLA_DESERT_STORM_CHASES81The metatiles across the south half's plain that set a storm chasing.

Definition at line 156 of file suhalla_desert.c.

anonymous enum

enum { ENCOUNTER_SLOT_TORNADO_LIZARD, ENCOUNTER_SLOT_STORM_LIZARD, ENCOUNTER_SLOT_TEMPEST_LIZARD }

The monster a doused storm lets loose, by its slot of ENCOUNTER_ZONE_SCRIPTED.

EnumeratorValueDescription
ENCOUNTER_SLOT_TORNADO_LIZARD5
ENCOUNTER_SLOT_STORM_LIZARD6in the storm that gives chase
ENCOUNTER_SLOT_TEMPEST_LIZARD7in the great red storm

Definition at line 188 of file suhalla_desert.c.

anonymous enum

enum { SANDSTORM_CAPTURE_TICKS }

Ticks a caught party spins before the storm carries it away.

EnumeratorValueDescription
SANDSTORM_CAPTURE_TICKS180

Definition at line 196 of file suhalla_desert.c.

anonymous enum

enum { TREASURE_SPOT_PSYNERGY_STONE }

The treasure spot of the Psynergy Stone hidden in the south half, at metatile (12, 71) on the plain, whose search row finds the stone (FIND_PSYNERGY_STONE).

Its actor stands in its metatile only while Reveal lasts (scSuhallaDesertRevealStarts moves it to the metatile's centre). It is moved off the map as Reveal ends.

EnumeratorValueDescription
TREASURE_SPOT_PSYNERGY_STONE100

Definition at line 208 of file suhalla_desert.c.

anonymous enum

enum { RAISED_CHASING_SANDSTORM_CATCHES, RAISED_SANDSTORM_CARRIES_PARTY_AWAY }

The scripts the storms raise.

Either the spinning has run out, or the chasing storm has reached the moving leader.

EnumeratorValueDescription
RAISED_CHASING_SANDSTORM_CATCHES55
RAISED_SANDSTORM_CARRIES_PARTY_AWAY99

Definition at line 217 of file suhalla_desert.c.

Functions in detail

scSuhallaDesertSetUpFirstMapStorms

static void scSuhallaDesertSetUpFirstMapStorms(void)

The north half's storms on entry: doused ones count as risen, and the rest start shrunk into the sand unless the party is coming back to where it was.

References fdActorGet(), fdQueueMusic(), gmFlagGet(), gmFlagSet() and Sint32.

Referenced by scInit().

Definition at lines 229 and 1010 of file suhalla_desert.c.

scSuhallaDesertSetUpSecondMapStorms

static void scSuhallaDesertSetUpSecondMapStorms(void)

The south half's storms on entry, as the north half's; the fourth is tinted red, and is already full size.

References fdActorGet(), fdQueueMusic(), gmFlagGet(), gmFlagSet() and Sint32.

Referenced by scInit().

Definition at lines 230 and 1067 of file suhalla_desert.c.

scSuhallaDesertFightFlash

static void scSuhallaDesertFightFlash(void)

Talking to Flash, the Mars Djinni by the west cave mouth in the south half of Suhalla Desert (metatile (4, 43)), starts its battle.

The party reaches it by hopping across the pit on the pillar Reveal shows.

References fdRequestDjinnBattle().

Referenced by SuhallaDesertCuesOther.

Definition at line 273 of file suhalla_desert.c.

scSuhallaDesertClearActorSpriteAndCollisionFlags

static Sint32 scSuhallaDesertClearActorSpriteAndCollisionFlags(ACTOR *actor)

The first step of a storm's actor script: the storm casts no shadow and nothing bumps into it.

References fdActorSetSpriteFlags() and Sint32.

Referenced by SuhallaDesertFourthStormScript and SuhallaDesertStormScript.

Definition at line 280 of file suhalla_desert.c.

scSuhallaDesertFlickerStorm

static Sint32 scSuhallaDesertFlickerStorm(ACTOR *actor)

The rest of a storm's actor script, run every tick: the storm's sprite is drawn one tick and not the next (ACTOR_SPRITE_ONE and ACTOR_SPRITE_NONE), so the whirlwind flickers, half there.

References Sint32.

Referenced by SuhallaDesertFourthStormScript and SuhallaDesertStormScript.

Definition at line 290 of file suhalla_desert.c.

scGetEntrances

const SCENE_ENTRANCE *scGetEntrances(void)

References MainRoutineStateWork, SuhallaDesertCavesEntrances, SuhallaDesertEntrancesOther, SuhallaDesertNorthEntrances and SuhallaDesertSouthEntrances.

Definition at line 296 of file suhalla_desert.c.

scGetExitRegions

const SCENE_EXIT_REGION *scGetExitRegions(void)

Definition at line 315 of file suhalla_desert.c.

scGetExits

const Uint32 *scGetExits(void)

Where each exit of the three scenes leads.

References SuhallaDesertExits.

Definition at line 321 of file suhalla_desert.c.

scGetActorPlacements

const ACTOR_PLACE *scGetActorPlacements(void)

The storms, Iodem, and in the south half Flash and the pillar Reveal shows.

References MainRoutineStateWork, SuhallaDesertActorPlacementsOther, SuhallaDesertCavesActorPlacements, SuhallaDesertNorthActorPlacements and SuhallaDesertSouthActorPlacements.

Definition at line 327 of file suhalla_desert.c.

scSuhallaDesertUpdateCaptureTimer

static void scSuhallaDesertUpdateCaptureTimer(void)

Each tick while caught, spins the leader round and counts down to the storm carrying the party away (RAISED_SANDSTORM_CARRIES_PARTY_AWAY). The count stands still while the menu is open.

References fdActorGet(), gmFlagGet(), MainRoutineStateWork, scFieldGameFlagGetByte(), scFieldGameFlagSetByte(), Sint32, state and TickCount.

Referenced by scInit() and scSuhallaDesertCatchInStorm().

Definition at line 349 of file suhalla_desert.c.

scSuhallaDesertCatchInStorm

static void scSuhallaDesertCatchInStorm(Sint32 stormId)

The leader walks into a storm: he is drawn to its centre, looking about, and lifted spinning into the air with the roar of the wind.

Until the count runs out, Douse can still stop it.

References fdActorGet(), fdActorSetAnimation(), fdActorSetAttachedEffect(), fdActorSetDestination(), fdActorWaitForMoveById(), fdScriptEnd(), fdScriptGetFlag(), fdScriptStart(), gmFlagSet(), MainRoutineStateWork, scFieldActorSetMoveTargetFX(), scFieldGameFlagSetByte(), scSuhallaDesertUpdateCaptureTimer(), Sint32, sySetTickEvent() and sySoundPlay().

Referenced by scSuhallaDesertCaughtByFifthStorm(), scSuhallaDesertCaughtByFirstStorm(), scSuhallaDesertCaughtByFourthStorm(), scSuhallaDesertCaughtBySecondStorm() and scSuhallaDesertCaughtByThirdStorm().

Definition at line 380 of file suhalla_desert.c.

scSuhallaDesertCaughtByFirstStorm

static void scSuhallaDesertCaughtByFirstStorm(void)

Walking into the sandstorm on the west path near the top of Suhalla Desert's north half (metatile (3, 16)), or the one in the west way north out of the south half's long valley toward the Cookie's chest (metatile (13, 20)), gets the party caught up in it.

References scSuhallaDesertCatchInStorm().

Referenced by SuhallaDesertCuesOther.

Definition at line 428 of file suhalla_desert.c.

scSuhallaDesertCaughtBySecondStorm

static void scSuhallaDesertCaughtBySecondStorm(void)

Walking into the sandstorm on the east path near the top of Suhalla Desert's north half, toward the Virtuous Armlet's chest (metatile (28, 16)), or the one in the middle way north out of the south half's long valley (metatile (18, 20)), gets the party caught up in it.

References scSuhallaDesertCatchInStorm().

Referenced by SuhallaDesertCuesOther.

Definition at line 437 of file suhalla_desert.c.

scSuhallaDesertCaughtByThirdStorm

static void scSuhallaDesertCaughtByThirdStorm(void)

Walking into the sandstorm in the south-west of Suhalla Desert's north half (metatile (7, 43)), or the one in the east way north out of the south half's long valley toward the Lucky Medal's chest (metatile (25, 20)), gets the party caught up in it.

References scSuhallaDesertCatchInStorm().

Referenced by SuhallaDesertCuesOther.

Definition at line 446 of file suhalla_desert.c.

scSuhallaDesertCaughtByFourthStorm

static void scSuhallaDesertCaughtByFourthStorm(void)

Walking into the sandstorm beside the Mimic's chest in the south of Suhalla Desert's north half (metatile (16, 43)), or into the great red storm in the hollow by the south half's east cave mouth (metatiles (24, 37) to (24, 40)), gets the party caught up in it.

References scSuhallaDesertCatchInStorm().

Referenced by SuhallaDesertCuesOther.

Definition at line 455 of file suhalla_desert.c.

scSuhallaDesertCaughtByFifthStorm

static void scSuhallaDesertCaughtByFifthStorm(void)

Walking into the sandstorm in the south-east of Suhalla Desert's north half (metatile (27, 45)) gets the party caught up in it, and so does the storm chasing the party across the south half's plain when it reaches a leader on the move (RAISED_CHASING_SANDSTORM_CATCHES).

References scSuhallaDesertCatchInStorm().

Referenced by SuhallaDesertCuesOther.

Definition at line 464 of file suhalla_desert.c.

scSuhallaDesertRaiseStorm

static void scSuhallaDesertRaiseStorm(Sint32 stormId)

Stepping next to a storm makes a white whirlwind rise out of the sand with a roar, growing to full size in about a quarter of a second, and the first time the air fills with blowing sand.

The first time a storm rises while Iodem travels with the party, he steps out, cries "A sandstorm!", and warns that they must step carefully.

References fdActorFaceDirection(), fdActorGet(), fdActorRunRepeatedMotion(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetPosFX(), fdActorShowEmote(), fdActorWalkTo(), fdActorWalkToAndWait(), fdScriptEnd(), fdScriptGetFlag(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptStart(), fdScriptWait(), gmFlagGet(), gmFlagSet(), MainRoutineStateWork, scWalkIntoLeader(), Sint32, sySoundPlay() and sySynch().

Referenced by scSuhallaDesertFifthStormRises(), scSuhallaDesertFirstStormRises(), scSuhallaDesertFourthStormRises(), scSuhallaDesertSecondStormRises() and scSuhallaDesertThirdStormRises().

Definition at line 475 of file suhalla_desert.c.

scSuhallaDesertFirstStormRises

static void scSuhallaDesertFirstStormRises(void)

Stepping next to the hidden storm on the west path near the top of Suhalla Desert's north half (metatiles (3, 15) and (3, 17)), or the one in the west way out of the south half's long valley (metatiles (13, 19) and (13, 21)), makes it rise.

References scSuhallaDesertRaiseStorm().

Referenced by SuhallaDesertCuesOther.

Definition at line 564 of file suhalla_desert.c.

scSuhallaDesertSecondStormRises

static void scSuhallaDesertSecondStormRises(void)

Stepping next to the hidden storm on the east path near the top of Suhalla Desert's north half (metatiles (28, 15) and (28, 17)), or the one in the middle way out of the south half's long valley (metatiles (18, 19) and (18, 21)), makes it rise.

References scSuhallaDesertRaiseStorm().

Referenced by SuhallaDesertCuesOther.

Definition at line 573 of file suhalla_desert.c.

scSuhallaDesertThirdStormRises

static void scSuhallaDesertThirdStormRises(void)

Stepping next to the hidden storm in the south-west of Suhalla Desert's north
half (metatiles (7,
42) and (7, 44)), or the one in the east way out of the south half's long
    valley (metatiles (25,
19) and (25, 21)), makes it rise.

References scSuhallaDesertRaiseStorm().

Referenced by SuhallaDesertCuesOther.

Definition at line 583 of file suhalla_desert.c.

scSuhallaDesertFourthStormRises

static void scSuhallaDesertFourthStormRises(void)

Stepping next to the hidden storm beside the Mimic's chest in the south of Suhalla Desert's north half (metatiles (16, 42) and (16, 44)) makes it rise.

References scSuhallaDesertRaiseStorm().

Referenced by SuhallaDesertCuesOther.

Definition at line 590 of file suhalla_desert.c.

scSuhallaDesertFifthStormRises

static void scSuhallaDesertFifthStormRises(void)

Stepping next to the hidden storm in the south-east of Suhalla Desert's north half (metatiles (27, 44) and (27, 46)) makes it rise.

References scSuhallaDesertRaiseStorm().

Referenced by SuhallaDesertCuesOther.

Definition at line 597 of file suhalla_desert.c.

scSuhallaDesertIodemAsksWhetherToPressOn

static void scSuhallaDesertIodemAsksWhetherToPressOn(void)

Near the way out of Suhalla Desert's south half, in its south-east corner (metatile (27, 79)), Iodem steps out of the party: Sheba is nowhere to be found, should they search the desert once more or press on to Lalivero? Either way he decides to head for the guard gate ahead first.

It plays once, while Iodem travels with the party, after he has heard the wounded soldiers in Suhalla and before the party reaches Lalivero.

References fdActorFaceDirection(), fdActorGet(), fdActorRunRepeatedMotion(), fdActorSetAnimationAndWait(), fdActorSetPosFX(), fdActorShowEmote(), fdActorWalkToAndWait(), fdScriptAskYesNo(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptStart(), fdScriptWait(), gmFlagGet(), gmFlagSet() and scWalkIntoLeader().

Referenced by SuhallaDesertCuesOther.

Definition at line 609 of file suhalla_desert.c.

scSuhallaDesertChaseLeader

static Sint32 scSuhallaDesertChaseLeader(ACTOR *actor)

The chasing storm's script: it speeds after the leader, throwing up sand, and once it reaches a leader on the move it catches him.

It holds still while the field handles another script.

References fdActorGet(), fdActorSetSpriteFlags(), gmFlagGet(), MainRoutineStateWork, Sint32, state and TickCount.

Referenced by SuhallaDesertChaseScript.

Definition at line 678 of file suhalla_desert.c.

scSuhallaDesertStormGivesChase

static void scSuhallaDesertStormGivesChase(void)

Crossing the wide plain in the south of Suhalla Desert's south half (metatiles (18, 48) to (18, 52), (22, 51) to (22, 52), or (14, 62) to (21, 62)) sets a storm chasing the party from beside the half-buried stone head (metatile (7, 51)), until it has been doused.

References fdActorSetScript(), gmFlagGet(), gmFlagSet() and SuhallaDesertChaseScript.

Referenced by SuhallaDesertCuesOther.

Definition at line 742 of file suhalla_desert.c.

scSuhallaDesertDouseCastAtStorm

static void scSuhallaDesertDouseCastAtStorm(void)

Casting Douse while a sandstorm in Suhalla Desert holds the party makes the rain fall on the storm from above.

Referenced by SuhallaDesertCuesOther.

Definition at line 754 of file suhalla_desert.c.

scSuhallaDesertDouseStorm

static void scSuhallaDesertDouseStorm(Sint32 unused, Sint32 stormId)

Douse on a sandstorm in Suhalla Desert that holds the party stops it, and the monster inside attacks: a Tornado Lizard, or the Tempest Lizard in the red storm by the south half's east cave mouth, or the Storm Lizard in the storm that chased the party across the plain.

The storm stays gone until the party leaves the desert; the chasing storm is gone for good.

References fdActorGet(), fdActorStop(), fdRequestBattleFromEncounterTable(), gmFlagClear(), gmFlagSet(), MainRoutineStateWork, scFieldGameFlagSetByte() and Sint32.

Referenced by SuhallaDesertCuesOther.

Definition at line 768 of file suhalla_desert.c.

scSuhallaDesertStormCarriesPartyAway

static void scSuhallaDesertStormCarriesPartyAway(void)

When a sandstorm in Suhalla Desert has held the party for three seconds without being doused, it rises with them faster and faster out of sight, the screen closes, and the party drops onto the World Map outside Suhalla.

The red storm by the south half's east cave mouth drops them far off instead, near Crossbone Isle beside the World Map's own storm (WORLD_MAP_FROM_SUHALLA_DESERT_SANDSTORM).

References fdActorGet(), fdActorSetSpriteFlags(), fdScriptEnd(), fdScriptFinishScreenTransition(), fdScriptSetDestination(), fdScriptStart(), fdScriptWaitTransitionTicks(), gmFlagSet(), MainRoutineStateWork, scFieldGameFlagGetByte(), Sint32, sySoundPlay() and sySynch().

Referenced by SuhallaDesertCuesOther.

Definition at line 822 of file suhalla_desert.c.

scSuhallaDesertPulseRevealPalette

static void scSuhallaDesertPulseRevealPalette(void)

While Reveal lasts, one colour of the desert's picture pulses grey, brightening and dimming about once a second.

References TickCount.

Referenced by scSuhallaDesertRevealEnds() and scSuhallaDesertRevealStarts().

Definition at line 872 of file suhalla_desert.c.

scSuhallaDesertRevealEnds

static Sint32 scSuhallaDesertRevealEnds(void)

When Reveal wears off in Suhalla Desert's south half, the stone pillar in the pit east of Flash (metatile (15, 44)) disappears again, and the Psynergy Stone on the plain (metatile (12, 71)) can no longer be found.

The pillar's metatile takes back the attributes of the metatile east of it, and the stone's metatile is stashed away at (127, 127). The scene runs it on entry too, so both start hidden.

References fdActorGet(), fdMapGridCopyMetatileAttributes(), fdTreasureSpotSetPos(), MainRoutineStateWork, scSuhallaDesertPulseRevealPalette(), Sint32, SuhallaDesertSavedColor and syCloseEvent().

Referenced by scInit() and SuhallaDesertCuesOther.

Definition at line 902 of file suhalla_desert.c.

scSuhallaDesertRevealStarts

static UNREAD_RESULT scSuhallaDesertRevealStarts(void)

Reveal in Suhalla Desert's south half shows a stone pillar standing in the pit east of Flash (metatile (15, 44)), to hop across while Reveal lasts, and lets the party find a Psynergy Stone hidden on the plain (metatile (12, 71)).

The pillar's metatile takes the attributes of a spare metatile off the drawn map (31, 95), and the stone's metatile comes back from its stash.

References fdActorGet(), fdMapGridCopyMetatileAttributes(), fdTreasureSpotMoveLeaderAway(), fdTreasureSpotSetPos(), MainRoutineStateWork, scSuhallaDesertPulseRevealPalette() and sySetTickEvent().

Referenced by SuhallaDesertCuesOther.

Definition at line 935 of file suhalla_desert.c.

scGetCues

const CUE *scGetCues(void)

The caves' exits, or the storms, Iodem, treasure and Reveal of the two halves.

References MainRoutineStateWork, SuhallaDesertCavesCues and SuhallaDesertCuesOther.

Definition at line 958 of file suhalla_desert.c.

scInit

Sint32 scInit(void)

Sets a part of the desert up as the party enters: a party still held by a storm (after the menu) goes on spinning, what Reveal shows is hidden, the storms that are left start shrunk into the sand, and the blowing sand is shown only if a storm has already risen.

References MainRoutineStateWork, scFieldGameFlagGetByte(), scSuhallaDesertRevealEnds(), scSuhallaDesertSetUpFirstMapStorms(), scSuhallaDesertSetUpSecondMapStorms(), scSuhallaDesertUpdateCaptureTimer(), Sint32, SuhallaDesertSavedColor, sySetTickEvent() and sySoundPlay().

Definition at line 971 of file suhalla_desert.c.

Variables in detail

SuhallaDesertEntrancesOther

extern SCENE_ENTRANCE SuhallaDesertEntrancesOther[]

SCENE_ENTRANCE SuhallaDesertEntrancesOther[]

Referenced by scGetEntrances().

Definition at lines 80 and 1154 of file suhalla_desert.c.

SuhallaDesertNorthEntrances

extern SCENE_ENTRANCE SuhallaDesertNorthEntrances[]

SCENE_ENTRANCE SuhallaDesertNorthEntrances[]

Referenced by scGetEntrances().

Definition at lines 81 and 1167 of file suhalla_desert.c.

SuhallaDesertSouthEntrances

extern SCENE_ENTRANCE SuhallaDesertSouthEntrances[]

SCENE_ENTRANCE SuhallaDesertSouthEntrances[]

Referenced by scGetEntrances().

Definition at lines 82 and 1189 of file suhalla_desert.c.

SuhallaDesertCavesEntrances

extern SCENE_ENTRANCE SuhallaDesertCavesEntrances[]

SCENE_ENTRANCE SuhallaDesertCavesEntrances[]

Referenced by scGetEntrances().

Definition at lines 83 and 1229 of file suhalla_desert.c.

SuhallaDesertExits

extern Uint32 SuhallaDesertExits[]

Uint32 SuhallaDesertExits[]

Referenced by scGetExits().

Definition at lines 84 and 1269 of file suhalla_desert.c.

SuhallaDesertActorPlacementsOther

extern ACTOR_PLACE SuhallaDesertActorPlacementsOther[]

ACTOR_PLACE SuhallaDesertActorPlacementsOther[]

Referenced by scGetActorPlacements().

Definition at lines 85 and 1306 of file suhalla_desert.c.

SuhallaDesertNorthActorPlacements

extern ACTOR_PLACE SuhallaDesertNorthActorPlacements[]

ACTOR_PLACE SuhallaDesertNorthActorPlacements[]

References Sint32 and SuhallaDesertStormScript.

Referenced by scGetActorPlacements().

Definition at lines 86 and 1311 of file suhalla_desert.c.

SuhallaDesertSouthActorPlacements

extern ACTOR_PLACE SuhallaDesertSouthActorPlacements[]

ACTOR_PLACE SuhallaDesertSouthActorPlacements[]

References Sint32, SuhallaDesertFourthStormScript and SuhallaDesertStormScript.

Referenced by scGetActorPlacements().

Definition at lines 87 and 1331 of file suhalla_desert.c.

SuhallaDesertCavesActorPlacements

extern ACTOR_PLACE SuhallaDesertCavesActorPlacements[]

ACTOR_PLACE SuhallaDesertCavesActorPlacements[]

Referenced by scGetActorPlacements().

Definition at lines 88 and 1353 of file suhalla_desert.c.

SuhallaDesertChaseScript

extern Sint32 SuhallaDesertChaseScript[]

Sint32 SuhallaDesertChaseScript[]

References scSuhallaDesertChaseLeader() and Sint32.

Referenced by scSuhallaDesertStormGivesChase().

Definition at lines 89 and 1357 of file suhalla_desert.c.

SuhallaDesertCuesOther

extern CUE SuhallaDesertCuesOther[]

CUE SuhallaDesertCuesOther[]

The scripts of the desert's two halves, in one table.

Its exits keep their numbers, since each half's exit table gives them its own ways out. Exit 1 is SUHALLA_DESERT_NORTH_WORLD_MAP in the north half and SUHALLA_DESERT_SOUTH_SUHALLA_DESERT_NORTH in the south half.

References scSuhallaDesertCaughtByFifthStorm(), scSuhallaDesertCaughtByFirstStorm(), scSuhallaDesertCaughtByFourthStorm(), scSuhallaDesertCaughtBySecondStorm(), scSuhallaDesertCaughtByThirdStorm(), scSuhallaDesertDouseCastAtStorm(), scSuhallaDesertDouseStorm(), scSuhallaDesertFifthStormRises(), scSuhallaDesertFightFlash(), scSuhallaDesertFirstStormRises(), scSuhallaDesertFourthStormRises(), scSuhallaDesertIodemAsksWhetherToPressOn(), scSuhallaDesertRevealEnds(), scSuhallaDesertRevealStarts(), scSuhallaDesertSecondStormRises(), scSuhallaDesertStormCarriesPartyAway(), scSuhallaDesertStormGivesChase() and scSuhallaDesertThirdStormRises().

Referenced by scGetCues().

Definition at lines 90 and 1367 of file suhalla_desert.c.

SuhallaDesertCavesCues

extern CUE SuhallaDesertCavesCues[]

CUE SuhallaDesertCavesCues[]

Referenced by scGetCues().

Definition at lines 91 and 1474 of file suhalla_desert.c.

SuhallaDesertSavedColor

static Uint16 SuhallaDesertSavedColor

The colour Reveal pulses, as it was before Reveal, put back as it ends.

Referenced by scInit() and scSuhallaDesertRevealEnds().

Definition at line 233 of file suhalla_desert.c.

FieldEffectDurationScripts

const Sint32 *FieldEffectDurationScripts[]

References FieldEffectLongScript, FieldEffectMediumScript, FieldEffectShortScript and Sint32.

Definition at line 1136 of file suhalla_desert.c.

SuhallaDesertStormScript

Sint32 SuhallaDesertStormScript[]

References scSuhallaDesertClearActorSpriteAndCollisionFlags(), scSuhallaDesertFlickerStorm() and Sint32.

Referenced by SuhallaDesertNorthActorPlacements and SuhallaDesertSouthActorPlacements.

Definition at line 1142 of file suhalla_desert.c.

SuhallaDesertFourthStormScript

Sint32 SuhallaDesertFourthStormScript[]

References scSuhallaDesertClearActorSpriteAndCollisionFlags(), scSuhallaDesertFlickerStorm() and Sint32.

Referenced by SuhallaDesertSouthActorPlacements.

Definition at line 1148 of file suhalla_desert.c.

On this page

MacrosEnumerationsFunctionsVariablesDescriptionMacros in detailSUHALLA_DESERT_HAZE_BLENDSUHALLA_REVEAL_PALETTE_COLORAREA_LALIVEROFLAG_SUHALLA_DESERT_FIRST_SANDSTORM_RISENFLAG_SUHALLA_DESERT_SECOND_SANDSTORM_RISENFLAG_SUHALLA_DESERT_THIRD_SANDSTORM_RISENFLAG_SUHALLA_DESERT_FOURTH_SANDSTORM_RISENFLAG_SUHALLA_DESERT_FIFTH_SANDSTORM_RISENFLAG_SUHALLA_DESERT_CHASING_SANDSTORM_SET_OFFFLAG_SUHALLA_DESERT_CAUGHT_IN_SANDSTORMFLAG_SUHALLA_DESERT_CAPTURE_TICKS_LEFTFLAG_SUHALLA_DESERT_CATCHING_SANDSTORMGAPEnumerations in detailanonymous enumanonymous enumSUHALLA_DESERT_METATILE_BEHAVIORanonymous enumanonymous enumanonymous enumanonymous enumFunctions in detailscSuhallaDesertSetUpFirstMapStormsscSuhallaDesertSetUpSecondMapStormsscSuhallaDesertFightFlashscSuhallaDesertClearActorSpriteAndCollisionFlagsscSuhallaDesertFlickerStormscGetEntrancesscGetExitRegionsscGetExitsscGetActorPlacementsscSuhallaDesertUpdateCaptureTimerscSuhallaDesertCatchInStormscSuhallaDesertCaughtByFirstStormscSuhallaDesertCaughtBySecondStormscSuhallaDesertCaughtByThirdStormscSuhallaDesertCaughtByFourthStormscSuhallaDesertCaughtByFifthStormscSuhallaDesertRaiseStormscSuhallaDesertFirstStormRisesscSuhallaDesertSecondStormRisesscSuhallaDesertThirdStormRisesscSuhallaDesertFourthStormRisesscSuhallaDesertFifthStormRisesscSuhallaDesertIodemAsksWhetherToPressOnscSuhallaDesertChaseLeaderscSuhallaDesertStormGivesChasescSuhallaDesertDouseCastAtStormscSuhallaDesertDouseStormscSuhallaDesertStormCarriesPartyAwayscSuhallaDesertPulseRevealPalettescSuhallaDesertRevealEndsscSuhallaDesertRevealStartsscGetCuesscInitVariables in detailSuhallaDesertEntrancesOtherSuhallaDesertNorthEntrancesSuhallaDesertSouthEntrancesSuhallaDesertCavesEntrancesSuhallaDesertExitsSuhallaDesertActorPlacementsOtherSuhallaDesertNorthActorPlacementsSuhallaDesertSouthActorPlacementsSuhallaDesertCavesActorPlacementsSuhallaDesertChaseScriptSuhallaDesertCuesOtherSuhallaDesertCavesCuesSuhallaDesertSavedColorFieldEffectDurationScriptsSuhallaDesertStormScriptSuhallaDesertFourthStormScript