The battle bank's routines and globals, as the other banks see them. More...
Go to the source code of this file.
Data Structures | |
| struct | CameraWork |
| The battle camera (struct BattleCamera) as the effects that swing it see it. More... | |
| struct | EffectVector |
| A world position, as Camera_WorldToScreen converts it to the screen. More... | |
| struct | Ring |
| One of the star field's three rings, moving outward on the effect canvas. More... | |
| struct | ScatterPosition |
| The position an item-break effect spawns its objects and shards from. More... | |
Enumerations | |
| enum | BattlePose { POSE_ENEMY_HELD = 0 , POSE_STANDING = 1 , POSE_PARTY_HELD = 4 , POSE_DAMAGE = 5 , POSE_ENEMY_DOWN = 5 } |
| The battle sprites' animations (AnimationObjects_SelectAnimation numbers) that the battle code picks by name. More... | |
Functions | |
| u32 | __udivsi3 (u32 numerator, u32 denominator) |
| void | _call_via_r0 (u32 routine) |
| void | Animation_ApplyChildArgumentFar (void *, s32) |
| void | BitDecoder_DecodeImage (void) |
| void | FarCall_WindowTable (void) |
| struct AnimationObject * | GetBattleEffectObject (s32 kind) |
| void | ItemIcon_LoadTilesFar (s32 item) |
| s32 | Object_InitializeMode (struct AnimationObject *state, s32 flags) |
The battle bank's routines and globals, as the other banks see them.
Definition in file battle.h.
| enum BattlePose |
The battle sprites' animations (AnimationObjects_SelectAnimation numbers) that the battle code picks by name.
Referenced by __udivsi3().
| void _call_via_r0 | ( | u32 | routine | ) |
Referenced by _call_via_r0(), and Dma_StopAllThenRunHook().
| void Animation_ApplyChildArgumentFar | ( | void * | , |
| s32 | ) |
Referenced by Animation_ApplyChildArgumentFar().
| void BitDecoder_DecodeImage | ( | void | ) |
Referenced by BattleBackground_Load(), and BitDecoder_DecodeImage().
| void FarCall_WindowTable | ( | void | ) |
Referenced by FarCall_WindowTable().
| struct AnimationObject * GetBattleEffectObject | ( | s32 | kind | ) |
Referenced by GetBattleEffectObject().
| void ItemIcon_LoadTilesFar | ( | s32 | item | ) |
Referenced by Colosso_ShowItemIcon(), and ItemIcon_LoadTilesFar().
| s32 Object_InitializeMode | ( | struct AnimationObject * | state, |
| s32 | flags ) |
Referenced by Object_InitializeMode(), ValeBabi_SpawnEffectPair(), and ValeStorm_SpawnEffectPair().
|
extern |
An angle for each value of the right, left, up and down bits of the +Control Pad; 0xffff for none.
Definition at line 466 of file fxdata.c.
Referenced by Input_GetDpadAngle().
|
extern |
Definition at line 506 of file fxdata.c.
Referenced by BattleEffect_SetRandomTableValueOnObject().
|
extern |
Referenced by BattlePlacement_GetStepPair(), and BattleUnit_RefreshPlacement().
|
extern |
Referenced by ObjectGroup_SetActionForOthers().
|
extern |
Referenced by BattleUnit_GetWeaponKind().
|
extern |
The palette cycle of Animation_ChildPaletteCycle ((gFrameCount >> 1) & 7).
Definition at line 53 of file fxdata.c.
Referenced by Animation_ApplyChildPalette().
|
extern |
Referenced by BattleCommand_SelectAutomatic().
|
extern |
Referenced by FieldFx_RunAvoid().
|
extern |
Word +4 is gBattleFx_HeavyImpactScript.
Definition at line 476 of file fxdata.c.
Referenced by FieldFx_RunForce(), and FieldFx_RunGrowth().
|
extern |
Speaker definitions: {sprite, portrait (0xff for none), idle line flags}.
BattleFx_FindDefinition searches all 131; the last is the default.
Definition at line 163 of file fxdata.c.
Referenced by BattleFx_FindDefinition().
|
extern |
Referenced by BattleFx_SpawnLinked().
|
extern |
Definition at line 114 of file fxdata.c.
Referenced by FieldEffect_SpawnNearbyMarkers().
|
extern |
Grows from half size to full size, a step every 2 frames.
Definition at line 56 of file fxdata.c.
Referenced by BattleFx_StartRandomParticleEmitter(), and EffectRuntime_RunRisingObjectSequence().
|
extern |
Rises for 60 frames, then disappears.
Definition at line 107 of file fxdata.c.
Referenced by BattleFx_StartRandomParticleEmitter(), and Object_InitializeSparkle().
|
extern |
Two scales that alternate ((gFrameTick >> 2) & 1); nothing reads the third word.
Definition at line 440 of file fxdata.c.
Referenced by BattleFx_SetObjectAlternatingWords().
|
extern |
Definition at line 450 of file fxdata.c.
Referenced by BattleFx_SteerLiftedTarget(), and BattleFx_SteerPushedTarget().
|
extern |
{field Psynergy kind, range in pixels}, ended by -1; a kind not listed reaches 16 pixels.
Definition at line 36 of file fxdata.c.
Referenced by Field_GetPsynergyTargetRange().
|
extern |
Referenced by BattleFx_SetCallbackWhenTargetUnset().
|
extern |
Referenced by BattleMotion_ApplyVariantMotion().
|
extern |
Referenced by BattleMotion_ApplyVariantMotion().
|
extern |
Referenced by BattleMotion_ApplyVariantMotion().
|
extern |
Referenced by BattleMotion_ApplyVariantMotion().
|
extern |
Referenced by BattleParty_CollectUnitList().
|
extern |
Referenced by Battle_ProcessRoundEnd().
|
extern |
Referenced by BattleObjMake().
|
extern |
Referenced by BattleEvent_Playback(), and BattlePresentation_WaitForAdvance().
|
extern |
Referenced by BattlePres_RunEntryTransition().
|
extern |
Referenced by BattlePresentation_UploadTileVariant().
|
extern |
Referenced by BattleUnit_LookupWeaponValueByClass().
|
extern |
Referenced by BattleUnit_LookupWeaponValueByClass().
|
extern |
Referenced by BattleUnit_LookupWeaponValueByClass().
|
extern |
Referenced by BattleUnit_LookupWeaponValueByClass().
|
extern |
Referenced by BattleBackground_Load().
|
extern |
Referenced by Camera_ApplyTransformByFlag().
|
extern |
Referenced by BattleFx_LoadActionEffectResources().
|
extern |
Definition at line 473 of file fxdata.c.
Referenced by BattleFx_SteerPushedTarget().
|
extern |
Referenced by BattleEffect_InitializeSharedScene().
|
extern |
Referenced by BattleFx_UpdateStarField().
|
extern |
Referenced by BattleFx_UpdateStarField().
|
extern |
Referenced by BattleFx_UpdateStarField().
|
extern |
Referenced by Graphics_AdvancePaletteCycle().
|
extern |
Referenced by Encounter_GetEnemyGroupAtSlot(), and Encounter_SelectEnemyGroup().
|
extern |
{dx, dy, tile, shape, size} for each of 16 frames.
Definition at line 383 of file fxdata.c.
Referenced by FieldFx_UpdateGroundParticles().
|
extern |
Referenced by FieldFx_StartGroundParticles().
|
extern |
|
extern |
Referenced by BattleFx_DrawClippedCanvasLine(), BattleFx_RunCybele(), BattleFx_RunDjinnBeams(), BattleFx_RunEruption(), BattleFx_RunFlashingStrike(), BattleFx_RunKirin(), BattleFx_RunMirroredWall(), BattleFx_RunParticleStreams(), BattleFx_RunRamses(), BattleFx_RunStatBoost(), BattleFx_RunStatReduction(), BattleFx_RunTargetMotes(), BattleFx_RunTorch(), ReelGame_DrawCanvasLine(), ReelGame_InitTitle(), ReelGame_RunFrame(), and ReelGame_TransferCanvas().
|
extern |
Referenced by Battle_RunEncounter(), and UnitGet().
|
extern |
Referenced by BattlePresentation_AppendLinkedActions(), Random16(), and ReelGame_Start().
|
extern |
Referenced by BattleFx_InitializeStarField(), BattlePres_RunAction(), BattlePres_RunApproachAction(), BattlePres_RunAttack(), BattlePres_RunItem(), BattlePres_RunPlainAttack(), BattlePres_RunPsynergyCast(), BattlePres_RunUnitAction(), BattlePresentation_BuildActions(), BattlePresentation_ConfigurePaletteFade(), BattlePresentation_InitializeWorkAndResetState(), and BattlePresentation_RunPairedUnitTransition().
|
extern |
Referenced by Object_LinkObjectAndSetCallback(), and Scene_TalkToActor().
|
extern |
Referenced by Scene_SetDefeatReturnPoint().
|
extern |
Pulses twice, then rests, over and over.
Definition at line 75 of file fxdata.c.
Referenced by ItemDisplay_RaiseAboveLeader().
|
extern |
Referenced by BattleUnit_LookupWeaponValueByClass().
|
extern |
Referenced by BattleFormation_SelectLevelMatchedCandidate().
|
extern |
Referenced by Battle_SelectSceneBackdrop().
|
extern |
Referenced by BattleFx_BuildBlitter().
|
extern |
Referenced by Ui_SetMessageVoiceFromActor().
|
extern |
An angle for each +Control Pad direction (eight of them); 0xffff for none.
Definition at line 515 of file fxdata.c.
Referenced by Map_UpdateWorldMapMarkers().
|
extern |
The brightness of the world map markers ((gFrameCount >> 1) & 31).
Definition at line 509 of file fxdata.c.
Referenced by Map_UpdateWorldMapMarkers().
|
extern |
Referenced by Map_UpdateWorldMapMarkers().