src/debug/shop_test.c
The debug room Shop test, whose people each run a test when talked to: the inn, the sanctum and four shops, Sunshine's forge, the shop and sanctum messages, the party's names, items, Djinn and levels, and the icon and portrait browsers.
#include "debug/debug.h"#include "game/game.h"#include "menu/menu.h"#include "text/msg_ids.h"#include "field/script_inline.h"#include "item_ids.h"#include "edition.h"#include "field/field_engine_script.h"#include "field/field_engine.h"#include "window/window.h"#include "shop/shop.h"#include "window/screens.h"#include "../scene/shared/psynergy_test_exits.c"
Macros
| Name | Description | |
|---|---|---|
#define | ENTRANCE_WITH_ISAACS_PARTY 99 | The entrance that brings Isaac's party in (gmPartyAddIsaacsParty). |
#define | FLAG_SHOP_TEST_SUNSHINE_FORGING FLAG_SCENE_TEMP(0x00) | Set while Sunshine forges what the party brought him, as Yallam's FLAG_SUNSHINE_FORGING is; here only leaving the room clears it. |
#define | ITEM_SELECTOR_ITEM_COUNT 500 | The selector's item numbers, 0 to 499, wrapping. |
Enumerations
| Name | Description | |
|---|---|---|
enum | SHOP_TEST_ACTOR_ID { ACTOR_INNKEEPER, ACTOR_SANCTUM_PRIEST, ACTOR_WEAPON_SHOPKEEP … } | The room's people, numbered in the order of ActorPlacements: the shops' people, then the testers, each named for what talking to it opens (SceneCues). |
Functions
| Name | Description | |
|---|---|---|
const SCENE_ENTRANCE * | scGetEntrances (void) | Where the party can enter: the cave under the spring has its own entrances. |
const SCENE_REGION * | scGetExitRegions (void) | The regions of the rooms whose exits are rectangles: the Chestbeaters' room and the stream room. |
const Uint32 * | scGetExits (void) | The dock's ways lead back the way the party came into Lemuria, which the harbour and the shore of Ancient Lemuria note in FLAG_LEMURIA_OTHER_WAY_IN. |
const ACTOR_PLACE * | scGetActorPlacements (void) | The scene's actor placements: a room of names for its entrance, else the debug room's. |
void | dbShopTestDamageAndAfflictParty (void) | The testers' tools that SceneCues names before their definitions. |
void | dbShopTestGivePartyDjinn (void) | Gives and sets the first Djinn of each element that The Lost Age adds: Felix Echo to Meld, Jenna Cannon to Core, Sheba Breath to Wheeze and Piers Fog to Rime. |
void | dbShopTestGiveMuramasaAndSummon (void) | Gives a Muramasa, then announces and unlocks Eclipse. |
void | dbShopTestRunLevelEditor (void) | The level-raising window, as Increase item and level's (dbIncreaseItemAndLevelRunLevelEditor): shows the leader's name and level, raises every party member 5 levels on Start or Select and 1 on A, and closes on B. |
void | dbShopTestSelectItem (void) | The item selector, as Increase item and level's (dbIncreaseItemAndLevelSelectItem): Up and Down move one item, Right and Left ten, R and L thirty, skipping items with no icon; A gives the item, B closes. |
void | dbShopTestOpenIconBrowser (void) | Talking to ACTOR_ICON_BROWSER: pages of item, Psynergy and status icons. |
void | dbShopTestOpenPortraitBrowser (void) | Talking to ACTOR_PORTRAIT_BROWSER: the portraits, one at a time. |
void | dbShopTestNoOperation (void) | The script for talking to ACTOR_LIGHT_BULB_A to ACTOR_LIGHT_BULB_D. |
void | dbShopTestBrowseMessageRange (Sint32 msg, Sint32 count) | Shows count messages from msg in turn: each waits 60 ticks, or until A or B is pressed, then types out at once, and the next follows 10 ticks later or on A. |
void | dbShopTestBrowseWeaponShopMessages (void) | The shop and sanctum message browsers: talking to ACTOR_SANCTUM_MESSAGES and the three after it. |
void | dbShopTestBrowseArmorShopMessages (void) | Browses the armor shop's messages. |
void | dbShopTestBrowseItemShopMessages (void) | Browses the item shop's messages. |
void | dbShopTestBrowseSanctumMessages (void) | Browses the Sanctum's messages. |
void | dbShopTestOpenWeaponShop (Sint32 keeper) | The shops and the inn, each passed the keeper's actor id: Daila's weapon shop. |
void | dbShopTestOpenArmorShop (Sint32 keeper) | Daila's armor shop. |
void | dbShopTestOpenItemShop (Sint32 keeper) | Daila's item shop. |
void | dbShopTestOpenGeneralStore (Sint32 keeper) | Izumo's general store. |
void | dbShopTestOpenInn (Sint32 keeper) | Daila's inn. |
void | dbShopTestOpenSanctum (Sint32 keeper) | Talking to ACTOR_SANCTUM_PRIEST opens the Sanctum. |
void | dbShopTestTalkToSunshine (Sint32 actor) | Sunshine, as in Yallam (scYallamRoomsTalkToSunshine) without his walk to the anvil: while FLAG_FORGE_OPEN is set he forges what the party brings. |
void | dbShopTestTalkToSunshinesWife (Sint32 actor) | Sunshine's wife, as in Yallam (scYallamRoomsTalkToSunshinesWife): she hands over what Sunshine made and takes the payment. |
void | dbShopTestOpenItemPicker (void) | Opens the item picker for an item to show, as Naribwe's fortune-teller asks for one, and discards the member and slot chosen. |
void | dbShopTestEditPartyNames (void) | The name entry screen for each of the eight characters in turn. |
static inline void | dbShopTestGiveItemTo (Sint32 item, Sint32 owner) | Puts item in owner's bag. |
void | dbShopTestGiveEquipmentTestStock (void) | Gives 777,777 coins, ten each of Game Tickets and Lucky Medals and test equipment to Felix, Jenna, Sheba and Piers; then Isaac, Garet, Ivan and Mia leave the party. |
void | dbShopTestGiveDjinni (Sint32 owner, Sint32 element, Sint32 djinn, Sint32 activate) | Gives an owner one Djinni, marks it found and sets it if activate is 1. |
const CUE * | scGetCues (void) | The scene's cues: the rooms of names' for any entrance above ENTRANCE_NAMES_ABOVE, else the debug room's. |
Sint32 | scInit (void) | Opens on the backdrop fade at the fast message speed, shows "..." over the message browsers and a light bulb over ACTOR_LIGHT_BULB_A to ACTOR_LIGHT_BULB_D, and brings Isaac's party in when the party came in by ENTRANCE_WITH_ISAACS_PARTY. |
Sint32 | scPrepareMap (void) | Once Briggs is caught the pool has dried up: its colours take the dry ground's. |
void | dbShopTestRaisePartyLevels (Sint32 levels) | Raises every party member levels levels. |
void | dbShopTestDigMetatiles (Sint32 stage, Sint32 srcX, Sint32 srcY, Sint32 width, Sint32 height, Sint32 destX, Sint32 destY) | Unused: the Psynergy test's dbPsynergyTestDigMetatiles again. |
void | dbShopTestGrowActor (Sint32 stage, Sint32 id, Sint32 x, Sint32 z) | Unused: the Psynergy test's dbPsynergyTestGrowActor again. |
void | dbShopTestDropActor (Sint32 stage, Sint32 id, Sint32 x, Sint32 z) | Unused: the Psynergy test's dbPsynergyTestDropActor again. |
void | dbShopTestRaiseStatue ( Sint32 stage, Sint32 x, Sint32 z, Sint32 row, Sint32 column) | Unused: the Psynergy test's dbPsynergyTestRaiseStatue again, which starts the battle with the formation at column of encounter zone row. |
Variables
| Name | Description | |
|---|---|---|
char | ShopTestLvLabel [4] | The level editor's label before a member's level, as IncreaseItemAndLevelLvLabel. |
char | ShopTestItemPrompt [12] | The item selector's prompt, before the item number. |
char | ShopTestItemHelp [24] | The item selector's help line, while the bags have room. |
char | ShopTestItemFull [20] | The item selector's line when the party's bags are full. |
SCENE_ENTRANCE | SceneEntrances [] | Besides the party's return to the pier after the ship is stolen, four unused spots about the mast: below the huge block, on the dock by its crate, on the deck, and at the top of the sail's east pole. |
ACTOR_PLACE | ActorPlacements [] | The room's people, in SHOP_TEST_ACTOR_ID's order. |
CUE | SceneCues [] | The room's scripts: talking to its people, Mind Read on them, the metatiles examined, and the field Psynergy each spot answers. |
Description
The debug room Shop test, whose people each run a test when talked to: the inn, the sanctum and four shops, Sunshine's forge, the shop and sanctum messages, the party's names, items, Djinn and levels, and the icon and portrait browsers.
Macros in detail
ENTRANCE_WITH_ISAACS_PARTY
#define ENTRANCE_WITH_ISAACS_PARTY 99
The entrance that brings Isaac's party in (gmPartyAddIsaacsParty).
Referenced by scInit().
Definition at line 21 of file shop_test.c.
FLAG_SHOP_TEST_SUNSHINE_FORGING
#define FLAG_SHOP_TEST_SUNSHINE_FORGING FLAG_SCENE_TEMP(0x00)
Set while Sunshine forges what the party brought him, as Yallam's
FLAG_SUNSHINE_FORGING is; here only leaving the room clears it.
Referenced by dbShopTestTalkToSunshine() and dbShopTestTalkToSunshinesWife().
Definition at line 25 of file shop_test.c.
ITEM_SELECTOR_ITEM_COUNT
#define ITEM_SELECTOR_ITEM_COUNT 500
The selector's item numbers, 0 to 499, wrapping.
Referenced by dbShopTestSelectItem().
Definition at line 995 of file shop_test.c.
Enumerations in detail
SHOP_TEST_ACTOR_ID
enum SHOP_TEST_ACTOR_ID
The room's people, numbered in the order of ActorPlacements: the shops'
people, then the testers, each named for what talking to it opens
(SceneCues).
| Enumerator | Value | Description |
|---|---|---|
ACTOR_INNKEEPER | ACTOR_FIRST_PLACED | |
ACTOR_SANCTUM_PRIEST | ||
ACTOR_WEAPON_SHOPKEEPER | ||
ACTOR_ARMOR_SHOPKEEPER | ||
ACTOR_ITEM_SHOPKEEPER | ||
ACTOR_GENERAL_STOREKEEPER | ||
ACTOR_SUNSHINE | ||
ACTOR_SUNSHINES_WIFE | ||
ACTOR_SANCTUM_MESSAGES | ||
ACTOR_WEAPON_SHOP_MESSAGES | ||
ACTOR_ARMOR_SHOP_MESSAGES | ||
ACTOR_ITEM_SHOP_MESSAGES | ||
ACTOR_ITEM_PICKER | ||
ACTOR_NAME_ENTRY | ||
ACTOR_MURAMASA_AND_SUMMON | ||
ACTOR_ICON_BROWSER | ||
ACTOR_PORTRAIT_BROWSER | ||
ACTOR_LEVEL_EDITOR | ||
ACTOR_ITEM_SELECTOR | ||
ACTOR_TREASURE | ||
ACTOR_DJINN | ||
ACTOR_FORTUNE_TELLER | Talking to her takes HP and PP and afflicts the party (dbShopTestDamageAndAfflictParty). | |
ACTOR_LIGHT_BULB_A | Four light bulbs, which do nothing when talked to (dbShopTestNoOperation). | |
ACTOR_LIGHT_BULB_B | ||
ACTOR_LIGHT_BULB_C | ||
ACTOR_LIGHT_BULB_D |
Definition at line 30 of file shop_test.c.
Functions in detail
scGetEntrances
const SCENE_ENTRANCE *scGetEntrances(void)
References SceneEntrances.
Definition at line 63 of file shop_test.c.
scGetExitRegions
const SCENE_REGION *scGetExitRegions(void)
Definition at line 68 of file shop_test.c.
scGetExits
const Uint32 *scGetExits(void)
References SceneExits.
Definition at line 73 of file shop_test.c.
scGetActorPlacements
const ACTOR_PLACE *scGetActorPlacements(void)
References ActorPlacements.
Definition at line 78 of file shop_test.c.
dbShopTestDamageAndAfflictParty
void dbShopTestDamageAndAfflictParty(void)
The testers' tools that SceneCues names before their definitions.
Takes HP and PP from Felix, Jenna and Sheba, poisons and haunts Felix, curses
and envenoms Jenna, and breaks the first item each of Felix and Jenna holds
that may break when used. Talking to ACTOR_FORTUNE_TELLER.
References gmFlagRefreshLureCap(), gmInventoryBreak(), gmItemGetDefinition(), gmUnitAddPp(), gmUnitGet(), mnFieldMessageShow(), scFieldUnitAddHp() and Sint32.
Referenced by SceneCues.
Definition at lines 84 and 781 of file shop_test.c.
dbShopTestGivePartyDjinn
void dbShopTestGivePartyDjinn(void)
Gives and sets the first Djinn of each element that The Lost Age adds: Felix
Echo to Meld, Jenna Cannon to Core, Sheba Breath to Wheeze and Piers Fog to
Rime. Talking to ACTOR_DJINN.
Gives the party every Djinni.
References dbShopTestGiveDjinni(), gmDjinnGiveToParty(), gmFlagRefreshLureCap(), mnFieldMessageShow() and Sint32.
Referenced by SceneCues.
Definition at lines 85, 844 and 868 of file shop_test.c.
dbShopTestGiveMuramasaAndSummon
void dbShopTestGiveMuramasaAndSummon(void)
Gives a Muramasa, then announces and unlocks Eclipse. Talking to
ACTOR_MURAMASA_AND_SUMMON.
References fdPartyInventoryGiveItem(), gmSummonLearn() and mnSummonShowLearnedMessage().
Referenced by SceneCues.
Definition at lines 86 and 891 of file shop_test.c.
dbShopTestRunLevelEditor
void dbShopTestRunLevelEditor(void)
The level-raising window, as Increase item and level's
(dbIncreaseItemAndLevelRunLevelEditor): shows the leader's name and level,
raises every party member 5 levels on Start or Select and 1 on A, and closes
on B. Talking to ACTOR_LEVEL_EDITOR.
References dbShopTestRaisePartyLevels(), gmUnitGet(), MainRoutineStateWork, mnTextDrawMessage(), mnTextDrawNumberInWindow(), mnTextDrawStringAtOffset(), mnTextDrawStringInWindow(), mnWindowClose(), mnWindowCreate(), mnWindowSpriteRedrawSavedRect(), PerWork, ShopTestLvLabel, Sint32, sySoundPlay() and sySynch().
Referenced by SceneCues.
Definition at lines 87 and 953 of file shop_test.c.
dbShopTestSelectItem
void dbShopTestSelectItem(void)
The item selector, as Increase item and level's
(dbIncreaseItemAndLevelSelectItem): Up and Down move one item, Right and Left
ten, R and L thirty, skipping items with no icon; A gives the item, B closes.
Talking to ACTOR_ITEM_SELECTOR.
References gmItemGetDefinition(), gmPartyInventoryAdd(), gmPartyInventoryHasSpace(), mnItemMenuDrawItemDetails(), mnTextDrawMessage(), mnTextDrawMessageAsTiles(), mnTextDrawNumberAtOffset(), mnTextDrawStringInWindow(), mnWindowClose(), mnWindowCreate(), mnWindowSpritePrepareForRedraw(), PerWork, ShopTestItemFull, ShopTestItemHelp, ShopTestItemPrompt, Sint32, syDMAXCopy(), sySoundPlay() and sySynch().
Referenced by SceneCues.
Definition at lines 88 and 1001 of file shop_test.c.
dbShopTestOpenIconBrowser
void dbShopTestOpenIconBrowser(void)
Talking to ACTOR_ICON_BROWSER: pages of item, Psynergy and status icons.
References mnDebugBrowserIcons().
Referenced by SceneCues.
Definition at lines 89 and 1128 of file shop_test.c.
dbShopTestOpenPortraitBrowser
void dbShopTestOpenPortraitBrowser(void)
Talking to ACTOR_PORTRAIT_BROWSER: the portraits, one at a time.
References mnDebugBrowserPortraits().
Referenced by SceneCues.
Definition at lines 90 and 1134 of file shop_test.c.
dbShopTestNoOperation
void dbShopTestNoOperation(void)
The script for talking to ACTOR_LIGHT_BULB_A to ACTOR_LIGHT_BULB_D.
Referenced by SceneCues.
Definition at lines 91 and 885 of file shop_test.c.
dbShopTestBrowseMessageRange
void dbShopTestBrowseMessageRange(Sint32 msg, Sint32 count)
Shows count messages from msg in turn: each waits 60 ticks, or until A or
B is pressed, then types out at once, and the next follows 10 ticks later or
on A. B closes the browser.
References mnMessageAllTyped(), mnMessageArgumentPush(), mnMessageCloseFinishedWindows(), mnMessageOpenWindow(), mnPortraitOpenWindow(), mnWindowClose(), PerWork, Sint32 and sySynch().
Referenced by dbShopTestBrowseArmorShopMessages(), dbShopTestBrowseItemShopMessages(), dbShopTestBrowseSanctumMessages() and dbShopTestBrowseWeaponShopMessages().
Definition at line 96 of file shop_test.c.
dbShopTestBrowseWeaponShopMessages
void dbShopTestBrowseWeaponShopMessages(void)
The shop and sanctum message browsers: talking to ACTOR_SANCTUM_MESSAGES and
the three after it.
References dbShopTestBrowseMessageRange() and Sint32.
Referenced by SceneCues.
Definition at line 159 of file shop_test.c.
dbShopTestBrowseArmorShopMessages
void dbShopTestBrowseArmorShopMessages(void)
Browses the armor shop's messages.
References dbShopTestBrowseMessageRange() and Sint32.
Referenced by SceneCues.
Definition at line 165 of file shop_test.c.
dbShopTestBrowseItemShopMessages
void dbShopTestBrowseItemShopMessages(void)
Browses the item shop's messages.
References dbShopTestBrowseMessageRange() and Sint32.
Referenced by SceneCues.
Definition at line 171 of file shop_test.c.
dbShopTestBrowseSanctumMessages
void dbShopTestBrowseSanctumMessages(void)
Browses the Sanctum's messages.
References dbShopTestBrowseMessageRange() and Sint32.
Referenced by SceneCues.
Definition at line 177 of file shop_test.c.
dbShopTestOpenWeaponShop
void dbShopTestOpenWeaponShop(Sint32 keeper)
The shops and the inn, each passed the keeper's actor id: Daila's weapon shop.
References mnShopRun() and Sint32.
Referenced by SceneCues.
Definition at line 185 of file shop_test.c.
dbShopTestOpenArmorShop
void dbShopTestOpenArmorShop(Sint32 keeper)
Daila's armor shop.
References mnShopRun() and Sint32.
Referenced by SceneCues.
Definition at line 191 of file shop_test.c.
dbShopTestOpenItemShop
void dbShopTestOpenItemShop(Sint32 keeper)
Daila's item shop.
References mnShopRun() and Sint32.
Referenced by SceneCues.
Definition at line 197 of file shop_test.c.
dbShopTestOpenGeneralStore
void dbShopTestOpenGeneralStore(Sint32 keeper)
Izumo's general store.
References mnShopRun() and Sint32.
Referenced by SceneCues.
Definition at line 203 of file shop_test.c.
dbShopTestOpenInn
void dbShopTestOpenInn(Sint32 keeper)
Daila's inn.
References mnInnCheckIn() and Sint32.
Referenced by SceneCues.
Definition at line 209 of file shop_test.c.
dbShopTestOpenSanctum
void dbShopTestOpenSanctum(Sint32 keeper)
Talking to ACTOR_SANCTUM_PRIEST opens the Sanctum.
References mnSanctumRun() and Sint32.
Referenced by SceneCues.
Definition at line 215 of file shop_test.c.
dbShopTestTalkToSunshine
void dbShopTestTalkToSunshine(Sint32 actor)
Sunshine, as in Yallam (scYallamRoomsTalkToSunshine) without his walk to the
anvil: while FLAG_FORGE_OPEN is set he forges what the party brings.
References fdMessageShowAtActor(), fdPartyGetLeaderActor(), fdScriptAskYesNoWithActorAnimation(), fdScriptGetFlag(), fdScriptSetFlag(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), fdScriptWait(), mnForgeGetItem(), mnForgeRun() and Sint32.
Referenced by SceneCues.
Definition at line 222 of file shop_test.c.
dbShopTestTalkToSunshinesWife
void dbShopTestTalkToSunshinesWife(Sint32 actor)
Sunshine's wife, as in Yallam (scYallamRoomsTalkToSunshinesWife): she hands
over what Sunshine made and takes the payment.
References fdItemDisplayShowItem(), fdMessageShowAtActor(), fdPartyGetLeaderActor(), fdPartyInventoryGiveItem(), fdScriptAskYesNoWithActorAnimation(), fdScriptGetFlag(), fdScriptSetMessageId(), fdScriptShowMessageAndWait(), gmItemGetDefinition(), gmPartyAdjustCoins(), gmPartyInventoryFindRoom(), MainRoutineStateWork, mnForgeGetItem(), mnForgeSetItem(), mnMessageArgumentPush() and Sint32.
Referenced by SceneCues.
Definition at line 285 of file shop_test.c.
dbShopTestOpenItemPicker
void dbShopTestOpenItemPicker(void)
Opens the item picker for an item to show, as Naribwe's fortune-teller asks for one, and discards the member and slot chosen.
References mnItemPickerRunToShow() and Sint32.
Referenced by SceneCues.
Definition at line 357 of file shop_test.c.
dbShopTestEditPartyNames
void dbShopTestEditPartyNames(void)
The name entry screen for each of the eight characters in turn.
References mnNameEntryEditMemberName() and Sint32.
Referenced by SceneCues.
Definition at line 365 of file shop_test.c.
dbShopTestGiveItemTo
static inline void dbShopTestGiveItemTo(Sint32 item, Sint32 owner)
Puts item in owner's bag.
References gmInventoryAddItem() and Sint32.
Referenced by dbShopTestGiveEquipmentTestStock().
Definition at line 374 of file shop_test.c.
dbShopTestGiveEquipmentTestStock
void dbShopTestGiveEquipmentTestStock(void)
Gives 777,777 coins, ten each of Game Tickets and Lucky Medals and test
equipment to Felix, Jenna, Sheba and Piers; then Isaac, Garet, Ivan and Mia
leave the party. Talking to ACTOR_TREASURE.
References dbShopTestGiveItemTo(), gmPartyRemoveMember(), MainRoutineStateWork, mnFieldMessageShow() and Sint32.
Referenced by SceneCues.
Definition at line 382 of file shop_test.c.
dbShopTestGiveDjinni
void dbShopTestGiveDjinni(Sint32 owner, Sint32 element, Sint32 djinn, Sint32 activate)
Gives an owner one Djinni, marks it found and sets it if activate is 1.
References gmDjinnGive(), gmDjinnSet(), Sint32 and syGameFlagSet().
Referenced by dbShopTestGivePartyDjinn().
Definition at line 829 of file shop_test.c.
scGetCues
const CUE *scGetCues(void)
References SceneCues.
Definition at line 898 of file shop_test.c.
scInit
Sint32 scInit(void)
Opens on the backdrop fade at the fast message speed, shows "..." over the
message browsers and a light bulb over ACTOR_LIGHT_BULB_A to
ACTOR_LIGHT_BULB_D, and brings Isaac's party in when the party came in by
ENTRANCE_WITH_ISAACS_PARTY.
References fdActorSetAnimationById(), gmPartyAddIsaacsParty(), MainRoutineStateWork and Sint32.
Definition at line 907 of file shop_test.c.
scPrepareMap
Sint32 scPrepareMap(void)
References Sint32.
Definition at line 928 of file shop_test.c.
dbShopTestRaisePartyLevels
void dbShopTestRaisePartyLevels(Sint32 levels)
Raises every party member levels levels.
References gmUnitCalculate(), gmUnitGet(), gmUnitLevelUpTo(), scFieldPartyListMembers() and Sint32.
Referenced by dbShopTestRunLevelEditor().
Definition at line 934 of file shop_test.c.
dbShopTestDigMetatiles
void dbShopTestDigMetatiles(Sint32 stage, Sint32 srcX, Sint32 srcY, Sint32 width, Sint32 height, Sint32 destX, Sint32 destY)
Unused: the Psynergy test's dbPsynergyTestDigMetatiles again.
References fdMapCopyMetatilesRect() and Sint32.
Definition at line 1140 of file shop_test.c.
dbShopTestGrowActor
void dbShopTestGrowActor(Sint32 stage, Sint32 id, Sint32 x, Sint32 z)
Unused: the Psynergy test's dbPsynergyTestGrowActor again.
References fdActorGetById(), Sint32 and sySynch().
Definition at line 1153 of file shop_test.c.
dbShopTestDropActor
void dbShopTestDropActor(Sint32 stage, Sint32 id, Sint32 x, Sint32 z)
Unused: the Psynergy test's dbPsynergyTestDropActor again.
References fdActorGetById(), Sint32 and sySynch().
Definition at line 1181 of file shop_test.c.
dbShopTestRaiseStatue
void dbShopTestRaiseStatue( Sint32 stage, Sint32 x, Sint32 z, Sint32 row, Sint32 column)
Unused: the Psynergy test's dbPsynergyTestRaiseStatue again, which starts the
battle with the formation at column of encounter zone row.
References fdActorGetById(), fdActorSetSpriteFlags(), fdRequestBattleFromEncounterTable(), MainRoutineStateWork, scFieldActorCreate(), Sint32, syImportActorCreate() and sySynch().
Definition at line 1198 of file shop_test.c.
Variables in detail
ShopTestLvLabel
char ShopTestLvLabel[4]
The level editor's label before a member's level, as
IncreaseItemAndLevelLvLabel.
Referenced by dbShopTestRunLevelEditor().
Definition at line 434 of file shop_test.c.
ShopTestItemPrompt
char ShopTestItemPrompt[12]
The item selector's prompt, before the item number.
Referenced by dbShopTestSelectItem().
Definition at line 437 of file shop_test.c.
ShopTestItemHelp
char ShopTestItemHelp[24]
The item selector's help line, while the bags have room.
Referenced by dbShopTestSelectItem().
Definition at line 440 of file shop_test.c.
ShopTestItemFull
char ShopTestItemFull[20]
The item selector's line when the party's bags are full.
Referenced by dbShopTestSelectItem().
Definition at line 443 of file shop_test.c.
SceneEntrances
SCENE_ENTRANCE SceneEntrances[]
Referenced by scGetEntrances().
Definition at line 445 of file shop_test.c.
ActorPlacements
ACTOR_PLACE ActorPlacements[]
The room's people, in SHOP_TEST_ACTOR_ID's order.
Referenced by scGetActorPlacements().
Definition at line 458 of file shop_test.c.
SceneCues
CUE SceneCues[]
References dbShopTestBrowseArmorShopMessages(), dbShopTestBrowseItemShopMessages(), dbShopTestBrowseSanctumMessages(), dbShopTestBrowseWeaponShopMessages(), dbShopTestDamageAndAfflictParty(), dbShopTestEditPartyNames(), dbShopTestGiveEquipmentTestStock(), dbShopTestGiveMuramasaAndSummon(), dbShopTestGivePartyDjinn(), dbShopTestNoOperation(), dbShopTestOpenArmorShop(), dbShopTestOpenGeneralStore(), dbShopTestOpenIconBrowser(), dbShopTestOpenInn(), dbShopTestOpenItemPicker(), dbShopTestOpenItemShop(), dbShopTestOpenPortraitBrowser(), dbShopTestOpenSanctum(), dbShopTestOpenWeaponShop(), dbShopTestRunLevelEditor(), dbShopTestSelectItem(), dbShopTestTalkToSunshine() and dbShopTestTalkToSunshinesWife().
Referenced by scGetCues().
Definition at line 696 of file shop_test.c.