Closed nielsmittertreiner closed 2 years ago
Thanks for the suggestion, however I don't believe this is worth adding. The main focus of Poryscript is the scripting and control-flow aspect, not data. I could potentially see something more general being useful, like:
2byte MyData {
ITEM_ULTRA_BALL,
ITEM_HYPER_POTION,
...
}
4byte MyData {
Foo,
Bar,
...
}
However, I think there is little benefit of that, if any, over using raw
.
I agree, a more general would probably work better in this case. I just thought of this idea when I came across this while I was working on creating a new pokemart.
I personally think it would be a good addition to make 2byte
and 4byte
statements as it removes some need of raw
, I think Poryscript would be very good when you wouldn't have to use raw
at all.
I personally think it would be a good addition to make
2byte
and4byte
statements as it removes some need ofraw
, I think Poryscript would be very good when you wouldn't have to useraw
at all.
What about creating an alias to 2byte
and 4byte
as mart
or whatever? I mean, once included the statements 2byte
and 4byte
, make the equivalence for mart
or anything that fits.
The mart
statement is now in master
.
When creating a pokemart, you need to enter a destination to the product list. Normally a product list looks something like this:
I don't see a way of using
.2byte
in Poryscript yet, so perhaps a new statement could be used for pokemarts, e.g.mart
orproducts
. This could also remove the need to use theraw
statement,.2byte
and therelease
andend
macros for this,An example could be:
or for the
products
variantThis would simplify the process quite a bit, but that's my opinion :D