Skip to Content
The Alchemy Project

src/scene/shared

Guide: Scene Overlays

Files

FileDescription
actor_aim_at_watched.c
actor_animate.c
actor_attach.c
actor_blink.c
actor_bob.c
actor_create_silhouette.cCreating an actor as a black silhouette.
actor_cycle_pictures.c
actor_drop_and_wait.c
actor_emit_mist.c
actor_emit_ripples.c
actor_emit_smoke.c
actor_emit_smoke_unused.c
actor_emit_sparkles.c
actor_find_at_metatile.cFinding the actor that stands in a metatile.
actor_flash_white.c
actor_freeze.c
actor_grow_down.c
actor_grow_up.c
actor_hide.c
actor_hold_during_script.c
actor_is_above.c
actor_is_beside.c
actor_is_facing_near.c
actor_is_touching.c
actor_launch_ahead.c
actor_park.c
actor_pop_question_marks.c
actor_pop_up.c
actor_pop_up_slow.c
actor_raise_from_metatile.c
actor_reset_scripted_for.c
actor_roll_and_crumble.cA rolling fireball, which four Mars Lighthouse rooms keep a copy of.
actor_scatter_crumbs.cThe crumbs a fireball throws off as it crumbles away (scActorRollAndCrumble), which three Mars Lighthouse rooms keep a copy of, over the flames' FLAME_HIT_STATE (scene/flame_throwers.h).
actor_set_metatile_open.c
actor_set_metatile_shape.c
actor_set_sprite_priority.cSetting an actor's sprite priority by hand.
actor_setup_scripted.c
actor_setup_scripted_for.c
actor_setup_scripted_part.c
actor_spawn_wading_splash.c
actor_start_scripted.c
actor_steer_by_pad.c
actor_step_to_watched.c
actor_stop_at_push_target.c
actor_stop_where_it_stands.cStopping an actor where it stands.
actor_take_place_of.c
actor_vent_bounce.cThe drift of a puff of mist a vent blows out, which Aqua Rock's inside and Taopo Swamp each include a copy of.
actor_wait_to_land.c
actor_wait_to_land_with_snd.c
actor_wait_until_landed.cWaiting for an actor to stop rising or falling.
actors_raise_metatiles.c
actors_set_hidden.c
actors_set_metatiles_open.c
beam_start.c
block_clear_metatiles.c
block_push_onto.c
blocks_mark_metatiles.c
camera_jitter.c
cracked_tile_crack.c
cracked_tile_drop_in.c
cracked_tile_fall.c
cracked_tile_find.c
cracked_tile_mask.cThe hole mask over the cracked tile the leader stands on, shared by the Jupiter and Mars Lighthouse rooms and the Anemos Inner Sanctum, each of which lists the metatiles its map watches in its own CrackedTiles.
cracked_tile_place_landing.c
cracked_tile_step.c
crumbling_pillar.cThe crumbling and pounded pillars of the Izumo Ruins and Dehkan Plateau: lists of (actor, flag) or (actor, kind, flag) entries ended by ACTOR_LIST_END, placed from their flags and stepped on, struck or pounded until they fall.
debris_script.cThe script of a thrown bit of rock, ice or earth, which the scenes that scatter debris keep a copy of: Gaia Rock's stone heads, Taopo Swamp's tremor, Mars Lighthouse's ice and rubble.
dust.cThe dust a crumbling pillar throws up around the leader.
dust_burst_script.cThe script of a cloud of dust that bursts from breaking stone (scDustBurst) and of a vent's puff, which the scenes with rubble and Taopo Swamp and Aqua Rock keep a copy of.
dust_scatter.c
dust_scatter_script.cThe script of a piece of rubble or a cloud of dust thrown out as stone breaks or a pillar crumbles, which Dehkan Plateau, the Izumo ruins, Magma Rock, the Trial Road and Tundaria Tower keep a copy of (scDustScatter).
emote_pop_tilted.c
field_effect_advance_motion_priority.cA field effect's motion each tick, drawn at the leader's priority.
field_effect_advance_spin.cA field effect's motion and spin each tick.
field_effect_duration_scripts.cThe three lifetimes scFieldEffectSpawn (field_effect_spawn.c) gives its effects through each scene's FieldEffectDurationScripts, which most scenes keep a copy of, as The Broken Seal's do (its shared/field_effect_duration_scripts.c).
field_effect_set_sprite_priority.cSetting an effect's sprite priority by hand: the copy of actor_set_sprite_priority.c that comes with a late field-effect spawner.
field_effect_spawn.cThe effect spawner each field overlay keeps its own copy of, the twin of The Broken Seal's EFFECT_SPAWN (scene/shared/field_effect_spawn.c).
field_effect_wave_scroll.cA great whirlwind's sway (Air's Rock, Shaman Village): each screen line of BG0 is pushed side to side by a jittered sine wave, set line by line by HBlank DMA 0.
field_rope_place.c
fireball_carry_leader_if_hit.c
flame_thrower_get_flags.c
flame_thrower_is_active.c
flame_thrower_send_backward.c
flame_thrower_send_east.c
flame_thrower_send_forward.c
flame_thrower_send_spark.c
flame_thrower_send_west.c
flame_thrower_set.c
flame_thrower_set_active.c
flame_thrower_set_puffs_off_screen.c
flame_thrower_update_spark.c
flame_throwers_advance_counter.c
flame_throwers_create.c
flame_throwers_puff.cThe Mars Lighthouse flame throwers' puffs, which four of its rooms keep a copy of.
flame_throwers_release_flame.c
flame_throwers_set_stop.c
flame_update_forward.c
flame_update_sideways.c
gaia_rock_cue_wall_metatile.cGaia Rock's climbing walls, which its outside and inside overlays keep a copy of.
geyser_draw.c
geyser_start.c
geyser_update.c
ground_particle_frames.cThe frames of the drops of rain fdGroundParticlesDraw moves about a doused stone, which the Apojii Islands and Aqua Rock keep a copy of.
ground_particles_draw.c
ground_particles_set_anchor.c
ground_particles_start.c
held_actor_raise_metatile.c
ice_chips_spawn.c
jupiter_lighthouse_finish_moving_block.c
jupiter_lighthouse_load_palettes.cThe Jupiter Lighthouse rooms' palettes, which most of them keep a copy of.
jupiter_lighthouse_place_raised_actors.c
leader_center_in_metatile.c
leader_check_crumbling_step.c
leader_flow_with_stream.c
leader_is_facing_north.c
leader_knock_back.cThe leader is thrown back by the flames that struck them: they take the fall damage, blink, and are pushed metatile by metatile in the flames' direction, sliding over ice, until a wall, another actor or a ledge stops them.
leader_lift.c
leader_open_door_and_enter.c
leader_rise_from_water.c
leader_set_metatile_shape.c
leader_sink_away.c
leader_slide_on_ice.c
leader_slide_on_ice_ahead.c
leader_spin_away.c
leader_stop_if_pending.c
leader_walk_through_door_script.c
lesson_scripts.cThe lesson at the heart of each Rock, which Air's Rock, Aqua Rock, Gaia Rock and Magma Rock keep a copy of: as the Adept reads the tablet, the tablet lifts off its stand and the Adept rises as the sparks circle in, and both settle back as the lesson ends.
lesson_seeking_spark_script.c
light_ring_tiles.cHalf a ring of light, which Contigo's sparkle and the Psynergy test room's rings draw twice, the second flipped, for a whole ring.
light_sprites_add.c
light_sprites_add_counted.c
light_sprites_draw.c
light_sprites_init_channel_pieces.c
light_sprites_init_energy_block_glow.c
light_sprites_init_path_glows.c
list_count_entries.c
magma_rock_ember_scripts.cThe scripts of the embers that fly up in Magma Rock, which its outside and its inside keep a copy of.
map_metatile_fill.cFilling a rectangle of a map layer's metatiles with one collision code, as a pushed actor marks the metatiles it covers (push_target_push.c).
map_metatile_fill_byte.cFilling a rectangle of a map layer's metatiles with one collision code.
map_metatile_get.cA map metatile's collision code and attributes, read on a layer or from the metatile buffer.
map_metatile_set.cscMapMetatileSetAttributes, the field engine's function that replaces a map metatile's collision code and attributes, as the scenes that change their metatiles keep a copy of it (Treasure Isle's unused): included at its place in each scene's overlay, after the field engine's map_metatile_get.c or before it as the ROM has it.
map_metatile_set_shape.c
mars_lighthouse_part_scripts.cThree actor scripts that four Mars Lighthouse rooms keep a copy of, in this order: a scripted part's, and the crumbs' and embers', which are the same.
moai_add_water.c
orb_rising_script.c
orbit_spark_spawn.c
orbit_update.c
orbiter_spiral.c
palette_cycle_fade.c
palette_cycle_set_pauses_in_scripts.c
palette_cycle_step.c
particle_update_falling.c
party_take_fall_damage.c
pillar_lower_held_metatiles.c
pillar_place.c
pillar_raise.c
pillar_restore.c
pillar_restore_raised.c
pillar_take_out_of_play.c
position_distance.c
position_distance_above.c
position_flat_distance.c
pound_sink_target.c
prong_sparkle.c
psynergy_test_exits.c
push_kinds.cThe things the leader can push and the metatiles each covers, which the scenes with pushed things keep a copy of (PUSH_KINDS, scene/pushed_actor.h).
push_leader_steps.cThe leader's step against a pushed thing for each of the sixteen facings, one metatile (16 pixels) along the nearest of the four directions, which the scenes with pushed things keep a copy of, as The Broken Seal's do (its shared/pushed_actor_direction_steps.c).
push_target_fill_rectangle.c
push_target_find_ahead.c
push_target_find_stop.c
push_target_push.c
question_mark_pop.c
ripple_script.cThe script of a ripple widening on the water over an actor (scActorEmitRipples), which the Apojii Islands' and Aqua Rock's overlays keep a copy of.
rock_end_falling.c
rock_spawn.c
scene_create_actor.c
scene_create_imported_actor.c
scene_entrances_default.cThe entrance table of most overlays, which holds only the default entrance: at 172, 149, facing south, with no room bounds.
scene_entrances_mapless.c
scene_fade_in_and_clear_flag.c
scene_freeze_puddle_into_pillar.c
scene_set_arrival_flags.cscSetArrivalFlags, compiled inside each Jupiter Lighthouse scene that calls it and inside Mars Lighthouse towers, at its place in each overlay.
scene_show_entrance_locked.c
scroll_start_hblank.cThe start of a split screen, shared by the two scenes that draw one: SW Atteka Islet's falls and the Apojii Islands' water.
ship_drop_shadow.c
ship_take_flight.c
slide_on_ice_angles.cThe headings the direction pad gives on ice, which the scenes with ice to slide on keep a copy of, both tables indexed by the pad's four bits ((PerWork.data >> 4) & 15: right, left, up, down); -1 where the keys held give no heading.
slide_on_ice_from_edge.c
smoke_drift.c
smoke_spawn.c
statue_find_under_burst.c
statue_flash_under_burst.c
stone_head_burst_out.c
stone_head_place.c
stone_head_rise_script.cThe script of a stone head bursting out of Gaia Rock's walls (scStoneHeadBurstOut), which its outside and inside keep a copy of.
teleport_circle_colors.cThe colours of a Teleport circle and of its shimmer (shared/teleport_shimmer.c), which every scene with a circle keeps a copy of: seven palette entries, each a red, green and blue, ended by PALETTE_LIST_END.
teleport_circle_palette.cThe palette of a Teleport circle, which every scene with a circle keeps a copy of: the seven background palette entries the circle is drawn in, its colours and its shimmer's (teleport_circle_colors.c), and the entries each step of the shimmer paints those colours into, so that they run round the circle (scPaletteSetColorsFade).
teleport_shimmer.cThe Teleport circles' shimmer, which every scene with a circle keeps a copy of (Contigo, the Anemos Inner Sanctum, the Islet Cave, the Yampi Desert's cave and three of Mars Lighthouse's rooms): the circle's colours run round it, a palette cycle, as Teleport is cast and as the party arrives on a circle.
tile_sprite_reset.c
vent_advance_counter.c
vent_is_blowing.c
vent_set_gust.c
vent_set_id.c
vent_update.c
vents_start.c
whirlwind_carry_leader.c
whirlwind_carry_leader_lower.c
whirlwind_spawn.c
whirlwind_update.c
whirlwind_update_lower.c
world_map_gauge.cThe Psynergy gauge over the leader as the ship flies, which the world map and the staff credits' overlays keep a copy of: its tiles redrawn for the party's PP, the event that drains it while A or B is held aloft, and its set-up and end.
world_map_objects.cThe World Map's placed actors, which both the World Map's and the staff credits' overlays keep a copy of, included as text: the exit chosen by the side the leader approaches a place from, the event that shows the places' actors coming into view and releases those leaving it, and the sparks and particles about the ship.
world_map_particle_script.c

On this page