[Ohrrpgce] SVN: teeemcee/11587 Remove get/setherostat backcompat ability to get/set weapon pic/palette.

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Mon Feb 3 02:42:30 PST 2020


teeemcee
2020-02-03 02:42:30 -0800 (Mon, 03 Feb 2020)
673
Remove get/setherostat backcompat ability to get/set weapon pic/palette.

These were treated as stat 13.
I ran rpgbatch.py over the gamelist and found only a single game that
(both) read and wrote them: WinterFold (Revenge of the Samuri). But that
game (which is a small demo) doesn't even have weapon graphics!

I also checked for games which indirectly accessed stat 13 via a local variable
but couldn't find any.

Also, since I didn't see any games that accessed negative stats either, I
removed the bound() around the stat number and replaced with a valid_stat()
check. It's too hard to tell whether there are games that require the bound()
arond the party slot number.
---
U   wip/scriptcommands.bas


More information about the Ohrrpgce mailing list