Commit Graph

4128 Commits

Author SHA1 Message Date
haven1433
e7eec2f348 spritebehave should use FacingOptions list 2023-12-12 06:44:04 -06:00
haven1433
11e04e83f5 use CanRun to decide if quick edit items should be disabled 2023-12-11 07:35:27 -06:00
haven1433
55d8e861cc don't calculate code tool content unless it's in use 2023-12-11 07:35:02 -06:00
haven1433
b790234693 version bump 2023-12-08 14:26:32 -06:00
haven1433
d4d1247290 item expansion script 2023-12-08 14:11:32 -06:00
haven1433
95da02a604 Reference-Count ViewModels for save check
only ask to save when the last viewport for a particular model closes
2023-12-08 11:28:24 -06:00
haven1433
289d3f7e00 add newgame heal respawn location constants for FR/LG 2023-12-08 10:48:56 -06:00
haven1433
7ec8e206c0 fix broken tests
overworld sprites format change is expected
2023-12-08 10:33:30 -06:00
haven1433
8d68e709b1 decompile comments for ldr commands that load from pc offset 2023-12-08 10:33:15 -06:00
haven1433
a0dbafe6ab new version of HMA needs to respect removed CFRU tables 2023-12-08 07:26:59 -06:00
haven1433
716429d34d syntax highlighting for closing quotes 2023-12-07 23:12:32 -06:00
haven1433
456bffd798 fix broken link 2023-12-07 23:09:57 -06:00
haven1433
bfbb93c747 if a sprite's pointer is invalid, don't generate a SpriteRun 2023-12-07 23:08:54 -06:00
haven1433
668cf945ab hubol -> add data.pokedex.kanto
https://github.com/haven1433/HexManiacAdvance/wiki/Haven's-Unofficial-Build-Of-Leon's-Dynamic-Pokemon-Expansion---Complete-FireRed-Upgrade-Rombase#regional-pokedex
2023-12-07 22:56:12 -06:00
haven1433
64841c25d0 delete clones when deleting object events 2023-12-07 22:55:55 -06:00
haven1433
f3fc60a357 overworld expansion script 2023-12-07 22:14:27 -06:00
haven1433
ed7c1760f8 fix table length for emerald overworld sprites 2023-12-07 22:11:05 -06:00
haven1433
316e0bfcd1 fix possible crash 2023-12-06 22:33:28 -06:00
haven1433
dd26ca8cb4 allow calling viewPort.Edit from python within .hma scripts 2023-12-06 22:33:04 -06:00
haven1433
f84219346f allow extension methods from python 2023-12-06 22:32:38 -06:00
haven1433
d3d2ab7656 add constant for overworld length for R/S
with this change, it should now be safe to expand R/S/FR/LG overworld sprite tables up to 240 elements each. Emerald is already the maximum length.
2023-12-04 23:11:54 -06:00
haven1433
d6cbc68d28 fix typos 2023-12-04 06:56:52 -06:00
haven1433
ebc0becbe6 update setting for which moves are physical/special after applying the split
Moves are based on Gen 4 rather than Gen 3.
Instead of making all previously Physical moves Physical and all previously Special moves Special...
Make all "Contact" moves Physical, and all "NonContact" moves special.
Then update the 29 moves that don't follow that rule of thumb.
2023-12-02 22:23:01 -06:00
haven1433
aaf711b1b7 fix edge case crashes 2023-12-02 21:58:35 -06:00
haven1433
20616245a4 utilities should work from map editor as well as ViewPort 2023-12-02 21:58:25 -06:00
haven1433
4ed2017b62 prevent certain commands while the goto menu is open 2023-12-02 21:28:05 -06:00
haven1433
4e5332673f fix autocomplete for tablestreams with comments 2023-12-02 21:11:06 -06:00
haven1433
e8c44cb20c duplicate tabs don't refresh correctly after undo/redo 2023-12-02 21:02:09 -06:00
haven1433
8951421d34 Combat Items for Emerald
rename Combat Items script and Tutor Items script. Shorter names, easier to remember, still very informative.
2023-12-01 22:15:08 -06:00
haven1433
c2c968920f bugfixes
parse "rX = <anchor>" correctly
2023-12-01 12:26:09 -06:00
haven1433
447a6ae062 first draft battle scripts for items
only works for FR/LG
2023-12-01 11:32:26 -06:00
haven1433
b7f5a3cad6 make data.battle.text expandable (FR/LG)
the constant in R/S/E has a `lsl 1` on it, so the table cannot be naturally expanded. It may be better to just remove the limiter, which is near the 2nd-to-last pointer to the table.
2023-12-01 10:44:06 -06:00
haven1433
fab59ae727 minor bugfixes
xor as an alias for eor
r1 >>= 2 should compile correctly
fix crash when writing thumb code
2023-12-01 10:43:01 -06:00
haven1433
8e81968a50 version bump 2023-11-29 22:22:04 -06:00
haven1433
003f745878 first draft of battle script item effects (doesn't work) 2023-11-29 22:16:26 -06:00
haven1433
c395200f20 hubol updates
type icons are bigger in CFRU
additional hold effects from CFRU
2023-11-29 22:15:49 -06:00
haven1433
d88aeb535f minor features
add teachy-tv table
add comment explaining how ListMenu works. Add table that ListMenu uses.
setweather takes a weather enum now instead of a number
setworldmapflag values are displayed in hex, and no longer offer flag-picking since it's a different list of flags
choose-save background palette
2023-11-29 21:54:40 -06:00
haven1433
dcc551396f msgbox.item only works in FR/LG 2023-11-29 21:03:10 -06:00
haven1433
6b7bf5cb36 fix cursor during insert-flag / insert-var 2023-11-29 20:56:42 -06:00
haven1433
ea443875e5 detect render thread failures and offer to disable hardware acceleration 2023-11-29 20:56:20 -06:00
haven1433
16ae49d496 allow importing 2bpp/1bpp sprites when no palette is selected 2023-11-29 20:55:58 -06:00
haven1433
ff4bae7ecd prevent caret-reset events 2023-11-28 23:03:35 -06:00
haven1433
80817b36a3 fix <auto> complete
the cursor-save system didn't always work correctly. Replace it with a "deferred cursor set" that happens only with auto. In other cases, the cursor is just set based on the changed text (such as adding {}).
2023-11-28 21:36:14 -06:00
haven1433
4989cb5c62 fix possible crash 2023-11-28 19:47:44 -06:00
haven1433
c8e3998d94 image editor: fix select/flip/move interaction
moving and then flipping a selection should also update the "underPixels" and "underMask"
2023-11-28 19:47:34 -06:00
haven1433
7dccc53e53 fixing bugs
script args should be able to handle <null>
don't add/remove runs inside the method that isn't supposed to touch the runs collection
handle race condition where UI may be aware of tab being removed before ViewModel gets a chance to notify it
fix bounds checking in map editor collision counting
better default value for newly added map script tables
fix width/height double-check when failing to import multi-sprites
fix cutoff text
fix spelling error
2023-11-27 23:29:44 -06:00
haven1433
67d8f631ca fix broken test 2023-11-17 22:23:43 -06:00
haven1433
7f49a6c2ca flag label / textbox should point right 2023-11-17 22:20:15 -06:00
haven1433
69e03b7c08 use script variables for specials documentations 2023-11-17 22:19:39 -06:00
haven1433
9d9b0d7f7f update documentation to use varX instead of 0x800X for scripts 2023-11-17 22:11:19 -06:00