Commit Graph

5 Commits

Author SHA1 Message Date
haven1433
4e7dce1864 fix value==int.MinValue bug in script parsing 2024-05-30 11:12:19 -05:00
haven1433
dc18c138ea add capability of split-byte arguments for scripts
We want a macro that can "set the current move" for use in battle scripts, for setting how the animation should work. This needs to set a low-byte high-byte pair based on a move id, which requires 2 separate commands. In order for this macro to work, the code needs to be able to read the two split bytes as a single value, and write the single value as 2 split bytes. This is now supported.
2024-05-29 21:24:14 -05:00
haven1433
8d68e709b1 decompile comments for ldr commands that load from pc offset 2023-12-08 10:33:15 -06:00
haven1433
7dccc53e53 fixing bugs
script args should be able to handle <null>
don't add/remove runs inside the method that isn't supposed to touch the runs collection
handle race condition where UI may be aware of tab being removed before ViewModel gets a chance to notify it
fix bounds checking in map editor collision counting
better default value for newly added map script tables
fix width/height double-check when failing to import multi-sprites
fix cutoff text
fix spelling error
2023-11-27 23:29:44 -06:00
haven1433
5dc7eaecda refactor
ScriptParser.cs is getting too long
* move ScriptLine and related types to their own file
* move ScriptArg and related types to their own file
2023-10-01 12:12:10 -05:00