Animated sprites: their layers, frames and colour modes, and the resource slots they draw from.
The cursor that approaches its target, shared by shops, name entry and settings.
Effect slots: the particles Psynergy effects move and draw.
The work slots of gWorkSlot, read through their own names.
Items: their definitions, types, flags and effects.
const u8 gShop_PriceTiles[]
const u8 gShop_QuantityTiles[]
const u8 gShop_UpArrowTiles[]
const u8 gShop_GemTiles[]
const u8 gShop_SmallUpArrowTiles[]
const u8 gShop_SmallDownArrowTiles[]
const u8 gShop_DownArrowTiles[]
const u8 gShop_HandTiles[]
STATIC_ASSERT, a compile-time check that emits nothing.
#define STATIC_ASSERT(condition)
C89 permits repeated extern declarations of the same array.
#define offsetof(type, member)
An animated sprite: its image and shadow, scale, rotation, size and up to four animation layers.
A particle a Psynergy effect moves and draws: its sprite, its position and target,...
Cursor that approaches its target, shared by shop, name entry and settings.
A shop's work: its windows, the party members' icons, the stock, the cursor and its icons,...
s32 partyMemberScale[8]
16.16 fixed point, 0x10000 full size
s8 burstMember
the sanctum's member whose pose is randomized; -1 none
struct EffectSlot effects[24]
the sanctum service's particles
struct UiWindow * itemWindow
struct ShopCursor cursor
the hand cursor
s16 partyMemberIds[9]
the party in order (Party_ListActiveOwners)
struct AnimationObject * partyMemberIcons[8]
the party row's sprites
u8 warriorShop
1 for stock rows 16 to 18, which greet as warriors'
u8 unk174[0xf8]
not named by TBS code
s16 partyMemberY[8]
pixels
struct UiWindow * moneyWindow
the coins window
u16 keeperResource
the shopkeeper's animation; picks the portrait
u16 selectedItem
the item being bought, sold or repaired
u8 unk000[0x0c]
not named by TBS code
u16 cursorIcon
VRAM cache slots of the six cursor icons, loaded when the work is set up and freed with it.
u8 unk3a0[4]
not named by TBS code
s16 stockItemIds[129]
the items on sale, ended by 0
u8 unk010[0x10]
not named by TBS code
u8 shopType
the stock row's type: 0 items, 2 armor, else weapons
s16 partyMemberX[8]
pixels
u16 unk39c
not named by TBS code
s8 partyAction
the counter chosen (enum ShopAction)
u8 unk3ad[3]
not named by TBS code
u8 mode
passed on as the hand cursor's kind; set to 12 at first
u8 unk024[0xf0]
not named by TBS code
A window: a framed rectangle of the tilemap with its sprite outputs, its opening or closing animation...