Commit Graph

619 Commits

Author SHA1 Message Date
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
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
acf55f0101 improve animationScriptReference
thanks `AGSMG?`!
2022-11-28 21:07:14 -06:00
haven1433
a7b1734404 add data.items.stats format for item-related script commands 2022-11-28 20:22:55 -06:00
haven1433
8ad4298809 fix number of thumb routines in specials table 2022-11-26 22:50:04 -06:00
haven1433
8f3da7f04e bugfixes 2022-11-25 13:17:21 -06:00
haven1433
4c2089196b usability feedback
label stuff
center new connections
berry shortcuts
fix goto shortcuts
2022-11-24 11:24:56 -06:00
haven1433
d66a02d518 fix trainer backsprite palettes for R/S 2022-11-23 11:04:00 -06:00
haven1433
1728e73143 include field item enums for non-pokeball items 2022-11-23 10:59:14 -06:00
haven1433
e285eaaf7b add 'scripts' option to 'show uses' button
Unlike the other ones, this one doesn't pre-calculate, and may end up being empty when you click on it.
2022-11-23 08:26:46 -06:00
haven1433
2ce867a955 update trainertower format 2022-11-22 15:14:53 -06:00
haven1433
d350c6bfa9 fix ai scripts for emerald 2022-11-22 08:52:52 -06:00
haven1433
6a703c1fae call UpdateFromParent when updating TableStream via textbox 2022-11-18 09:10:31 -06:00
haven1433
aaf559d7a6 bugfixes
trying to improve compatibility with edited games
2022-11-11 09:42:33 -06:00
haven1433
7d0022d6a3 template progress 2022-11-08 22:29:37 -06:00
haven1433
d09b3c32c7 finish more templates 2022-11-07 21:56:39 -06:00
haven1433
d23575cdb9 usability updates from wet blanket 2022-11-06 20:44:57 -06:00
haven1433
679e1067fa update names from low/high to lowLevel/highLevel
make it a bit more clear for people reading the data
2022-11-04 08:52:31 -05:00
haven1433
fcf80c907d add type hold effects table
some items can effect the power of specific types. This lets us tap into the mapping of effects-to-type so we can play with it.
2022-11-02 22:48:09 -05:00
haven1433
2428ba8231 thumb tool should allow +1's on words 2022-11-02 08:43:08 -05:00
haven1433
9fcbb6a89d remove expired warning 2022-11-02 00:04:15 -05:00
haven1433
10579058b3 add song names for playsong command 2022-10-29 22:52:58 -05:00
haven1433
ffaf42a7b5 add stm and ! support in thumb scripts 2022-10-29 22:52:42 -05:00
haven1433
cab4966c8a fix bug with single-line multi-line comments
if the start and end of a multi-line comment were on the same line, it wasn't parsed correctly, leading to a memory overflow
2022-10-25 20:05:17 -05:00
haven1433
7483568a97 add battletower prizes table (FR/LG) 2022-10-23 20:42:05 -05:00
haven1433
0824afb1a8 add emoji support
F9 needed to be handled like other escapes
2022-10-23 20:40:25 -05:00
haven1433
a966a18831 fix ruby music naming bug 2022-10-20 22:51:05 -05:00
haven1433
953fe52fb6 improve tuple model
* add fly spots to event list
* allow moving/deleting fly spots
* remove Elevation from base event interface
* improve header UI
2022-10-20 21:48:29 -05:00
haven1433
d80680270a header improvements
also fix a weird bug that can happen when pasting characters at the end of a text stream that needs to be repointed
2022-10-19 20:36:58 -05:00
haven1433
afe1dc59b9 add alias instruction so that add rX, rX, #Y maps to add rX, #Y 2022-10-16 00:52:42 -05:00
haven1433
2992d55de0 add substitute front/back/palette data for R/S/LG and 1.1 games 2022-10-13 20:01:17 -05:00
haven1433
aafe651e0f code cleanup
initial pass at the data buttons. Maybe it'll end up just being a menu with a bunch of items, but I feel like with so many operations, they need to be a bit more organized than just a simple hierarchy.
2022-10-11 23:12:04 -05:00
haven1433
ac20599845 add scripts.money.cap for emerald
this is our first 4-byte constant, so I had to make some changes to how 4-byte constants worked.
* constref file needs to support 4-byte constants
* WordRun needs to be able to tell the difference between a constant that's matched to a table length (displayed as the table name) and a constant that is not matched to a table name (displayed as the number)
* Goto needs to be able to go to 4-byte constants
2022-10-09 22:44:52 -05:00
haven1433
cea8cfba01 tile panel improvements 2022-10-07 22:54:45 -05:00
haven1433
1fcd04d74d progress 2022-10-07 06:44:04 -05:00
haven1433
b4f4e86277 don't clear the newgame pokemon tables
These were being cleared because they existed within scripts. Make the script ClearFormat logic smarter so it skips tables that align to single arguments.
2022-10-04 23:05:32 -05:00
haven1433
4317864b64 fix disappearing script section bug 2022-10-04 16:58:45 -05:00
haven1433
abdf4eaa1c add new table
also, `GetIndexOfNearestAddress` shouldn't ever find a table with distance 0, because that's not what we're wanting to find: we want the table with the nearest values so we can do a cross-reference, and anything with this exact address is likely missing the other games we're looking for.
2022-09-29 21:29:15 -05:00
haven1433
898d6b586b add new table 2022-09-29 21:16:08 -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
7d74e66ef7 update map name table (R/S/E)
thanks Shiny!
2022-09-22 21:19:06 -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
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
b6cf8b58ab ascii run improvements 2022-09-20 17:22:44 -05:00