Commit Graph

3230 Commits

Author SHA1 Message Date
haven1433
27da38da76 tile image shouldn't defer loading for small images 2022-12-04 23:28:01 -06:00
haven1433
517a2f94f1 make templates work with macros 2022-12-04 23:27:15 -06:00
haven1433
a185ebe207 track cursor when changing text during script compiles
for example, when adding {} to the end of a script, or when changing ?????? to an actual address
2022-12-04 23:04:57 -06:00
haven1433
7d8ae74a00 script bugfixes
add enum types for fanfare / bufferitem
allow script constants to contain underscores
allow autocomplete for constants that are the last argument
allow 'find usages -> scripts' to find usages from macros (and fix crash)
2022-12-04 22:38:04 -06:00
haven1433
4a5f351d6f final fixes for 0.5
givePokemon, use item constants
fix crashes/errors in hover-tip logic for trainerbattle commands
* tested that macros and array args still work right
2022-12-03 22:50:33 -06:00
haven1433
4a32ab74dd fix config issues 2022-12-03 21:36:26 -06:00
haven1433
6bb43d3d16 version bump 2022-12-03 21:25:17 -06:00
haven1433
88e90f980c fix completion tips for array-arg and 0-arg commands 2022-12-03 21:24:05 -06:00
haven1433
6d95fc4eb2 fix "" constants and ~n constants 2022-12-03 21:11:55 -06:00
haven1433
91c5a6df9e fix bad trainer team data crash
if the trainer team points to a table that isn't a trainer team (for example, pokemon level-up moves), then the destination can't be calculated. Have a disabled jump button rather than throwing an exception.
2022-12-03 21:02:45 -06:00
haven1433
380738609b draft of auto-complete for script tool 2022-12-03 19:09:31 -06:00
haven1433
bf1d30fe7d more macros
also clear constant cache when refreshing ViewPort
2022-12-02 23:28:56 -06:00
haven1433
d6d6a6c54f initial macro support 2022-12-02 22:41:39 -06:00
haven1433
830740ad34 script editor is now colored 2022-12-02 20:44:59 -06:00
haven1433
4e7148a5f6 thumb editor is now colored 2022-12-02 11:35:24 -06:00
haven1433
c0f3ade883 allow script lines to have multiple stream sections 2022-12-02 10:22:00 -06:00
haven1433
a44841290f first pass at updating script pointer logic
instead of the script line itself knowing that it points to something,
pull it down to the argument level, so that each argument knows
if it points to something.

This will allow a single script line to point to multiple things (like trainers pointing to multiple text or scripts)
2022-12-02 08:38:21 -06:00
haven1433
d7ce55e5b1 feature request pins
* allow copy message/error text
* add symbol files to help reference
2022-12-01 21:44:48 -06:00
haven1433
6a49359716 finish last big feature for 0.5 2022-12-01 21:31:22 -06:00
haven1433
d1c2b5cc62 don't trigger undo/redo for search-response text-formatting 2022-12-01 08:16:54 -06:00
haven1433
a48316c3f0 improve model table 2022-12-01 08:16:18 -06:00
haven1433
903d430e07 initial pass at last feature for 0.5 2022-12-01 08:15:48 -06:00
haven1433
5483c5e0e6 part one of r/s/e DE feature 2022-11-29 23:14:10 -06:00
haven1433
7efde66586 bugfix for R/S/E special case logic 2022-11-29 23:12:12 -06:00
haven1433
7856c696af fix leak 2022-11-29 07:39:35 -06:00
haven1433
5e5acdc931 Merge branch 'master' of https://github.com/haven1433/HexManiacAdvance 2022-11-29 07:32:42 -06:00
haven1433
f29f69c3f6 fix loading issue from liquid crystal
improve tooltips
2022-11-29 07:32:39 -06:00
TheDiamondMiner
bcea3d6768
Updated TOML based on Shiny's Changes (#102)
* Added shiny's changes.

* Fixed typo
2022-11-29 06:47:14 -06:00
haven1433
c355f07993 fix toml upgrade issue (tuples) 2022-11-28 22:42:21 -06:00
haven1433
98caede101 remove typo 2022-11-28 22:09:42 -06:00
haven1433
a06368297e add python tool improvements
new 'AnchorGroup' class so we can call anchors by their names
2022-11-28 21:33:49 -06:00
haven1433
acf55f0101 improve animationScriptReference
thanks `AGSMG?`!
2022-11-28 21:07:14 -06:00
haven1433
6c588c0ccc fix importimage path bug 2022-11-28 21:06:00 -06:00
haven1433
a7b1734404 add data.items.stats format for item-related script commands 2022-11-28 20:22:55 -06:00
haven1433
fd8d6a0330 Improve palette-picking for goto shortcut buttons
also make tooltip images have a transparent background
2022-11-28 20:22:36 -06:00
haven1433
25e09a83bb Merge branch 'master' of https://github.com/haven1433/HexManiacAdvance 2022-11-28 19:10:38 -06:00
eliptus
95e2fbd8a8
Allow @!importimage to Leverage Wide/Tall Imports (#101)
* Allow @!importimage to Leverage Wide/Tall Imports

This essentially makes @!importimage behave identically to
the UI-based import, allowing use of common PNG structures
for automation.

* Prevent Underflow in `IPixelViewModel.AutoCrop()`

If all pixels in `IPixelViewModel` are transparent, the old logic would result
in a negative height. The new logic assures a minimum height of zero.

This was observed while opening a the Pokemon Radical Red v3.1 ROM hack.

Co-authored-by: ELIPTUS <github.com@eliptus.co>
2022-11-28 19:10:15 -06:00
haven1433
21ea2a6612 fix castform multisprite import logic 2022-11-28 19:09:39 -06:00
haven1433
c94f4d8f2b fix ~2 logic for names that are the same except casing 2022-11-28 19:09:07 -06:00
haven1433
25b2592dc2 add new upgrade test 2022-11-28 06:43:08 -06:00
haven1433
6593125cbe fix edge cases (trainerX testing) 2022-11-27 21:46:08 -06:00
haven1433
5bcb5b9f00 import/export data 2022-11-27 20:54:02 -06:00
haven1433
8ad4298809 fix number of thumb routines in specials table 2022-11-26 22:50:04 -06:00
haven1433
d8eea8db88 improve loading conflicting data
used TrainerX's Glazed as a prototype
2022-11-25 15:27:22 -06:00
haven1433
8f3da7f04e bugfixes 2022-11-25 13:17:21 -06:00
haven1433
d48257637b improve view notifications 2022-11-25 09:20:56 -06:00
haven1433
3356961895 bugfixes 2022-11-24 23:13:09 -06:00
haven1433
8a75b2bd4f add blank template 2022-11-24 22:26:25 -06:00
haven1433
af20da7a1d extend header
blocksets
2022-11-24 20:26:39 -06:00
haven1433
38ca0d3c3c update lists 2022-11-24 15:38:08 -06:00