Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
shops.c File Reference

Go to the source code of this file.

Enumerations

enum  PurchaseDialogState {
  PURCHASE_DIALOG_STATE_INIT = 0 , PURCHASE_DIALOG_STATE_NOT_ENOUGH_COINS = 1 , PURCHASE_DIALOG_STATE_NOT_ENOUGH_ROOM = 4 , PURCHASE_DIALOG_STATE_ACCEPTED = 5 ,
  PURCHASE_DIALOG_STATE_CANCEL = 6 , PURCHASE_DIALOG_STATE_EXEC_CALLBACK = 10 , PURCHASE_DIALOG_STATE_AWAIT_CALLBACK = 11 , PURCHASE_DIALOG_STATE_WAIT_FOR_SPEECH = 100
}
 
enum  { ITEM_POPUP_SELL = 0 , ITEM_POPUP_CHECK = 1 , ITEM_POPUP_CLAIM = 2 }
 

Functions

void create_shop_popup_menu (PopupMenu *popup)
 
s32 shop_get_sell_price (s32 itemID)
 
s32 shop_owner_begin_speech (s32 messageIndex)
 
s32 shop_owner_buy_dialog (s32 messageIndex, s32 itemName, s32 coinCost, s32 bpCost)
 
s32 shop_owner_continue_speech (s32 messageIndex)
 
s32 shop_owner_continue_speech_with_quantity (s32 messageIndex, s32 amount)
 
s32 shop_owner_reset_speech (s32 messageIndex)
 
s32 shop_owner_end_speech (void)
 
void shop_open_item_select_popup (s32 mode)
 
s32 shop_update_item_select_popup (s32 *selectedIndex)
 
void shop_close_item_select_popup (void)
 
void shop_draw_item_name (s32 arg0, s32 posX, s32 posY)
 
void shop_draw_item_desc (s32 arg0, s32 posX, s32 posY)
 
void draw_shop_items (void)
 

Variables

u8 MessagePlural []
 
u8 MessageSingular []
 
HudScript HES_ItemCoin
 
EvtScript EVS_ShopBeginSpeech
 
EvtScript EVS_ShopContinueSpeech
 
EvtScript EVS_ShopResetSpeech
 
EvtScript EVS_ShopEndSpeech
 
EvtScript EVS_ShopItemInteract
 
EvtScript EVS_ShopPurchaseDialog
 
EvtScript EVS_ShopOwnerDialog
 

Enumeration Type Documentation

◆ PurchaseDialogState

Enumerator
PURCHASE_DIALOG_STATE_INIT 
PURCHASE_DIALOG_STATE_NOT_ENOUGH_COINS 
PURCHASE_DIALOG_STATE_NOT_ENOUGH_ROOM 
PURCHASE_DIALOG_STATE_ACCEPTED 
PURCHASE_DIALOG_STATE_CANCEL 
PURCHASE_DIALOG_STATE_EXEC_CALLBACK 
PURCHASE_DIALOG_STATE_AWAIT_CALLBACK 
PURCHASE_DIALOG_STATE_WAIT_FOR_SPEECH 

Definition at line 246 of file shops.c.

246 {
255};
@ PURCHASE_DIALOG_STATE_CANCEL
Definition shops.c:251
@ PURCHASE_DIALOG_STATE_ACCEPTED
Definition shops.c:250
@ PURCHASE_DIALOG_STATE_NOT_ENOUGH_ROOM
Definition shops.c:249
@ PURCHASE_DIALOG_STATE_INIT
Definition shops.c:247
@ PURCHASE_DIALOG_STATE_AWAIT_CALLBACK
Definition shops.c:253
@ PURCHASE_DIALOG_STATE_EXEC_CALLBACK
Definition shops.c:252
@ PURCHASE_DIALOG_STATE_WAIT_FOR_SPEECH
Definition shops.c:254
@ PURCHASE_DIALOG_STATE_NOT_ENOUGH_COINS
Definition shops.c:248

◆ anonymous enum

anonymous enum
Enumerator
ITEM_POPUP_SELL 
ITEM_POPUP_CHECK 
ITEM_POPUP_CLAIM 

Definition at line 376 of file shops.c.

376 {
377 ITEM_POPUP_SELL = 0,
380};
@ ITEM_POPUP_CLAIM
Definition shops.c:379
@ ITEM_POPUP_CHECK
Definition shops.c:378
@ ITEM_POPUP_SELL
Definition shops.c:377

Function Documentation

◆ create_shop_popup_menu()

void create_shop_popup_menu ( PopupMenu * popup)

Definition at line 2279 of file 8a860_len_3f30.c.

2279 {
2280 gPopupMenu = popup;
2281
2283 popup->dipMode = 0;
2284 popup->titleNumber = 0;
2286 PopupDipMode = 0;
2287 PopupNotDipping = TRUE;
2290 PopupDipMode = 1;
2293 PopupDipMode = 2;
2294 }
2295 PopupNotDipping = FALSE;
2296 }
2297
2298 PopupNotBattle = TRUE;
2304 }
2308
2311 }
2312
2316 }
2317
2318 PopupMenu_Alpha = 255;
2319 D_8010D691 = 4;
2320 D_8010D692 = 6;
2321 gPopupWorker = create_worker_frontUI((void (*) (void)) popup_menu_update, NULL);
2322}
BSS s32 PopupMenu_PrevSelectedIndex
BSS s8 D_8010D692
BSS s8 PopupNotBattle
BSS s32 PopupMenu_Alpha
BSS s8 PopupMenu_FirstDisplayIndex
BSS s8 PopupMenu_DisplayedEntryCount
s32 popup_menu_update(void)
BSS s8 PopupDipMode
BSS s8 PopupNotDipping
BSS s32 gPopupWorker
BSS s8 PopupMenu_LastDisplayIndex
s8 status_bar_is_ignoring_changes(void)
Definition inventory.c:1512
BSS s8 D_8010D691
BSS s32 gPopupState
BSS s32 PopupMenu_SelectedIndex
BSS s8 PopupMenu_WasStatusBarIgnoringChanges
BSS PopupMenu * gPopupMenu
BSS s8 PopupMenu_MaxDisplayableEntryCount
@ POPUP_MENU_DOUBLE_DIP
Definition enums.h:3145
@ POPUP_RESULT_CHOOSING
Definition enums.h:3177
@ POPUP_STATE_INIT
Definition enums.h:3150
s32 create_worker_frontUI(void(*updateFunc)(void), void(*drawFunc)(void))
Definition worker.c:63
s32 titleNumber

Referenced by shop_open_item_select_popup().

◆ shop_get_sell_price()

s32 shop_get_sell_price ( s32 itemID)

Definition at line 463 of file shops.c.

463 {
464 Shop* shop = gGameStatusPtr->mapShop;
465 s32 numItems = shop->numSpecialPrices;
466 ShopSellPriceData* items = shop->staticPriceList;
467 s32 i;
468
469 for (i = 0; i < numItems; i++) {
470 if (items[i].itemID == itemID) {
471 return items[i].sellPrice;
472 }
473 }
474
475 return gItemTable[itemID].sellValue;
476}
struct Shop * mapShop
ShopSellPriceData * staticPriceList
s16 numSpecialPrices
ItemData gItemTable[]
GameStatus * gGameStatusPtr
Definition main_loop.c:32

Referenced by shop_open_item_select_popup().

◆ shop_owner_begin_speech()

s32 shop_owner_begin_speech ( s32 messageIndex)

Definition at line 82 of file shops.c.

82 {
84 s32 shopMsgID = shop->owner->shopMsgIDs[messageIndex];
86
87 script->varTable[0] = shopMsgID;
88 script->varTable[1] = shop->owner->npcID;
89 script->varTable[2] = shop->owner->talkAnim;
90 script->varTable[3] = shop->owner->idleAnim;
91
92 return script->id;
93}
@ EVT_PRIORITY_1
Definition evt.h:152
Evt * start_script(EvtScript *source, s32 priority, s32 initialState)
ShopOwner * owner
EvtScript EVS_ShopBeginSpeech
Definition shops.c:23

◆ shop_owner_buy_dialog()

s32 shop_owner_buy_dialog ( s32 messageIndex,
s32 itemName,
s32 coinCost,
s32 bpCost )

Definition at line 95 of file shops.c.

95 {
97 s32 shopMsgID = shop->owner->shopMsgIDs[messageIndex];
98 Evt* script;
99 u8* suffix;
100
101 set_message_text_var(itemName, 0);
102 set_message_int_var(coinCost, 1);
103
104 if (bpCost > 0) {
105 set_message_int_var(bpCost, 2);
106#if !VERSION_JP
107 } else {
108 if (coinCost == 1) {
109 suffix = MessageSingular;
110 } else {
111 suffix = MessagePlural;
112 }
113 set_message_text_var((s32) suffix, 2);
114#endif
115 }
116
118 script->varTable[0] = shopMsgID;
119 script->varTable[1] = shop->owner->npcID;
120 script->varTable[2] = shop->owner->talkAnim;
121 script->varTable[3] = shop->owner->idleAnim;
122
123 return script->id;
124}
void set_message_int_var(s32 value, s32 index)
Definition msg.c:1550
void set_message_text_var(s32 msgID, s32 index)
Definition msg.c:1520
u8 MessageSingular[]
Definition msg.c:48
u8 MessagePlural[]
Definition msg.c:42

◆ shop_owner_continue_speech()

s32 shop_owner_continue_speech ( s32 messageIndex)

Definition at line 126 of file shops.c.

126 {
127 Shop* shop = gGameStatusPtr->mapShop;
128 s32 shopMsgID = shop->owner->shopMsgIDs[messageIndex];
130
131 script->varTable[0] = shopMsgID;
132 script->varTable[1] = shop->owner->npcID;
133 script->varTable[2] = shop->owner->talkAnim;
134 script->functionTemp[3] = script->varTable[3] = shop->owner->idleAnim;
135
136 return script->id;
137}
EvtScript EVS_ShopContinueSpeech
Definition shops.c:29

◆ shop_owner_continue_speech_with_quantity()

s32 shop_owner_continue_speech_with_quantity ( s32 messageIndex,
s32 amount )

Definition at line 139 of file shops.c.

139 {
140 Shop* shop = gGameStatusPtr->mapShop;
141 s32 shopMsgID = shop->owner->shopMsgIDs[messageIndex];
142 u8* suffixMsg;
143 Evt* script;
144
145 set_message_int_var(amount, 0);
146
147#if !VERSION_JP
148 if (amount == 1) {
149 suffixMsg = MessageSingular;
150 } else {
151 suffixMsg = MessagePlural;
152 }
153
154 set_message_text_var((s32) suffixMsg, 1);
155#endif
156
158 script->varTable[0] = shopMsgID;
159 script->varTable[1] = shop->owner->npcID;
160 script->varTable[2] = shop->owner->talkAnim;
161 script->functionTemp[3] = script->varTable[3] = shop->owner->idleAnim;
162
163 return script->id;
164}

◆ shop_owner_reset_speech()

s32 shop_owner_reset_speech ( s32 messageIndex)

Definition at line 166 of file shops.c.

166 {
167 Shop* shop = gGameStatusPtr->mapShop;
168 s32 shopMsgID = shop->owner->shopMsgIDs[messageIndex];
170
171 script->varTable[0] = shopMsgID;
172 script->varTable[1] = shop->owner->npcID;
173 script->varTable[2] = shop->owner->talkAnim;
174 script->functionTemp[3] = script->varTable[3] = shop->owner->idleAnim;
175
176 return script->id;
177}
EvtScript EVS_ShopResetSpeech
Definition shops.c:35

◆ shop_owner_end_speech()

s32 shop_owner_end_speech ( void )

Definition at line 179 of file shops.c.

179 {
180 Shop* shop = gGameStatusPtr->mapShop;
182
183 script->varTable[0] = shop->owner->npcID;
184 script->varTable[1] = shop->owner->talkAnim;
185 script->functionTemp[3] = script->varTable[2] = shop->owner->idleAnim;
186
187 return script->id;
188}
EvtScript EVS_ShopEndSpeech
Definition shops.c:42

◆ shop_open_item_select_popup()

void shop_open_item_select_popup ( s32 mode)

Definition at line 382 of file shops.c.

382 {
384 s16* itemArray;
385 s32 numItemSlots;
386 s32 popupType;
387 s32 numEntries;
388 s32 i;
389
390 switch (mode) {
391 case ITEM_POPUP_SELL:
392 popupType = POPUP_MENU_SELL_ITEM;
393 numItemSlots = ARRAY_COUNT(gPlayerData.invItems);
394 itemArray = gPlayerData.invItems;
395 break;
396 case ITEM_POPUP_CHECK:
397 popupType = POPUP_MENU_CHECK_ITEM;
398 numItemSlots = ARRAY_COUNT(gPlayerData.invItems);
399 itemArray = gPlayerData.invItems;
400 break;
401 case ITEM_POPUP_CLAIM:
402 default:
403 popupType = POPUP_MENU_CLAIM_ITEM;
404 numItemSlots = ARRAY_COUNT(gPlayerData.storedItems);
405 itemArray = gPlayerData.storedItems;
406 break;
407 }
408
409 numEntries = 0;
410
411 for (i = 0; i < numItemSlots; i++) {
412 s32 itemID = itemArray[i];
413 if (itemID == ITEM_NONE) {
414 continue;
415 }
416 ItemData* itemData = &gItemTable[itemID];
417
418 menu->ptrIcon[numEntries] = gItemHudScripts[itemData->hudElemID].enabled;
419 menu->userIndex[numEntries] = i;
420 menu->enabled[numEntries] = TRUE;
421 menu->nameMsg[numEntries] = itemData->nameMsg;
422 menu->descMsg[numEntries] = itemData->shortDescMsg;
423 menu->value[numEntries] = shop_get_sell_price(itemID);
424 numEntries++;
425 }
426
427 menu->popupType = popupType;
428 menu->numEntries = numEntries;
429 menu->initialPos = 0;
434}
IconHudScriptPair gItemHudScripts[]
s16 storedItems[32]
s16 invItems[10]
@ POPUP_MENU_SELL_ITEM
Definition enums.h:3136
@ POPUP_MENU_CHECK_ITEM
Definition enums.h:3137
@ POPUP_MENU_CLAIM_ITEM
Definition enums.h:3138
void status_bar_ignore_changes(void)
Definition inventory.c:1497
void open_status_bar_quickly(void)
Definition inventory.c:1430
void status_bar_always_show_on(void)
Definition inventory.c:1518
s32 userIndex[32]
PopupMenu itemSelectMenu
s32 nameMsg[32]
HudScript * ptrIcon[32]
s32 value[32]
s32 enabled[32]
HudScript * enabled
s32 descMsg[32]
#define ARRAY_COUNT(arr)
Definition macros.h:40
s32 shop_get_sell_price(s32 itemID)
Definition shops.c:463
void create_shop_popup_menu(PopupMenu *popup)
PlayerData gPlayerData
Definition 77480.c:40

◆ shop_update_item_select_popup()

s32 shop_update_item_select_popup ( s32 * selectedIndex)

Definition at line 436 of file shops.c.

436 {
437 Shop* shop = gGameStatusPtr->mapShop;
438 PopupMenu* menu = &shop->itemSelectMenu;
439 s16 menuResult = shop->itemSelectMenu.result;
440
441 if (menuResult == POPUP_RESULT_CHOOSING) {
442 return 0;
443 }
444
446
447 if (menuResult == POPUP_RESULT_CANCEL) {
448 *selectedIndex = -1;
449 } else {
450 *selectedIndex = menu->userIndex[menuResult - 1];
451 }
452
453 return 1;
454}
@ POPUP_RESULT_CANCEL
Definition enums.h:3178
void hide_popup_menu(void)

◆ shop_close_item_select_popup()

void shop_close_item_select_popup ( void )

Definition at line 456 of file shops.c.

456 {
461}
void close_status_bar(void)
Definition inventory.c:1440
void destroy_popup_menu(void)
void status_bar_always_show_off(void)
Definition inventory.c:1522
void status_bar_respond_to_changes(void)
Definition inventory.c:1508

◆ shop_draw_item_name()

void shop_draw_item_name ( s32 arg0,
s32 posX,
s32 posY )

Definition at line 776 of file shops.c.

776 {
777 Shop* shop = gGameStatusPtr->mapShop;
778 ShopItemData* siItem = &shop->staticInventory[shop->curItemSlot];
779 ItemData* shopItem = &gItemTable[siItem->itemID];
780
781 draw_msg(shopItem->nameMsg, posX + 60 - (get_msg_width(shopItem->nameMsg, 0) >> 1), posY + 6, 255, MSG_PAL_WHITE, 0);
782}
#define get_msg_width
#define draw_msg
@ MSG_PAL_WHITE
Definition enums.h:5405
s32 curItemSlot
ShopItemData * staticInventory

◆ shop_draw_item_desc()

void shop_draw_item_desc ( s32 arg0,
s32 posX,
s32 posY )

Definition at line 784 of file shops.c.

784 {
785 Shop* shop = gGameStatusPtr->mapShop;
786 ShopItemData* shopItem = &shop->staticInventory[shop->curItemSlot];
787
788 draw_msg(shopItem->descMsg, posX + 8, posY, 255, MSG_PAL_STANDARD, 0);
789}
@ MSG_PAL_STANDARD
Definition enums.h:5415

◆ draw_shop_items()

void draw_shop_items ( void )

Definition at line 791 of file shops.c.

791 {
792 Shop* shop = gGameStatusPtr->mapShop;
793 ShopItemData* itemData;
794 Camera* camera;
795 s32 i;
796 s32 xTemp;
797 s32 yTemp;
798 s32 xOffset;
799 f32 x, y, z, s;
800 f32 inX, inY, inZ;
801 ShopItemEntity* shopItemEntities;
802
806 } else {
809 }
810
812 camera = &gCameras[gCurrentCameraID];
813 itemData = shop->staticInventory;
814 shopItemEntities = gGameStatusPtr->shopItemEntities;
815
816 for (i = 0; i < shop->numItems; i++, itemData++, shopItemEntities++) {
817 inX = shopItemEntities->pos.x;
818 inY = shopItemEntities->pos.y + 30.0f;
819 inZ = shopItemEntities->pos.z;
820
821 transform_point(camera->mtxPerspective, inX, inY, inZ, 1.0f, &x, &y, &z, &s);
822
823 s = 1.0f / s;
824
825 x *= s;
826 y *= -s;
827 z = (z * s + 1.0f) * 0.5;
828
829 if (z > 0.0f && z < 1.0f) {
830 xTemp = (((x * camera->viewportW) + camera->viewportW) * 0.5) + camera->viewportStartX;
831 yTemp = (((y * camera->viewportH) + camera->viewportH) * 0.5) + camera->viewportStartY;
832
833 if (itemData->price < 100) {
834 xOffset = -4;
835 } else {
836 xOffset = 0;
837 }
838
839 if (!(get_item_entity(shopItemEntities->index)->flags & ITEM_ENTITY_FLAG_HIDDEN)) {
840 draw_number(itemData->price, xTemp + xOffset, yTemp, DRAW_NUMBER_CHARSET_THIN, MSG_PAL_WHITE, 255, 0);
841 }
842
843 if (i == shop->curItemSlot) {
844 hud_element_set_render_pos(shop->costIconID, (xTemp + xOffset) - 6, yTemp + 5);
847 }
848 }
849 }
850 }
851
852 if (shop->unk_358 > 0) {
853 shop->unk_358--;
854 } else {
855 shop->flags &= ~SHOP_FLAG_SHOWING_ITEM_INFO;
857 }
858}
ShopItemEntity * shopItemEntities
#define transform_point
@ ITEM_ENTITY_FLAG_HIDDEN
Definition enums.h:2700
@ DRAW_NUMBER_CHARSET_THIN
Definition enums.h:5401
@ SHOP_FLAG_SHOWING_ITEM_INFO
Definition enums.h:4946
@ WIN_SHOP_ITEM_DESC
Definition enums.h:5252
@ WIN_SHOP_ITEM_NAME
Definition enums.h:5251
void basic_hidden_window_update(s32 windowIndex, s32 *flags, s32 *posX, s32 *posY, s32 *posZ, f32 *scaleX, f32 *scaleY, f32 *rotX, f32 *rotY, f32 *rotZ, s32 *darkening, s32 *opacity)
Definition windows.c:184
void set_window_update(s32 panelID, s32)
Definition windows.c:434
ItemEntity * get_item_entity(s32 itemEntityIndex)
void basic_window_update(s32 windowIndex, s32 *flags, s32 *posX, s32 *posY, s32 *posZ, f32 *scaleX, f32 *scaleY, f32 *rotX, f32 *rotY, f32 *rotZ, s32 *darkening, s32 *opacity)
Definition windows.c:161
void draw_number(s32 value, s32 x, s32 y, s32 variableWidthChars, s32 palette, s32 opacity, u16 style)
Definition msg.c:2223
void hud_element_set_scale(s32 index, f32 scale)
void hud_element_set_render_pos(s32 id, s32 x, s32 y)
void hud_element_draw_clipped(s32 id)
s16 numItems
s32 costIconID
s32 unk_358
s16 flags
s16 viewportStartX
s16 viewportStartY
Matrix4f mtxPerspective
Camera gCameras[4]
Definition cam_main.c:17
s32 gCurrentCameraID
Definition cam_math.c:4

Variable Documentation

◆ MessagePlural

u8 MessagePlural[]
extern

Definition at line 42 of file msg.c.

@ MSG_CHAR_LOWER_S
Definition enums.h:5939
@ MSG_CHAR_READ_END
Definition enums.h:6056

Referenced by shop_owner_buy_dialog(), and shop_owner_continue_speech_with_quantity().

◆ MessageSingular

u8 MessageSingular[]
extern

Definition at line 48 of file msg.c.

Referenced by shop_owner_buy_dialog(), and shop_owner_continue_speech_with_quantity().

◆ HES_ItemCoin

HudScript HES_ItemCoin
extern

◆ EVS_ShopBeginSpeech

EvtScript EVS_ShopBeginSpeech
Initial value:
= {
}
#define SpeakToPlayer(ARGS...)
Definition msg_api.h:6
#define End
Signals the end of EVT script data. A script missing this will likely crash on load.
Definition macros.h:213
#define LVar2
Definition macros.h:150
#define LVar1
Definition macros.h:149
#define Call(FUNC, ARGS...)
Calls a given C EVT API function with any number of arguments.
Definition macros.h:576
#define LVar3
Definition macros.h:151
#define LVar0
Definition macros.h:148
#define Return
Kills the current EVT thread.
Definition macros.h:217

Definition at line 23 of file shops.c.

23 {
25 Return
26 End
27};

Referenced by shop_owner_begin_speech(), and shop_owner_buy_dialog().

◆ EVS_ShopContinueSpeech

EvtScript EVS_ShopContinueSpeech
Initial value:
= {
}
#define ContinueSpeech(ARGS...)
Definition msg_api.h:14

Definition at line 29 of file shops.c.

29 {
31 Return
32 End
33};

Referenced by shop_owner_continue_speech(), and shop_owner_continue_speech_with_quantity().

◆ EVS_ShopResetSpeech

EvtScript EVS_ShopResetSpeech
Initial value:
= {
}
#define EndSpeech(ARGS...)
Definition msg_api.h:10

Definition at line 35 of file shops.c.

35 {
38 Return
39 End
40};

Referenced by shop_owner_reset_speech().

◆ EVS_ShopEndSpeech

EvtScript EVS_ShopEndSpeech
Initial value:

Definition at line 42 of file shops.c.

42 {
44 Return
45 End
46};

Referenced by shop_owner_end_speech().

◆ EVS_ShopItemInteract

EvtScript EVS_ShopItemInteract
Initial value:
= {
Goto(10)
Goto(10)
Goto(10)
Label(10)
Call(CanInteractWithShopItem)
Call(BeginShopItemInteraction, LVar0)
}
@ PARTNER_NONE
Definition enums.h:2885
@ PARTNER_BOMBETTE
Definition enums.h:2888
@ PARTNER_KOOPER
Definition enums.h:2887
ApiStatus GetPartnerInUse(Evt *script, b32 isInitialCall)
#define IfFalse(b)
Definition macros.h:646
#define Goto(LABEL_ID)
Moves execution to the given label.
Definition macros.h:232
#define Label(LABEL_ID)
Marks this point in the script as a Goto target.
Definition macros.h:227
#define EndIf
Marks the end of an if statement or an else block.
Definition macros.h:298
#define IfEq(LVAR, RVAR)
Marks the beginning of an if statement that only executes if LVAR == RVAR.
Definition macros.h:269

Definition at line 48 of file shops.c.

48 {
51 Goto(10)
52 EndIf
54 Goto(10)
55 EndIf
57 Goto(10)
58 EndIf
59 Return
60 Label(10)
61 Call(CanInteractWithShopItem)
63 Return
64 EndIf
65 Call(BeginShopItemInteraction, LVar0)
66 Return
67 End
68};

◆ EVS_ShopPurchaseDialog

EvtScript EVS_ShopPurchaseDialog
Initial value:
= {
Call(ShowShopPurchaseDialog, LVar0)
}

Definition at line 70 of file shops.c.

70 {
71 Call(ShowShopPurchaseDialog, LVar0)
72 Return
73 End
74};

◆ EVS_ShopOwnerDialog

EvtScript EVS_ShopOwnerDialog
Initial value:
= {
Call(ShowShopOwnerDialog)
}

Definition at line 76 of file shops.c.

76 {
77 Call(ShowShopOwnerDialog)
78 Return
79 End
80};