File tree 23 files changed +43
-108
lines changed
EverGrandeCity_PokemonLeague_1F
FortreeCity_DecorationShop
LilycoveCity_DepartmentStore_2F
LilycoveCity_DepartmentStore_3F
LilycoveCity_DepartmentStore_4F
LilycoveCity_DepartmentStore_5F
Route104_PrettyPetalFlowerShop
23 files changed +43
-108
lines changed Original file line number Diff line number Diff line change 1108
1108
.4byte \products
1109
1109
.endm
1110
1110
1111
+ @ Used as the endpoint for a Pokemart item list
1112
+ .macro pokemartlistend
1113
+ .2byte ITEM_NONE
1114
+ release
1115
+ end
1116
+ .endm
1117
+
1111
1118
@ Opens the Pokemart system and treats the list of items as decorations.
1112
1119
@ Products should be a list of .2byte decoration values preceded by an .align 2
1113
1120
.macro pokemartdecoration products:req
Original file line number Diff line number Diff line change @@ -28,9 +28,7 @@ BattleFrontier_Mart_Pokemart:
28
28
.2byte ITEM_ZINC
29
29
.2byte ITEM_CARBOS
30
30
.2byte ITEM_HP_UP
31
- .2byte ITEM_NONE
32
- release
33
- end
31
+ pokemartlistend
34
32
35
33
BattleFrontier_Mart_EventScript_OldMan::
36
34
msgbox BattleFrontier_Mart_Text_ChaperonGrandson , MSGBOX_NPC
Original file line number Diff line number Diff line change @@ -45,9 +45,7 @@ EverGrandeCity_PokemonLeague_1F_Pokemart:
45
45
.2byte ITEM_FULL_HEAL
46
46
.2byte ITEM_REVIVE
47
47
.2byte ITEM_MAX_REPEL
48
- .2byte ITEM_NONE
49
- release
50
- end
48
+ pokemartlistend
51
49
52
50
@ The door guards only check for FLAG_BADGE06_GET because Winonas badge is the only one th at can be skipped
53
51
@ Its assumed the player has the remaining badges
Original file line number Diff line number Diff line change @@ -25,9 +25,7 @@ FallarborTown_Mart_Pokemart:
25
25
.2byte ITEM_X_DEFEND
26
26
.2byte ITEM_DIRE_HIT
27
27
.2byte ITEM_GUARD_SPEC
28
- .2byte ITEM_NONE
29
- release
30
- end
28
+ pokemartlistend
31
29
32
30
FallarborTown_Mart_EventScript_Woman::
33
31
msgbox FallarborTown_Mart_Text_DecidingSkittyEvolve , MSGBOX_NPC
Original file line number Diff line number Diff line change @@ -29,9 +29,7 @@ FortreeCity_DecorationShop_PokemartDecor_Desks:
29
29
.2byte DECOR_BRICK_DESK
30
30
.2byte DECOR_CAMP_DESK
31
31
.2byte DECOR_HARD_DESK
32
- .2byte DECOR_NONE
33
- release
34
- end
32
+ pokemartlistend
35
33
36
34
FortreeCity_DecorationShop_EventScript_ClerkChairs::
37
35
lock
@@ -53,9 +51,7 @@ FortreeCity_DecorationShop_PokemartDecor_Chairs:
53
51
.2byte DECOR_BRICK_CHAIR
54
52
.2byte DECOR_CAMP_CHAIR
55
53
.2byte DECOR_HARD_CHAIR
56
- .2byte DECOR_NONE
57
- release
58
- end
54
+ pokemartlistend
59
55
60
56
FortreeCity_DecorationShop_Text_MerchandiseSentToPC:
61
57
.string "Merchandise you buy here is sent to\n"
Original file line number Diff line number Diff line change @@ -23,9 +23,7 @@ FortreeCity_Mart_Pokemart:
23
23
.2byte ITEM_REVIVE
24
24
.2byte ITEM_SUPER_REPEL
25
25
.2byte ITEM_WOOD_MAIL
26
- .2byte ITEM_NONE
27
- release
28
- end
26
+ pokemartlistend
29
27
30
28
FortreeCity_Mart_EventScript_Woman::
31
29
msgbox FortreeCity_Mart_Text_SuperRepelBetter , MSGBOX_NPC
Original file line number Diff line number Diff line change @@ -17,9 +17,7 @@ LavaridgeTown_HerbShop_Pokemart:
17
17
.2byte ITEM_ENERGY_ROOT
18
18
.2byte ITEM_HEAL_POWDER
19
19
.2byte ITEM_REVIVAL_HERB
20
- .2byte ITEM_NONE
21
- release
22
- end
20
+ pokemartlistend
23
21
24
22
LavaridgeTown_HerbShop_EventScript_ExpertM::
25
23
msgbox LavaridgeTown_HerbShop_Text_HerbalMedicineWorksButMonWillDislike , MSGBOX_NPC
Original file line number Diff line number Diff line change @@ -22,9 +22,7 @@ LavaridgeTown_Mart_Pokemart:
22
22
.2byte ITEM_REVIVE
23
23
.2byte ITEM_SUPER_REPEL
24
24
.2byte ITEM_X_SPEED
25
- .2byte ITEM_NONE
26
- release
27
- end
25
+ pokemartlistend
28
26
29
27
LavaridgeTown_Mart_EventScript_ExpertM::
30
28
msgbox LavaridgeTown_Mart_Text_XSpeedFirstStrike , MSGBOX_NPC
Original file line number Diff line number Diff line change @@ -36,9 +36,7 @@ LilycoveCity_DepartmentStore_2F_Pokemart1:
36
36
.2byte ITEM_ICE_HEAL
37
37
.2byte ITEM_AWAKENING
38
38
.2byte ITEM_FLUFFY_TAIL
39
- .2byte ITEM_NONE
40
- release
41
- end
39
+ pokemartlistend
42
40
43
41
LilycoveCity_DepartmentStore_2F_EventScript_ClerkRight::
44
42
lock
@@ -62,9 +60,7 @@ LilycoveCity_DepartmentStore_2F_Pokemart2:
62
60
.2byte ITEM_MAX_REPEL
63
61
.2byte ITEM_WAVE_MAIL
64
62
.2byte ITEM_MECH_MAIL
65
- .2byte ITEM_NONE
66
- release
67
- end
63
+ pokemartlistend
68
64
69
65
LilycoveCity_DepartmentStore_2F_Text_LearnToUseItemsProperly:
70
66
.string "Learn to use items properly.\n"
Original file line number Diff line number Diff line change @@ -19,9 +19,7 @@ LilycoveCity_DepartmentStore_3F_Pokemart_Vitamins:
19
19
.2byte ITEM_ZINC
20
20
.2byte ITEM_CARBOS
21
21
.2byte ITEM_HP_UP
22
- .2byte ITEM_NONE
23
- release
24
- end
22
+ pokemartlistend
25
23
26
24
LilycoveCity_DepartmentStore_3F_EventScript_ClerkRight::
27
25
lock
@@ -42,9 +40,7 @@ LilycoveCity_DepartmentStore_3F_Pokemart_StatBoosters:
42
40
.2byte ITEM_DIRE_HIT
43
41
.2byte ITEM_GUARD_SPEC
44
42
.2byte ITEM_X_ACCURACY
45
- .2byte ITEM_NONE
46
- release
47
- end
43
+ pokemartlistend
48
44
49
45
LilycoveCity_DepartmentStore_3F_EventScript_TriathleteM::
50
46
msgbox LilycoveCity_DepartmentStore_3F_Text_ItemsBestForTougheningPokemon , MSGBOX_NPC
Original file line number Diff line number Diff line change @@ -29,9 +29,7 @@ LilycoveCity_DepartmentStore_4F_Pokemart_AttackTMs:
29
29
.2byte ITEM_TM_THUNDER
30
30
.2byte ITEM_TM_BLIZZARD
31
31
.2byte ITEM_TM_HYPER_BEAM
32
- .2byte ITEM_NONE
33
- release
34
- end
32
+ pokemartlistend
35
33
36
34
LilycoveCity_DepartmentStore_4F_EventScript_ClerkRight::
37
35
lock
@@ -49,9 +47,7 @@ LilycoveCity_DepartmentStore_4F_Pokemart_DefenseTMs:
49
47
.2byte ITEM_TM_SAFEGUARD
50
48
.2byte ITEM_TM_REFLECT
51
49
.2byte ITEM_TM_LIGHT_SCREEN
52
- .2byte ITEM_NONE
53
- release
54
- end
50
+ pokemartlistend
55
51
56
52
LilycoveCity_DepartmentStore_4F_Text_AttackOrDefenseTM:
57
53
.string "Hmm…\p"
Original file line number Diff line number Diff line change @@ -41,9 +41,7 @@ LilycoveCity_DepartmentStore_5F_Pokemart_Dolls:
41
41
.2byte DECOR_SKITTY_DOLL
42
42
.2byte DECOR_SWABLU_DOLL
43
43
.2byte DECOR_GULPIN_DOLL
44
- .2byte DECOR_NONE
45
- release
46
- end
44
+ pokemartlistend
47
45
48
46
LilycoveCity_DepartmentStore_5F_EventScript_ClerkMidLeft::
49
47
lock
@@ -66,9 +64,7 @@ LilycoveCity_DepartmentStore_5F_Pokemart_Cushions:
66
64
.2byte DECOR_GRASS_CUSHION
67
65
.2byte DECOR_FIRE_CUSHION
68
66
.2byte DECOR_WATER_CUSHION
69
- .2byte DECOR_NONE
70
- release
71
- end
67
+ pokemartlistend
72
68
73
69
LilycoveCity_DepartmentStore_5F_EventScript_ClerkMidRight::
74
70
lock
@@ -91,9 +87,7 @@ LilycoveCity_DepartmentStore_5F_Pokemart_Posters:
91
87
.2byte DECOR_LONG_POSTER
92
88
.2byte DECOR_SEA_POSTER
93
89
.2byte DECOR_SKY_POSTER
94
- .2byte DECOR_NONE
95
- release
96
- end
90
+ pokemartlistend
97
91
98
92
LilycoveCity_DepartmentStore_5F_EventScript_ClerkFarRight::
99
93
lock
@@ -117,9 +111,7 @@ LilycoveCity_DepartmentStore_5F_Pokemart_Mats:
117
111
.2byte DECOR_GLITTER_M AT
118
112
.2byte DECOR_JUMP_M AT
119
113
.2byte DECOR_SPIN_M AT
120
- .2byte DECOR_NONE
121
- release
122
- end
114
+ pokemartlistend
123
115
124
116
LilycoveCity_DepartmentStore_5F_EventScript_PokefanF::
125
117
msgbox LilycoveCity_DepartmentStore_5F_Text_PlaceFullOfCuteDolls , MSGBOX_NPC
Original file line number Diff line number Diff line change @@ -25,9 +25,7 @@ MauvilleCity_Mart_Pokemart:
25
25
.2byte ITEM_GUARD_SPEC
26
26
.2byte ITEM_DIRE_HIT
27
27
.2byte ITEM_X_ACCURACY
28
- .2byte ITEM_NONE
29
- release
30
- end
28
+ pokemartlistend
31
29
32
30
MauvilleCity_Mart_EventScript_ExpertM::
33
31
msgbox MauvilleCity_Mart_Text_ItemsToTemporarilyElevateStats , MSGBOX_NPC
Original file line number Diff line number Diff line change @@ -22,9 +22,7 @@ MossdeepCity_Mart_Pokemart:
22
22
.2byte ITEM_MAX_REPEL
23
23
.2byte ITEM_X_ATTACK
24
24
.2byte ITEM_X_DEFEND
25
- .2byte ITEM_NONE
26
- release
27
- end
25
+ pokemartlistend
28
26
29
27
MossdeepCity_Mart_EventScript_Woman::
30
28
msgbox MossdeepCity_Mart_Text_ReviveIsFantastic , MSGBOX_NPC
Original file line number Diff line number Diff line change @@ -18,9 +18,7 @@ OldaleTown_Mart_Pokemart_Basic:
18
18
.2byte ITEM_ANTIDOTE
19
19
.2byte ITEM_PARALYZE_HEAL
20
20
.2byte ITEM_AWAKENING
21
- .2byte ITEM_NONE
22
- release
23
- end
21
+ pokemartlistend
24
22
25
23
OldaleTown_Mart_ExpandedItems::
26
24
pokemart OldaleTown_Mart_Pokemart_Expanded
@@ -35,9 +33,7 @@ OldaleTown_Mart_Pokemart_Expanded:
35
33
.2byte ITEM_ANTIDOTE
36
34
.2byte ITEM_PARALYZE_HEAL
37
35
.2byte ITEM_AWAKENING
38
- .2byte ITEM_NONE
39
- release
40
- end
36
+ pokemartlistend
41
37
42
38
OldaleTown_Mart_EventScript_Woman::
43
39
lock
Original file line number Diff line number Diff line change @@ -25,9 +25,7 @@ PetalburgCity_Mart_Pokemart_Basic:
25
25
.2byte ITEM_X_ATTACK
26
26
.2byte ITEM_X_DEFEND
27
27
.2byte ITEM_ORANGE_MAIL
28
- .2byte ITEM_NONE
29
- release
30
- end
28
+ pokemartlistend
31
29
32
30
PetalburgCity_Mart_EventScript_ExpandedItems::
33
31
pokemart PetalburgCity_Mart_Pokemart_Expanded
@@ -50,9 +48,7 @@ PetalburgCity_Mart_Pokemart_Expanded:
50
48
.2byte ITEM_X_ATTACK
51
49
.2byte ITEM_X_DEFEND
52
50
.2byte ITEM_ORANGE_MAIL
53
- .2byte ITEM_NONE
54
- release
55
- end
51
+ pokemartlistend
56
52
57
53
PetalburgCity_Mart_EventScript_Woman::
58
54
msgbox PetalburgCity_Mart_Text_WeakWillGrowStronger , MSGBOX_NPC
Original file line number Diff line number Diff line change @@ -59,9 +59,7 @@ Route104_PrettyPetalFlowerShop_Pokemart_Plants:
59
59
.2byte DECOR_COLORFUL_PLANT
60
60
.2byte DECOR_BIG_PLANT
61
61
.2byte DECOR_GORGEOUS_PLANT
62
- .2byte DECOR_NONE
63
- release
64
- end
62
+ pokemartlistend
65
63
66
64
Route104_PrettyPetalFlowerShop_EventScript_WailmerPailGirl::
67
65
lock
Original file line number Diff line number Diff line change @@ -28,9 +28,7 @@ RustboroCity_Mart_Pokemart_Basic:
28
28
.2byte ITEM_X_SPEED
29
29
.2byte ITEM_X_ATTACK
30
30
.2byte ITEM_X_DEFEND
31
- .2byte ITEM_NONE
32
- release
33
- end
31
+ pokemartlistend
34
32
35
33
RustboroCity_Mart_EventScript_PokemartExpanded::
36
34
pokemart RustboroCity_Mart_Pokemart_Expanded
@@ -52,9 +50,7 @@ RustboroCity_Mart_Pokemart_Expanded:
52
50
.2byte ITEM_X_SPEED
53
51
.2byte ITEM_X_ATTACK
54
52
.2byte ITEM_X_DEFEND
55
- .2byte ITEM_NONE
56
- release
57
- end
53
+ pokemartlistend
58
54
59
55
RustboroCity_Mart_EventScript_PokefanF::
60
56
msgbox RustboroCity_Mart_Text_BuyingHealsInCaseOfShroomish , MSGBOX_NPC
Original file line number Diff line number Diff line change @@ -154,9 +154,7 @@ SlateportCity_Pokemart_EnergyGuru:
154
154
.2byte ITEM_ZINC
155
155
.2byte ITEM_CALCIUM
156
156
.2byte ITEM_HP_UP
157
- .2byte ITEM_NONE
158
- release
159
- end
157
+ pokemartlistend
160
158
161
159
SlateportCity_EventScript_EffortRibbonWoman::
162
160
lock
@@ -514,9 +512,7 @@ SlateportCity_PokemartDecor_Dolls:
514
512
.2byte DECOR_AZURILL_DOLL
515
513
.2byte DECOR_MARILL_DOLL
516
514
.2byte DECOR_SKITTY_DOLL
517
- .2byte DECOR_NONE
518
- release
519
- end
515
+ pokemartlistend
520
516
521
517
SlateportCity_EventScript_ComeBackWithSecretPower::
522
518
msgbox gText_ComeBackWithSecretPower , MSGBOX_DEFAULT
@@ -550,9 +546,7 @@ SlateportCity_PokemartDecor:
550
546
.2byte DECOR_A_NOTE_M AT
551
547
.2byte DECOR_B_NOTE_M AT
552
548
.2byte DECOR_C_HIGH_NOTE_M AT
553
- .2byte DECOR_NONE
554
- release
555
- end
549
+ pokemartlistend
556
550
557
551
SlateportCity_EventScript_PowerTMClerk::
558
552
lock
@@ -568,9 +562,7 @@ SlateportCity_EventScript_PowerTMClerk::
568
562
SlateportCity_Pokemart_PowerTMs:
569
563
.2byte ITEM_TM_HIDDEN_POWER
570
564
.2byte ITEM_TM_SECRET_POWER
571
- .2byte ITEM_NONE
572
- release
573
- end
565
+ pokemartlistend
574
566
575
567
@ Scene with Capt Sterns interview and Team Aqua announcing plans to steal Submarine
576
568
SlateportCity_EventScript_CaptStern::
Original file line number Diff line number Diff line change @@ -22,9 +22,7 @@ SlateportCity_Mart_Pokemart:
22
22
.2byte ITEM_ESCAPE_ROPE
23
23
.2byte ITEM_REPEL
24
24
.2byte ITEM_HARBOR_MAIL
25
- .2byte ITEM_NONE
26
- release
27
- end
25
+ pokemartlistend
28
26
29
27
SlateportCity_Mart_EventScript_BlackBelt::
30
28
msgbox SlateportCity_Mart_Text_SomeItemsOnlyAtMart , MSGBOX_NPC
Original file line number Diff line number Diff line change @@ -22,9 +22,7 @@ SootopolisCity_Mart_Pokemart:
22
22
.2byte ITEM_X_ATTACK
23
23
.2byte ITEM_X_DEFEND
24
24
.2byte ITEM_SHADOW_MAIL
25
- .2byte ITEM_NONE
26
- release
27
- end
25
+ pokemartlistend
28
26
29
27
SootopolisCity_Mart_EventScript_FatMan::
30
28
lock
Original file line number Diff line number Diff line change @@ -265,9 +265,7 @@ TrainerHill_Entrance_Pokemart_Basic:
265
265
.2byte ITEM_DIRE_HIT
266
266
.2byte ITEM_GUARD_SPEC
267
267
.2byte ITEM_X_ACCURACY
268
- .2byte ITEM_NONE
269
- release
270
- end
268
+ pokemartlistend
271
269
272
270
TrainerHill_Entrance_EventScript_ExpandedPokemart::
273
271
pokemart TrainerHill_Entrance_Pokemart_Expanded
@@ -289,9 +287,7 @@ TrainerHill_Entrance_Pokemart_Expanded:
289
287
.2byte ITEM_DIRE_HIT
290
288
.2byte ITEM_GUARD_SPEC
291
289
.2byte ITEM_X_ACCURACY
292
- .2byte ITEM_NONE
293
- release
294
- end
290
+ pokemartlistend
295
291
296
292
TrainerHill_Entrance_Text_StillGettingReady:
297
293
.string " This is the TRAINER HILL where\n "
You can’t perform that action at this time.
0 commit comments