Benjamin Popp
12d1d3ce20
model needs to load properties from metadata when available
2021-07-09 22:51:41 -05:00
Benjamin Popp
dc03840993
fix random crash
2021-07-09 22:46:04 -05:00
Benjamin Popp
6669d83e16
copy address from diff tab
2021-07-08 20:04:19 -05:00
Benjamin Popp
b9ace4830c
improve developer 'rom overview' tool
2021-07-03 08:20:06 -05:00
Benjamin Popp
e6b63289dc
Fix complete-edit-during-scroll behavior
...
When leaving a cell that's mid-edit, we usually try to complete the edit before clearing it. We now also do that when leaving the cell causes scrolling. This means that a few pieces of code that depended on the cells getting cleared automatically as part of the scroll (for example, extending arrays) needed to be updated so that the clear happens, then the try-complete code runs.
2021-07-02 17:09:48 -05:00
Benjamin Popp
97e1c61fa3
fix broken test
2021-07-02 16:45:20 -05:00
Benjamin Popp
20183c4ef7
version bump
2021-07-02 08:28:52 -05:00
Benjamin Popp
a11334b2b7
add anchor for battle ai commands thumb code
2021-07-02 08:28:12 -05:00
Benjamin Popp
84e0b05132
Move CopyLimit constant to the global toml file
2021-07-01 23:23:01 -05:00
Benjamin Popp
5204dc8ab5
don't open auto-complete until the user types some characters
2021-07-01 23:09:01 -05:00
Benjamin Popp
8a63c7e441
don't crash if right-click on diff tab
2021-07-01 23:02:58 -05:00
Benjamin Popp
a077235133
change assert into a displayed error
...
this is a thing that users can really hit. It shouldn't pop up a scary error message, but should instead display error text in the table tool.
2021-07-01 22:48:54 -05:00
Benjamin Popp
24ae357a22
Fix Array-with-TableStream-pointer expansion
...
When expanding and moving an ArrayRun that contains a pointer to table streams, the array needs to move, which means the table stream may temporarily have no pointers to the table. When the table re-adds itself on the other side, it's important that the table stream already know about the format of the parent table. For example, the length token may come from one of the parent element's fields.
2021-07-01 22:21:54 -05:00
Benjamin Popp
d7e6d60d31
adding max diff segments to .toml
2021-07-01 09:32:04 -05:00
Benjamin Popp
abbf6df7cd
battle frontier pokemon have evs, not ivs
2021-07-01 09:07:12 -05:00
Benjamin Popp
b60595ddff
add lucky egg exp boost
2021-07-01 07:47:51 -05:00
Benjamin Popp
26913ff881
add flash radius
2021-07-01 07:47:34 -05:00
Benjamin Popp
104eb0af4f
fix wrapping
2021-07-01 07:47:14 -05:00
Benjamin Popp
aaab1f0713
Fix the level-up move replacement
...
After move expansion, level-up moves no longer cycle to the most recently 4 learned moves when creating a default pokemon moveset. This change fixes the bug and increases performance of the FindAllCommands helper.
2021-06-30 21:32:29 -05:00
Benjamin Popp
b18122c2a2
Update code-seek routine to find both ldrb and ldrsb commands
...
In FireRed, `015020` has a `mov` command that needs to be updated whenever we're moving the move priority stat. Update the seek routine to notice this possible code path and update code as needed.
2021-06-27 21:24:07 -05:00
Benjamin Popp
389edf6706
Finish Diff
...
* if a diff is longer than 4 lines, show the whole block!
* don't allow diffing files of different lengths
2021-06-26 09:33:13 -05:00
Benjamin Popp
af76480fc6
Set a max width for left/right sides
2021-06-25 20:33:49 -05:00
Benjamin Popp
136ec43022
limit the max number of diff sections for performance
2021-06-25 16:58:56 -05:00
Benjamin Popp
b2b110e888
Goto from Diff
2021-06-24 21:20:02 -05:00
Benjamin Popp
00d1b7d2e5
Making a button for finding free space
2021-06-23 20:57:16 -05:00
Benjamin Popp
934eedf085
'match exact case' option for search
2021-06-21 22:31:28 -05:00
Benjamin Popp
a278d91f9f
Add 'matchExactCase' parameter for ViewPort.Find
2021-06-21 22:20:12 -05:00
Benjamin Popp
cde4328bc0
"Align Here" should always be shown
...
This keeps the context menu items a consistent distance from the top, hopefully causing less confusion.
2021-06-21 22:08:35 -05:00
Benjamin Popp
53136ee7ce
adding deoxys form stats
2021-06-21 22:03:34 -05:00
Benjamin Popp
1270d68103
Searching for 'é' should work
...
allow both é and e to find both é and e during search.
2021-06-21 20:30:34 -05:00
Benjamin Popp
c859c2ba76
close color picker popup when window moves
2021-06-19 21:44:02 -05:00
Benjamin Popp
be7c4cc033
TryCopy for TextStreamElements should only work if they're the same type.
2021-06-19 20:44:23 -05:00
Benjamin Popp
b38e0b4ca5
bugfix: Ctrl+F -> 00/FF -> highlight chosen byte
...
This already worked for most raw values, but didn't work for 00 and FF because of an order-of-operations issue
2021-06-19 20:28:53 -05:00
Benjamin Popp
cce5b69c4b
fix stream parsing bug
...
When parsing single-element streams, skip parsing blank lines. This fixes a bug related to animation scripting: it would decode correctly, but it wouldn't encode correctly.
2021-06-19 20:28:21 -05:00
Benjamin Popp
83db9f766c
remove name conflict
2021-06-18 23:56:35 -05:00
Benjamin Popp
a3394df79d
Don't make the script-parser read _really slow_ if it's reading a bunch of nops in a row
2021-06-18 23:53:31 -05:00
Benjamin Popp
1665610885
add emerald trainercard sprite data
2021-06-18 23:32:58 -05:00
Benjamin Popp
6d141c9e31
close palette tool when switch application focus
...
this didn't work right when one of the swatch textboxes had keyboard focus
2021-06-18 22:40:09 -05:00
Benjamin Popp
c9ddab7ae3
Don't crash when copying a bit-field with unknown set bits
2021-06-18 22:24:07 -05:00
Benjamin Popp
c422f8bff2
bugfix: picking a desktop color should change the model
2021-06-18 21:48:45 -05:00
Benjamin Popp
43a7ee2cc0
Make IV_Cap constant to make the code easier to edit
2021-06-18 21:27:57 -05:00
Benjamin Popp
12f67ea439
Improve auto-complete filtering
...
Filter using special characters like `.'-` for pokemon, items, and moves
2021-06-11 22:32:10 -05:00
Benjamin Popp
1760804abb
Fix autocomplete text control
...
The Generate method returns a IEnumerable, but we need it to be a list
2021-06-11 22:05:32 -05:00
Benjamin Popp
2c839ee2d3
bugfix: trainer teams should repoint when you change the number of pokemon in the team
2021-06-11 21:25:55 -05:00
Benjamin Popp
53a6ff6f67
Add ability to show overview of a rom (developer mode only)
2021-06-06 14:28:23 -05:00
Benjamin Popp
f61d858d25
Don't crash on saveall / closeall
2021-06-05 22:04:07 -05:00
Benjamin Popp
ef9e6d8842
Add boilerplate to connect view to diff commands in the viewport
2021-06-05 21:53:42 -05:00
Benjamin Popp
6ece8d2725
make it not possible to diff with non-viewport tabs
2021-06-05 20:55:08 -05:00
Benjamin Popp
2a7815c850
Disable DiffLeft / DiffRight for edge tabs
2021-06-05 20:46:52 -05:00
Benjamin Popp
ecc4353de3
implement page up / page down for diff tabs
2021-06-05 20:21:43 -05:00