Commit Graph

2343 Commits

Author SHA1 Message Date
Haven1433
8dcc8b06f2 add palette for pokeball in type icons image 2022-03-13 21:21:30 -05:00
Haven1433
c518d2e500 at 'about' textbox graphics (firered)
the one at the bottom of the pause menu that tells you more info about the menu option
2022-03-13 21:13:52 -05:00
Haven1433
df38169ccf add emerald pokedex menu tilemaps 2022-03-13 21:13:10 -05:00
Haven1433
41f929d380 trade ball sprite 2022-03-13 20:49:54 -05:00
Haven1433
402cfbea82 update tilemap name 2022-03-13 20:44:31 -05:00
Haven1433
b77000db97 add graphics for ghost in Lavender town 2022-03-13 20:16:39 -05:00
Haven1433
d35438f49f Adjust start screen layout
So that the text isn't cut off on public releases
2022-03-13 20:07:39 -05:00
Haven1433
7c64d82740 Hide beta features for public releases 2022-03-13 20:07:12 -05:00
Haven1433
51aaa15f77 When clearing a named anchor, re-add any inner-anchors if keeping pointers 2022-03-13 19:49:11 -05:00
Haven1433
31120c33c9 don't show overlay for file drops except for editable viewports 2022-03-13 17:39:03 -05:00
Haven1433
8568f7e30b pause TryImport until the current tab is fully loaded 2022-03-13 17:36:58 -05:00
Haven1433
7956529220 loading an existing file should update goto/metadata after load completes 2022-03-13 15:48:53 -05:00
Haven1433
f21d4595d2 Add limit to auto-length of tables
auto-length should be limited to the number of elements previously in the table, if a specific number is already known.
Note that this means that when a user updates from an older version with a shorter table to a newer version with a longer table, the additional elements table will only be found if the length is specified manually. Hence the change to `graphics.battle.background.sprites`.,
2022-03-13 15:27:35 -05:00
Haven1433
00cf903993 Be more careful in UpdateDependantArrayLengths
* A table may have already been updated during an earlier table update. Make sure we're checking against the latest versions in the model, not the cached version provided by `GetDependantArrrays`.
* In the case of us not relocating (because we're doing an initial load), clear the format from any excess bytes needed by the growing table before appending.
2022-03-13 14:50:25 -05:00
Haven1433
2a62fae4d3 fix debug attach dialog 2022-03-13 13:18:33 -05:00
Haven1433
e9d1d3e194 Improve goto-search-results functionality
In the case of multiple results being combined into a single group, force the follow-link algorithm to check inside each of the results in that group to see which is the best match.
2022-03-13 10:31:30 -05:00
Haven1433
15622ec82d fix selection bug
Changing the lower limit to 4 breaks some tests, because coercing multiple table elements into a single line no longer works correctly. Lower the limit to 1 and rely on the logic from the rest of the limit to force at least 4 elements per line.
2022-03-13 10:30:14 -05:00
Haven1433
0df291843e Fix trainer team search bug
search was looking at the wrong address for items, and in the case of trainer teams with both items and moves, it was looking at the wrong address for the first move.
2022-03-13 10:16:35 -05:00
Haven1433
b071de8654 control code 4 has 3 parameters 2022-03-12 21:59:29 -06:00
Haven1433
9608a79a1f add sanity check to auto-scrolling in text tool 2022-03-12 21:50:03 -06:00
Haven1433
e9ec1361c5 Limit preferredWidth to 4->256 2022-03-12 21:18:04 -06:00
Haven1433
5a9a77064f Appending to a table with pointes to a named anchor doesn't break the named anchor 2022-03-12 21:17:49 -06:00
Haven1433
8176c42e28 Don't clear anchor when updating format
We should be able to write a pointer that adds an anchor to a named offset without deleting the name.
2022-03-09 00:11:55 -06:00
Haven1433
efac0ae796 Improve data-tolerance for dex reorder images 2022-03-07 22:54:43 -06:00
Haven1433
b6dc7a3993 track showFullIVByteRange through UpdateFromParent calls 2022-03-07 22:15:56 -06:00
Haven1433
263c783bb1 don't fail to import sprites that have no palette
example: fonts
2022-03-07 21:49:01 -06:00
Haven1433
c859aac1ed Improve handling of control-code escapes
* 0x0A -> wait for sound effect
* 0x0B -> play background music (2 args)
* 0x10 -> play sound effect (2 args)
2022-03-07 21:39:26 -06:00
Haven1433
859253385f improve CFRU ability names detection 2022-03-07 20:57:45 -06:00
Haven1433
dc1c52f2bc inline item effect writing works 2022-03-07 20:53:15 -06:00
Haven1433
bda2573241 Implement item effects inline edit / copy/paste 2022-03-06 22:29:25 -06:00
Haven1433
a702d54c2e show animation script load/unload graphics tag in hex 2022-03-05 22:46:39 -06:00
Haven1433
cd904b27f5 XSE was wrong, command 0x7B is for setting moves, not setting pp 2022-03-05 22:46:13 -06:00
Haven1433
ae8daed17f make removing a pointer source more error tolerant 2022-03-05 22:45:55 -06:00
Haven1433
74ac612261 properties for code/text vertical offset tracking 2022-03-05 22:45:22 -06:00
Haven1433
2940ff3f0a Don't overlap data conflict / pointer usage text 2022-03-05 22:44:46 -06:00
Haven1433
7cd2438fd3 Scrolling should track correctly for table/text/code tools
When switching between tabs, remember the scroll offset for the tools. We already do this correctly for the table tool, but didn't do it correctly for the code or text tools.
2022-03-05 22:44:21 -06:00
Haven1433
c1d0c9f36b Add a controllable work dispatcher
The previous dispatcher implementations were either fully asynchronous (for production) or fully instantaneous (test). But some tests require finer control over the order in which the dispatched items and continuations run interlaced with the calling code.

The new ControlledDispatch takes care of this. You can schedule work, and then the work won't run until you tell the ControlledDispatch to run it. There's not currently a way to control individual task continuations: you just run the entire task chain.
2022-03-04 22:06:55 -06:00
Haven1433
aa0d98e4ea Force task continuations to run synchronously 2022-03-04 21:25:38 -06:00
Haven1433
0e9ff00d84 use threadlock when clearing format
This prevents us from removing runs while in the middle of searching for a specific run
2022-03-03 22:01:20 -06:00
Haven1433
0fecf16fa6 show correct message when reverting ups patch 2022-03-03 22:00:37 -06:00
Haven1433
d55bd5989e Fix scroll length during UPS patching 2022-03-03 22:00:26 -06:00
Haven1433
a00b897277 fix ValidateMatchedWords exposure
ValidateMatchedWords can be handled by the ViewPort
2022-03-03 22:00:05 -06:00
Haven1433
ee227ac85e Fix loading bug
Don't CascadeScripts right away. Instead, wait until the model is done loading, and _then_ cascade scripts. RefreshBackingData at the same time so as to refresh the cells on the screen.
2022-03-03 21:30:02 -06:00
Haven1433
c0f518bcd8 Replace Model.AfterInitialized with InitializationWorkload
Tasks already do what I was wanting to do (manage work timing), and do it better with more features, and do it in a way that other developers will more easily understand. Stop being weird, just use a Task.
2022-03-03 20:42:00 -06:00
Haven1433
c28fce209a First pass: ViewPort.ConsiderReload is async 2022-03-01 21:10:36 -06:00
Haven1433
ad5f99bb73 HMA can now apply UPS patches
Including some basic error checking to note when a patch checksum doesn't match.
2022-03-01 20:22:14 -06:00
Haven1433
a1ddde1eb2 add 'ContractData' feature 2022-02-25 21:11:11 -06:00
Haven1433
e6bcee3bd5 improve DebugList 2022-02-25 21:10:51 -06:00
Haven1433
9e29b89cbb Update Debug Menu 2022-02-25 21:10:01 -06:00
Haven1433
b37df0811d Update screen pixel capture to work for multiple monitors 2022-02-25 21:09:12 -06:00