Open mrgriffin opened 4 months ago
.set
ting the constants that we need: https://github.com/rh-hideout/pokeemerald-expansion/pull/5033/files#diff-dc229fb98aa82e4418f93a183ac1637de405898e3ed72eab4bfb6bc49cd791f2Obviously this is not a particularly good solution, so I'm leaving this issue open.
Description
Context
I think the problem is that the test system
.include
sevent.inc
, which means thatcpp
doesn't run over it, so if you use, e.g.PARTY_SIZE
orSPECIES_NONE
or whatever in that file you'll get a linker error.To fix this we could move all the scripts out into
.s
files, and assemble them the usual way. That change would end up looking like:So, makes the tests more annoying to read and write because now you're juggling two files and need to give names to all the scripts. But I think it will allow us to use constants. Alex and I aren't sure if it's currently worth doing, but I've raised the issue so that we don't forget how to fix it in the future if we want to.
Version
1.8.4 (Latest release)
Upcoming/master Version
No response
Discord contact info
No response