7API_CALLABLE(N(GiveRefund)) {
25 sellValue = (sellValue * 75 + 99) / 100;
27 for (i = 0; i < sellValue; i++) {
37 delayTime = (i * 3) + 30;
67 script->varTable[0] = delayTime;
72API_CALLABLE(N(GiveRefundCleanup)) {
@ ITEM_SPAWN_MODE_TOSS_FADE1
s32 player_team_is_ability_active(Actor *actor, s32 ability)
void get_screen_coords(s32 camID, f32 x, f32 y, f32 z, s32 *screenX, s32 *screenY, s32 *screenZ)
s32 make_item_entity(s32 itemID, f32 x, f32 y, f32 z, s32 itemSpawnMode, s32 pickupDelay, s32 angle, s32 pickupVar)
void hud_element_set_render_pos(s32 id, s32 x, s32 y)
s32 hud_element_create(HudScript *anim)
Creates a new HUD element and returns its ID.
void hud_element_free(s32 id)
struct Actor * playerActor
BattleStatus gBattleStatus