Skip to content

Free MORE some space in the Home BANK

Gnome67 edited this page Feb 10, 2024 · 3 revisions

Follow this tutorial too: Free some space in the Home BANK

Code by Rangi42 (in Red Star/Blue Star).

home.asm:

...
INCLUDE "home/timer.asm"
INCLUDE "home/audio.asm"
INCLUDE "home/update_sprites.asm"

-INCLUDE "data/items/marts.asm"

INCLUDE "home/overworld_text.asm"
INCLUDE "home/uncompress.asm"
INCLUDE "home/reset_player_sprite.asm"
...

scripts\ViridianMart.asm:

...
ViridianMartText3:
    text_far _ViridianMartText3
    text_end

+ViridianClerkText:
+   script_mart POKE_BALL, ANTIDOTE, PARLYZ_HEAL, BURN_HEAL

scripts\PewterMart.asm:

...
PewterMartText3:
...
.Text
	text_far _PewterMartText3
	text_end

+PewterClerkText:
+	script_mart POKE_BALL, POTION, ESCAPE_ROPE, ANTIDOTE, BURN_HEAL, AWAKENING, PARLYZ_HEAL

scripts\CeruleanMart.asm:

...
CeruleanMartText3:
	text_far _CeruleanMartText3
	text_end

+CeruleanClerkText:
+	script_mart POKE_BALL, POTION, REPEL, ANTIDOTE, BURN_HEAL, AWAKENING, PARLYZ_HEAL

scripts\VermilionMart.asm:

...
VermilionMartText3:
	text_far _VermilionMartText3
	text_end

+VermilionClerkText:
+	script_mart POKE_BALL, SUPER_POTION, ICE_HEAL, AWAKENING, PARLYZ_HEAL, REPEL

scripts\LavenderMart.asm:

...
LavenderMartText3:
...
.NuggetText
	text_far _LavenderMartNuggetText
	text_end

+LavenderClerkText:
+	script_mart GREAT_BALL, SUPER_POTION, REVIVE, ESCAPE_ROPE, SUPER_REPEL, ANTIDOTE, BURN_HEAL, ICE_HEAL, PARLYZ_HEAL

scripts\CeladonMart2F.asm:

...
CeladonMart2Text5:
	text_far _CeladonMart2Text5
	text_end

+CeladonMart2Clerk1Text:
+	script_mart GREAT_BALL, SUPER_POTION, REVIVE, SUPER_REPEL, ANTIDOTE, BURN_HEAL, ICE_HEAL, AWAKENING, PARLYZ_HEAL

+CeladonMart2Clerk2Text:
+	script_mart TM_DOUBLE_TEAM, TM_REFLECT, TM_RAZOR_WIND, TM_HORN_DRILL, TM_EGG_BOMB, TM_MEGA_PUNCH, TM_MEGA_KICK, TM_TAKE_DOWN, TM_SUBMISSION

scripts\CeladonMart4F.asm:

...
CeladonMart4Text4:
	text_far _CeladonMart4Text4
	text_end

+CeladonMart4ClerkText:
+	script_mart POKE_DOLL, FIRE_STONE, THUNDER_STONE, WATER_STONE, LEAF_STONE

scripts\CeladonMart5F.asm:

...
CeladonMart5Text5:
	text_far _CeladonMart5Text5
	text_end

+CeladonMart5Clerk1Text:
+	script_mart X_ACCURACY, GUARD_SPEC, DIRE_HIT, X_ATTACK, X_DEFEND, X_SPEED, X_SPECIAL

+CeladonMart5Clerk2Text:
+	script_mart HP_UP, PROTEIN, IRON, CARBOS, CALCIUM

scripts\FuchsiaMart.asm:

...
FuchsiaMartText3:
	text_far _FuchsiaMartText3
	text_end

+FuchsiaClerkText:
+	script_mart ULTRA_BALL, GREAT_BALL, SUPER_POTION, REVIVE, FULL_HEAL, SUPER_REPEL

scripts\CinnabarMart.asm:

...
CinnabarMartText3:
	text_far _CinnabarMartText3
	text_end

+CinnabarClerkText:
+	script_mart ULTRA_BALL, GREAT_BALL, HYPER_POTION, MAX_REPEL, ESCAPE_ROPE, FULL_HEAL, REVIVE

scripts\SaffronMart.asm:

...
SaffronMartText3:
	text_far _SaffronMartText3
	text_end

+SaffronClerkText:
+	script_mart GREAT_BALL, HYPER_POTION, MAX_REPEL, ESCAPE_ROPE, FULL_HEAL, REVIVE

scripts\IndigoPlateauLobby.asm:

...
IndigoTradeNurseText:
	script_cable_club_receptionist

+IndigoClerkText:
+	script_mart ULTRA_BALL, GREAT_BALL, FULL_RESTORE, MAX_POTION, FULL_HEAL, REVIVE, MAX_REPEL
Clone this wiki locally