Document map scripts for Sandgem Mart (#776)
Some checks failed
build / build (push) Has been cancelled

This commit is contained in:
innocenthedgehog 2025-09-21 01:40:01 +01:00 committed by GitHub
parent 29faf16275
commit e2fcab79a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
29 changed files with 62 additions and 58 deletions

View File

@ -3253,6 +3253,10 @@
CallCommonScript 0x7D2
.endm
.macro GenericVendorGreeting
CallCommonScript 0x7E3
.endm
.macro PlayElevatorAnimation elevatorDir, loopCount
.short 572
.short \elevatorDir

View File

@ -12,7 +12,7 @@ _0012:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
PokeMartCommon
ReleaseAll
@ -22,7 +22,7 @@ _0028:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
PokeMartSpecialties MART_SPECIALTIES_ID_CANALAVE
ReleaseAll

View File

@ -13,7 +13,7 @@ _0012:
LockAll
FacePlayer
Message 0
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
PokeMartCommon
ReleaseAll
@ -23,7 +23,7 @@ _002B:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
PokeMartCommon
ReleaseAll
@ -33,7 +33,7 @@ _0041:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
PokeMartSpecialties MART_SPECIALTIES_ID_CELESTIC
ReleaseAll

View File

@ -1141,7 +1141,7 @@ _0FA7:
End
CommonScript_VendorGreetingGeneric:
Message pl_msg_00000213_00037
Message CommonStrings_Text_VendorGreetingGeneric
ReturnCommonScript
End

View File

@ -12,7 +12,7 @@ _0012:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
PokeMartCommon
ReleaseAll
@ -22,7 +22,7 @@ _0028:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
PokeMartSpecialties MART_SPECIALTIES_ID_ETERNA_MART
ReleaseAll

View File

@ -12,7 +12,7 @@ _0012:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
PokeMartCommon
ReleaseAll

View File

@ -12,7 +12,7 @@ _0012:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
PokeMartCommon
ReleaseAll
@ -22,7 +22,7 @@ _0028:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
PokeMartSpecialties MART_SPECIALTIES_ID_FLOAROMA
ReleaseAll

View File

@ -12,7 +12,7 @@ _0012:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
PokeMartCommon
ReleaseAll
@ -22,7 +22,7 @@ _0028:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
PokeMartSpecialties MART_SPECIALTIES_ID_HEARTHOME
ReleaseAll

View File

@ -13,7 +13,7 @@ _0016:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
PokeMartCommon
ReleaseAll
@ -23,7 +23,7 @@ _002C:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
PokeMartSpecialties MART_SPECIALTIES_ID_JUBILIFE
ReleaseAll

View File

@ -12,7 +12,7 @@ _0012:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
PokeMartCommon
ReleaseAll
@ -22,7 +22,7 @@ _0028:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
PokeMartSpecialties MART_SPECIALTIES_ID_OREBURGH
ReleaseAll

View File

@ -13,7 +13,7 @@ _0016:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
PokeMartCommon
ReleaseAll
@ -23,7 +23,7 @@ _002C:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
PokeMartSpecialties MART_SPECIALTIES_ID_PASTORIA
ReleaseAll

View File

@ -100,7 +100,7 @@ _0128:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
PokeMartCommon
ReleaseAll
@ -110,7 +110,7 @@ _013E:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
PokeMartSpecialties MART_SPECIALTIES_ID_POKEMON_LEAGUE
ReleaseAll

View File

@ -22,7 +22,7 @@ _002C:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
PokeMartCommon
ReleaseAll
@ -32,7 +32,7 @@ _0042:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
PokeMartSpecialties MART_SPECIALTIES_ID_POKEMON_LEAGUE
ReleaseAll

View File

@ -9,7 +9,7 @@ _000A:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
PokeMartCommon
ReleaseAll

View File

@ -2,40 +2,40 @@
#include "res/text/bank/sandgem_town_mart.h"
ScriptEntry _0012
ScriptEntry _0028
ScriptEntry _002A
ScriptEntry _003D
ScriptEntry SandgemTownMart_Vendor
ScriptEntry SandgemTownMart_Dummy
ScriptEntry SandgemTownMart_Breeder
ScriptEntry SandgemTownMart_SchoolBoy
ScriptEntryEnd
_0012:
SandgemTownMart_Vendor:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
PokeMartCommon 0
ReleaseAll
End
_0028:
SandgemTownMart_Dummy:
End
_002A:
SandgemTownMart_Breeder:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
Message 0
Message SandgemTownMart_Text_BuyLotsOfPotions
WaitABXPadPress
CloseMessage
ReleaseAll
End
_003D:
SandgemTownMart_SchoolBoy:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
Message 1
Message SandgemTownMart_Text_TossAPokeBall
WaitABXPadPress
CloseMessage
ReleaseAll

View File

@ -12,7 +12,7 @@ _0012:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
PokeMartCommon
ReleaseAll
@ -22,7 +22,7 @@ _0028:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
PokeMartSpecialties MART_SPECIALTIES_ID_SNOWPOINT
ReleaseAll

View File

@ -12,7 +12,7 @@ _0012:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
PokeMartCommon
ReleaseAll
@ -22,7 +22,7 @@ _0028:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
PokeMartSpecialties MART_SPECIALTIES_ID_SOLACEON
ReleaseAll

View File

@ -610,7 +610,7 @@ _0791:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
GetDayOfWeek VAR_RESULT
SetVar VAR_0x8008, VAR_RESULT

View File

@ -12,7 +12,7 @@ _0012:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
PokeMartCommon
ReleaseAll
@ -22,7 +22,7 @@ _0028:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
PokeMartSpecialties MART_SPECIALTIES_ID_SUNYSHORE
ReleaseAll

View File

@ -70,7 +70,7 @@ SunyshoreMarket_SealShop:
CheckItem ITEM_SEAL_CASE, 1, VAR_RESULT
GoToIfEq VAR_RESULT, FALSE, SunyshoreMarket_NoSealCase
Message SunyshoreMarket_Text_ALittleTimeIfYouWill
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
Call SunyshoreMarket_OpenSealShopMenu
ReleaseAll

View File

@ -12,7 +12,7 @@ _0012:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
PokeMartCommon
ReleaseAll

View File

@ -9,7 +9,7 @@ _000A:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
PokeMartCommon
ReleaseAll
@ -19,7 +19,7 @@ _0020:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
PokeMartSpecialties MART_SPECIALTIES_ID_CELESTIC
ReleaseAll

View File

@ -46,7 +46,7 @@ _005B:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
PokeMartSpecialties MART_SPECIALTIES_ID_VEILSTONE_1F_RIGHT
ReleaseAll
@ -56,7 +56,7 @@ _0071:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
PokeMartSpecialties MART_SPECIALTIES_ID_VEILSTONE_1F_LEFT
ReleaseAll

View File

@ -150,7 +150,7 @@ _0198:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
PokeMartSpecialties MART_SPECIALTIES_ID_VEILSTONE_2F_UP
ReleaseAll
@ -160,7 +160,7 @@ _01AE:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
PokeMartSpecialties MART_SPECIALTIES_ID_VEILSTONE_2F_MID
ReleaseAll

View File

@ -108,7 +108,7 @@ _0127:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
PokeMartSpecialties MART_SPECIALTIES_ID_VEILSTONE_3F_UP
ReleaseAll
@ -118,7 +118,7 @@ _013D:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
PokeMartSpecialties MART_SPECIALTIES_ID_VEILSTONE_3F_DOWN
ReleaseAll

View File

@ -108,7 +108,7 @@ _0127:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
PokeMartDecor MART_DECOR_ID_VEILSTONE_4F_UP
ReleaseAll
@ -118,7 +118,7 @@ _013D:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
PokeMartDecor MART_DECOR_ID_VEILSTONE_4F_DOWN
ReleaseAll

View File

@ -106,7 +106,7 @@ _00E8:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
CallCommonScript 0x7E3
GenericVendorGreeting
CloseMessageWithoutErasing
PokeMartSpecialties MART_SPECIALTIES_ID_VEILSTONE_B1F
ReleaseAll

View File

@ -256,7 +256,7 @@
]
},
{
"id": "pl_msg_00000213_00037",
"id": "CommonStrings_Text_VendorGreetingGeneric",
"en_US": [
"Welcome!\n",
"What do you need?"

View File

@ -2,7 +2,7 @@
"key": 53008,
"messages": [
{
"id": "pl_msg_00000562_00000",
"id": "SandgemTownMart_Text_BuyLotsOfPotions",
"en_US": [
"If a Pokémon loses all its HP,\n",
"it cant battle anymore.\r",
@ -11,7 +11,7 @@
]
},
{
"id": "pl_msg_00000562_00001",
"id": "SandgemTownMart_Text_TossAPokeBall",
"en_US": [
"If you come across a Pokémon youve\n",
"just gotta have, toss a Poké Ball!\r",