global_cells.h
games/tbs/include/global_cells.h on GitHub
Globals
gFieldBlendWork
extern void *gFieldBlendWork[]
From slot 30
Used by FieldFx_UpdateLightning.
gDisplayTransition
extern struct DisplayTransitionState *gDisplayTransition
Slot 31
Used by AffineEffect_UpdateFrame, AltmillerCave_InitializeDarkness, AltmillerCave_RestoreBabiAndInviteParty, BabiPalace_WakeAfterFinals, BattleFx_StartWindowHBlankDma, DisplayTransition_FillTilemapAndSolidTile, DisplayTransition_UpdateScanlineTable, Event_CastReveal, ResetSceneTransitionEffect, TretTreeBranch_Initialize.
gDisp
extern s32 *gDisp
Slot 42: transition timer
Used by BattlePres_DrawTransitionRows, BattlePresentation_UploadTileVariant.
gEffectWork
extern void *gEffectWork
Slot 56: points to a scene-specific structure
Used by AltmillerCave_BeginRetreat, AltmillerCave_CheckFrostTargetCollision, AltmillerCave_EndReveal, AltmillerCave_FreezePuddle, AltmillerCave_ReleaseWallBurst, BabiLighthouse_EnableChildOption, BattleEffect_CleanupSceneObjects, BattleEffect_RunFallbackObjectTransition, BattleEffect_SpawnBurstParticleField, BattleFx_ClearActiveSlotsAndScheduleUpdates, BattleFx_ClearChildValueOnMismatch, BattleFx_MarkChildAndRunFallbackTransition, BattleFx_RunMercuryDjinnCapture, BattleFx_RunSparkEmitter, BattleFx_RunVenusDjinnCapture, BattleFx_SetupObjectPair, BattleFx_SpawnDescendingArcParticles, BattleFx_SpawnFallingParticles, BattleFx_SpawnScaledArcObjects, BattleFx_SteerLiftedTarget, BattleFx_SteerPushedTarget, BattleFx_UpdateRadialBurst, BattleFx_UpdateRadialCamera, BattleFx_UpdateRadialLaunch, BattleFx_UpdateShrinkingOrbitObject, DebugMenu_EnableEffectChildMode, Djinn_RunJupiterJoinEffect, Djinn_RunMarsJoinEffect, EffectRuntime_StopCurrentObject, Event_DouseCastAtStorm, Event_FrostBeginsOnThirdPool, Event_PrepareForce, Event_StartDousingTravelMarker, FieldEvent_RunTypeHandler, FieldFx_RunAvoid, FieldFx_RunCatch, FieldFx_RunDouse, FieldFx_RunForce, FieldFx_RunFrost, FieldFx_RunFrostOnTarget and 19 more.
gMapCellBuffer
extern struct EffectStep gMapCellBuffer[]
Map cells; battle effects reuse this as a particle array.
Used by BattleFx_CleanupResourcesAndWindow, BattleFx_SetupResourcesAndWindow, FieldFx_CheckCloakTile, Field_ProcessStep, GetMapCellCollision, KolimaForestBend_CheckLogFits, LzPack_PackStream, Map_GetCellAttributeLowNibble, Map_GetCellHighFlags, Map_ShowWorldMap, SerialTest_Run, StagedActor_FillGridAttributeRectangle, State_StampRecordCells, Tilemap_ConvertBuffer, Tilemap_DecodeStagedBuffer, Tilemap_NumberPlaceholderBlocks.
gLinkPeerSignatures
extern u16 gLinkPeerSignatures[][12]
24 bytes per peer
Used by Battle_CollectPartyCommands, LinkLobby_PeerSlotMatches, SaveMenu_Run, UpdateLinkSessionCountdown.
Also, globals without a comment: gMapWork, gMenuWork, gDecodeBuffer, gActorSpriteSlots.