haven1433
882242e8f4
version bump
2023-02-11 22:58:40 -06:00
haven1433
198cc42859
fix writebyteoffset parameters
2023-02-11 22:44:21 -06:00
haven1433
af54548c57
pointer offset updates shouldn't count as data changes
2023-02-11 22:44:11 -06:00
haven1433
690379abea
early exits to prevent crashes if data is missing
2023-02-11 22:14:54 -06:00
haven1433
20c83aad02
goto section improvements
...
make it work right for "some._content" and "data.maps.names/s.s. anne"
2023-02-11 22:00:20 -06:00
haven1433
15ecbfcf64
fix editing table name via anchor textbox
...
shouldn't forget length if it comes from the parent
creating table with inner anchors and pointers should add those same pointers to innerPointers[0]
2023-02-11 21:39:13 -06:00
haven1433
7e46bf4fac
copy/paste width fix in menu
2023-02-05 21:51:17 -06:00
haven1433
7c07337d3b
updating blocksets should reload all loaded maps
...
If a blockset is edited, that could change not just the current map that
owns that blockset, but any other map that uses that blockset.
Refresh caches on all those maps.
2023-02-04 22:21:35 -06:00
haven1433
913e83ae96
add copy/paste tiles for foreground/background of blocks
2023-02-04 22:20:16 -06:00
haven1433
40eec2be06
add copy/paste icons
2023-02-04 22:17:47 -06:00
haven1433
ee6583b946
add shift+click for 9-grid support
...
also fix the flickering issue, where ctrl+drag causes flickering sprites
2023-02-03 22:07:14 -06:00
haven1433
792fe58155
fix threading issue with model options cache
2023-02-03 22:00:54 -06:00
haven1433
76e688d2cd
limit map event tooltip content
...
don't show content for the same address twice, even if it appears in the script twice
2023-02-02 10:58:10 -06:00
haven1433
800aee0361
fix crash in script editor
2023-02-02 07:44:56 -06:00
haven1433
820173f3f1
settrainerflag needs to use trainer names
2023-02-02 07:44:46 -06:00
haven1433
ed976a7925
fix tests
...
Many tests use an Editor that doesn't have a valid Dispatcher. Update those tests to use a factory method instead of directly creating an editor.
2023-02-01 22:27:03 -06:00
haven1433
caececfc2f
dispatch undo refresh
...
needs to happen on the foreground thread, doesn't need to happen right away
2023-02-01 22:10:52 -06:00
haven1433
7e215acfa4
fix inline 'find' highlighting near the bottom of the window
2023-02-01 22:02:31 -06:00
haven1433
00f26dc792
allow 'export backup' from map tabs
2023-02-01 22:02:04 -06:00
haven1433
e795079296
allow null pointers to show up as <nulll> for all map event types
2023-02-01 22:01:55 -06:00
haven1433
4badfe06b9
ai scripts can end with more commands
2023-02-01 21:35:24 -06:00
haven1433
9205f7b360
give.item is better than take.item
...
* take.item may be confusing, making the user think an item is being removed
* give.item is closer to the XSE name
2023-02-01 21:35:10 -06:00
haven1433
649a4f5f6d
replace give.item with take.item and npc.item
...
npc's also want to give items, but without making the NPC disappear.
2023-02-01 21:26:38 -06:00
haven1433
5c750115b6
usability update: show event numbers
...
users got confused about making warps. Change the text to make it more clear that the input value is for the target warp, not the current warp. Add visuals to display the current warp as a number.
2023-02-01 21:26:08 -06:00
haven1433
52ef2b50a6
allow painting '0' on 256-color images with limited palettes
2023-02-01 21:03:19 -06:00
haven1433
4fe6e195c4
verify that lists keep their custom values after toml upgrade
2023-01-31 22:14:14 -06:00
haven1433
55a02d91db
test updates
...
scripts.newgame.start.bank/map actually moved, so don't test that the addresses are the same
2023-01-31 22:01:04 -06:00
haven1433
a924a65805
fix metadata update issues
...
* hash wasn't set for some values -> add validation test
* type swap table wasn't kept after updating
2023-01-31 22:00:21 -06:00
haven1433
79503e37a2
fix scripts.newgame.start constants for R/S/E
2023-01-31 06:59:10 -06:00
haven1433
97bbb0f1be
fix startup for ruby
...
3-19 isn't a valid map in ruby
2023-01-31 06:58:47 -06:00
haven1433
44d841ad6c
checktrainerflag / cleartrainerflag argument update
2023-01-30 23:09:23 -06:00
haven1433
4880abe268
fix undo new map case where new map is primary map
...
when undo removes the primary map, try to set the primary map to another visible map. If no visible maps are valid, just close the map editor.
2023-01-29 22:21:59 -06:00
haven1433
09f2766790
make more resilient to nulls
2023-01-29 22:03:33 -06:00
haven1433
d1a289c991
rend map names like SILPH CO. (ending dot) correctly in the goto tool
2023-01-29 20:56:29 -06:00
haven1433
1a80765134
improve mass export
...
make it able to export the 2nd page of a bunch of sprites, if those are available. For example, emerald pokemon front sprites
Castform is still a little weird because of how he works with multiple forms, but that's ok.
2023-01-29 20:55:55 -06:00
haven1433
98e78bed77
enum map connection directions
2023-01-26 22:59:06 -06:00
haven1433
3764480955
allow transparency in selection in the image editor
2023-01-26 22:58:51 -06:00
haven1433
18cd3d4528
fix tilemap import
...
a bug caused the tilemap to protect the wrong tiles
2023-01-25 20:54:08 -06:00
haven1433
303bb131a3
<auto> improvements
...
* Selecting brock's script should select the _whole_ script
* Get correct number of code sections when scripts point to freespace
* Make sure script concatenation works correctly for `goto` followed by `end` (vanilla games do this a lot)
* multiple if statements / gotos all get compiled into one script, so long as it's all contiginous script data
* make sure `trainerbattle 01` works correctly with labels
* include blank line separators between labels when decompiling scripts
2023-01-24 20:26:46 -06:00
haven1433
4be64ce1d6
add paranoid null checks to autocrop.
...
It's already allowed to return null, so just return null if any of these weird cases happen.
2023-01-24 20:21:58 -06:00
haven1433
a356f90ef2
allow streams with end tokens to deserialize with 0 elements
2023-01-24 20:20:54 -06:00
haven1433
aaa4c9fb71
fix crash
...
don't crash if selecting a single block and tilesToDraw is null
also improve documentation for OW tooltips
2023-01-24 20:19:56 -06:00
haven1433
d325d8910c
hex should be colored like other numbers
2023-01-24 20:19:15 -06:00
haven1433
02eae8a30c
fix typo in blockmap repoint tooltip
2023-01-24 20:17:08 -06:00
haven1433
6ac5c89dfb
add if.flagset macro
2023-01-24 20:16:37 -06:00
haven1433
1ee5e2f659
combine nature power list
2023-01-24 20:16:03 -06:00
haven1433
3ef258a81c
more macros
2023-01-22 21:25:39 -06:00
haven1433
2b8c35c1d5
<auto> improvements
...
if the last thing is a label, make sure to include an end command for it
if the last thing isn't an end command (or goto, etc) make sure to include an end command for it
2023-01-22 21:25:31 -06:00
haven1433
9622784b1c
Adding lots of niche tables
...
Thanks Shiny and Soup :)
2023-01-22 20:21:08 -06:00
haven1433
391374d78d
add alt key shortcuts for Assist Development / Copy Anchor Reference
2023-01-22 20:20:42 -06:00