Commit Graph

2976 Commits

Author SHA1 Message Date
haven1433
a080dedbdb fix plural "best match" goto
plural worked for finding anchors, but didn't work for best-match
2022-09-29 00:13:36 -05:00
haven1433
996d17fe01 cleanup 2022-09-28 22:51:16 -05:00
haven1433
e6c8e561b2 first pass at an improved text editor
for script editing, etc
2022-09-28 22:49:42 -05:00
haven1433
7a6ba78d94 fix {} creation after <??????>
Only add the {} if there isn't one already
2022-09-28 22:19:06 -05:00
haven1433
1858d8d3a0 fix stream data clearing issues
* when a stream shrinks, clear the old end token as well as the old data
* when parsing a stream with an end token, don't allow elements to have values that would look like end tokens (usually element 0)
* only goto moved data if the moved data was selected, as opposed to if the moved data was on-screen.
2022-09-28 21:40:03 -05:00
haven1433
b5817e65cf fix table expansion anchor glitch
Expanding a table where the last element has a named anchor adds another pointer to that anchor. Some format types, such as palettes, do a ClearFormat when adding the new run. This is reasonable, but causes us to lose any custom name attached to those elements, which update their pointers to point to null and adds the name to the unmapped anchor names list.

In this case, we need to track the name before we clear the format, so that when we add the new run, we can add the name as well.
2022-09-28 20:47:09 -05:00
haven1433
a17fd96496 fix fairy-type script bug
A recent change to the model to make it update related arrays when doing CompleteArrayExtension caused it to double-increment array length. Added a test to verify that the fairy script adds exactly one type and fixed the issue.
2022-09-27 20:04:19 -05:00
haven1433
9108b360af Updates from usability test with Shiny 2022-09-27 19:30:49 -05:00
haven1433
8a6f3ea559 Event improvements
* fix cut off text trainer range / berry id
* template for npcs
* template for signposts
* extended info in event panel for templates
* edit names
2022-09-23 16:06:24 -05:00
haven1433
7cac8a42f0 export the EditBattleOdds script 2022-09-23 06:57:26 -05:00
haven1433
10c1ab44b1 tab navigation improvements 2022-09-22 22:42:08 -05:00
haven1433
1315e048b7 version bump 2022-09-22 21:22:01 -05:00
haven1433
7d74e66ef7 update map name table (R/S/E)
thanks Shiny!
2022-09-22 21:19:06 -05:00
haven1433
3a1f92f422 bugfix
allow pasting raw data to expand the data
don't keep trying to update selection if the selection stops changing
2022-09-22 21:15:49 -05:00
haven1433
2eaa1f6b6e improve editing 2022-09-22 21:05:20 -05:00
haven1433
d537f88c46 bugfixes 2022-09-22 20:58:41 -05:00
haven1433
af58a804f8 update method for testing new features 2022-09-22 13:18:59 -05:00
haven1433
5e9e5b944f update name from feedback 2022-09-22 07:41:38 -05:00
haven1433
7a6ce76b23 serialize null list items as numbers
also fix width on script tooltip
2022-09-22 07:36:26 -05:00
haven1433
6b845cc9de "Best Match" button still clipping 2022-09-21 20:16:47 -05:00
haven1433
a57ce5cf42 fix padding 2022-09-21 20:09:30 -05:00
haven1433
69ad7c6bb8 Applying patch marks the tab as needing a save
also fix issue with IPS patches
2022-09-21 16:40:13 -05:00
haven1433
2d0d0e1f6c add 8x8 pixel grid for image editor 2022-09-21 07:40:39 -05:00
haven1433
b1b82d5004 remove task/async warnings 2022-09-20 22:49:19 -05:00
haven1433
b8108e7638 Improve upgrade logic
When updating to a new version, don't upgrade tables that have been edited by the user.
2022-09-20 22:49:04 -05:00
haven1433
f5925af5ad remove shortname logic
after the UI updates, this text appears in a popup menu that has more available horizontal space. We don't need to truncate "data.poke" anymore, so remove the truncation logic.
2022-09-20 17:31:52 -05:00
haven1433
e18f9c3930 don't crash if rendering out-of-bounds 2022-09-20 17:23:59 -05:00
haven1433
7dd36e8853 allow import for uncompressed tilemaps 2022-09-20 17:23:43 -05:00
haven1433
32911324f3 allow cross-game macros 2022-09-20 17:23:02 -05:00
haven1433
b6cf8b58ab ascii run improvements 2022-09-20 17:22:44 -05:00
haven1433
53d10d2f35 fix patching bug 2022-09-20 08:27:15 -05:00
haven1433
a8a13bea8b fix code that broke tests 2022-09-19 22:44:10 -05:00
haven1433
fa99eaf886 fix import check
allow for the payload and index tables to be different lengths
2022-09-19 22:11:45 -05:00
haven1433
3132cbd33b fix crash (reading from undefined palette) 2022-09-19 21:34:09 -05:00
haven1433
6c3110661b fix offset display editing 2022-09-19 19:17:03 -05:00
haven1433
cfcc02d5dc fix possible crash 2022-09-19 19:16:45 -05:00
haven1433
47d3642bdf face correct way
- fix undo/redo bug for model element
- update event UI
- fix hover selection bug
2022-09-19 18:24:57 -05:00
haven1433
75d8235b9e fix tooltips 2022-09-19 00:18:41 -05:00
haven1433
dd52f78880 Improve icons 2022-09-19 00:17:39 -05:00
haven1433
9e1569fa88 Usability Feedback: "Go" -> "Best Match" 2022-09-18 22:33:37 -05:00
haven1433
65b409e3bf bugfix
MaxLevel / MaxPokedex can be set now
Also make OWs appear in WrapPanel to see more at once.
Also show a trainer sprite if we have one.
2022-09-18 22:31:55 -05:00
haven1433
049685f975 add metadata 2022-09-18 21:29:57 -05:00
haven1433
8027842299 goto shortcut 2022-09-18 17:36:56 -05:00
haven1433
5855ac38ab name trainer ai scripts 2022-09-18 12:58:51 -05:00
haven1433
856b37c6ec fix primary/secondary count 2022-09-18 12:58:36 -05:00
haven1433
1f0b3f5eaf improve documentation 2022-09-18 12:58:20 -05:00
haven1433
6ad900a1ca apply templates / ui work 2022-09-18 01:36:19 -05:00
Haven1433
517759eeae double-click to access script 2022-09-17 10:46:31 -05:00
Haven1433
a2d4c66a33 items
and R/S/E support
2022-09-17 10:04:48 -05:00
Haven1433
4a416981f0 trainers 2022-09-16 23:26:38 -05:00