-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Per Shop\Mart Item Prices
To apply these changes you have two options, either pull the branch from the TeamAqua fork of pokeemerald (instructions below), or copy in the changes by hand (its actually not that many and pretty manageable.) Here is the diff
To use this repo you declare shop scripts basically the same as before except now you add an additional argument to each table entry and add a "1" argument after every call to the pokemart script command whenever you are using this mode.
.align 2
TestVariableMart:
.2byte ITEM_PROTEIN, 100
.2byte ITEM_CALCIUM, 120
.2byte ITEM_NONE
release
end
pokemart TestVariableMart, 1
All normal mart scripts work fine without being changed, the default value for pokemart is 0 and that creates a normal Mart without the price column.
Im not sure whether this works with poryscript or not, however, you can always just create the mart table this way inside of raw ` `
tags and use that inside of your poryscript file.
You use git remote add and git pull commands to pull in a feature branch. That is,
git remote add team_aqua https://github.com/TeamAquasHideout/pokeemerald
git pull team_aqua shop_pricing
(instructions from Pawkkie)
If you have questions or problems with the branch join the TAH Discord and ping me in the #romhacking-help channel for help: https://discord.gg/hX3a63RYzZ