src/window/screens_battle_psynergy_menu.c
The battle Psynergy menu. More…
Included by screens.c.
Functions
| Name | Description | |
|---|---|---|
Sint32 | mnBattlePsynergyMenuRun (Sint32 unitId, Uint16 *actions, Sint32 count) | The battle Psynergy list for unit unitId: count abilities of actions (ended by 0), five to a page, each with its icon, name, PP cost, element and range icon, in TEXT_COLOR_YELLOW when not usable in battle, TEXT_COLOR_RED when the unit's PP fall short and TEXT_COLOR_PINK while its Psynergy is sealed; the window above describes the one under the cursor. |
Description
The battle Psynergy menu. Part of screens.c.
Functions in detail
mnBattlePsynergyMenuRun
Sint32 mnBattlePsynergyMenuRun(Sint32 unitId, Uint16 *actions, Sint32 count)
The battle Psynergy list for unit unitId: count abilities of actions
(ended by 0), five to a page, each with its icon, name, PP cost, element and
range icon, in TEXT_COLOR_YELLOW when not usable in battle, TEXT_COLOR_RED
when the unit's PP fall short and TEXT_COLOR_PINK while its Psynergy is
sealed; the window above describes the one under the cursor.
References glyph, gmAbilityGetDefinitionStub(), gmUnitGetStub(), mnAbilityBuildIconTiles(), mnRangeIconDraw(), mnTextDrawMessageAsTiles(), mnTextDrawNumberAtOffset(), mnTextDrawWideStringAtOffset(), mnTextFillCanvasBackground(), mnTextSetColor(), mnVRAMCopyTile(), mnWindowClose(), mnWindowCreate(), mnWindowHighlightRect(), mnWindowSetTilemapEntry(), mnWindowSpriteRedrawSavedRect(), PerPush, PerRepeat, PointingHandTiles, Sint32, state, syInputResetKeyRepeat(), syOAMAddSpriteAtDepth(), sySoundPlayStub(), sySynch(), syVRAMCacheAllocateEntry(), syVRAMCacheFreeEntry(), syVRAMCacheReload() and TickCount.
Referenced by mnBattleCollectPartyCommands().
Definition at line 8 of file screens_battle_psynergy_menu.c.