haven1433
2c022dafe6
9-grid limit drawing range to drawing on map
2024-05-30 19:37:48 -05:00
haven1433
9a4dcca602
fix autocomplete when changing script types
...
matters for when you jump directly from a battle script to an event script. Not only do we need the syntax highlighting to update, but also the auto-complete options
2024-05-30 19:37:36 -05:00
haven1433
169c2b7140
don't crash if looking for an inverse connection for a map with no connection data
2024-05-30 16:33:17 -05:00
haven1433
eeb7383549
update firered movementtypes
2024-05-30 15:50:14 -05:00
haven1433
f991486de4
clear selection before goto
2024-05-30 15:13:30 -05:00
haven1433
6b958451f0
fix anchor name logic. Cannot contain dashes.
2024-05-30 14:59:22 -05:00
haven1433
6afcbc1a62
when changing the size through the table tool, create a blockmap backup
...
so that as the size changes, the initial area can remain the same as expected
2024-05-30 11:47:35 -05:00
haven1433
2dc56faa7d
expanding OWs/Palettes .hma updates
2024-05-30 11:41:45 -05:00
haven1433
b49bf2fe1e
improve scriptReference.txt parsing
2024-05-30 11:12:59 -05:00
haven1433
8ce21a3e95
validate that script macros that expect the same value in multiple args only apply if all the args actually have the same value
2024-05-30 11:12:48 -05:00
haven1433
4e7dce1864
fix value==int.MinValue bug in script parsing
2024-05-30 11:12:19 -05:00
haven1433
069ae630d3
fix nul pointer
2024-05-30 10:29:42 -05:00
haven1433
24b8b50bb6
fix out-of-range error with record fields
...
Make sure that when reading the target for a record, the target is in range of the rom.
2024-05-30 10:29:24 -05:00
haven1433
8f15d29889
don't crash if a map is missing a blockset pointer
2024-05-30 09:58:35 -05:00
haven1433
f64155ad18
exclude emerald match call flags from free flags
2024-05-30 09:58:11 -05:00
haven1433
5154d05f63
improve script command parsing logic
...
account for macros in linecode matching logic
2024-05-30 09:57:49 -05:00
haven1433
25c18c4590
improve goto resolution
...
prefer matching table elements over documentation
allow documentation searches using prefixes like "doc/" or "command/"
2024-05-30 09:57:13 -05:00
haven1433
0843e26514
fix typo
...
this whole feature will be replaced in the future
2024-05-30 08:04:28 -05:00
ShinyTillDawn
ad4aeab057
Implemented 7 feature requests. ( #221 )
...
* Updated the battleOptions observable collection.
Axcellerator's feature request.
I updated the third & fourth option and reformatted the last option. Separating these lists for the Kanto & Hoenn games would be useful, though challenging to implement, I think.
* Two table reference touch-ups
Made the pokemonOffset & trainerOffset fields in Emerald's `data.pokedex.stats` unsigned.
Made the worldmapflag in the `graphics.overworld.firstpersonview.sprites` table show as a base-16 number.
* A 3rd table reference touch-up
Updated the back throw anchor's fields from a, b, c to size, index.
* A fourth and fifth table reference touch-up
Yogia's feature request: Implement a fixed `data.famechecker.trainerpics` anchor.
RedKraken's feature request: Implement an anchor for the PC script.
As for the name, there's only 1 `pc` subdirectory under `scripts`, and it's under `newgame`, so that's where it was located. However, this new anchor name can be adjusted.
* The final feature request in this pull request
In `scriptReference.md`, parameter fields that format numbers as entries from a named anchor will have the words "is from" instead of just "from."
2024-05-30 07:56:03 -05:00
haven1433
cb13a6d153
Merge branch 'master' of https://github.com/haven1433/HexManiacAdvance
2024-05-29 21:25:32 -05:00
haven1433
dc18c138ea
add capability of split-byte arguments for scripts
...
We want a macro that can "set the current move" for use in battle scripts, for setting how the animation should work. This needs to set a low-byte high-byte pair based on a move id, which requires 2 separate commands. In order for this macro to work, the code needs to be able to read the two split bytes as a single value, and write the single value as 2 split bytes. This is now supported.
2024-05-29 21:24:14 -05:00
haven1433
aa850c38fc
Add TableGroupPanel prototype
...
The current table panel is very slow, possibly because it's made of lots of controls. This was a basic prototype to show how it might operate if it's all a single FrameworkElement instead of a nested ItemsControl.
2024-05-29 19:08:14 -05:00
haven1433
a532f72ced
battle scripts can end with handleballthrow, finishaction, and finishturn
2024-05-29 19:05:53 -05:00
Payst
fc2a3b26d9
Update the check in BlockmapRun.cs to match all FR/LG languages. ( #220 )
...
Basically, removes the "E" from the gamecode check so that it doesn't only match English ROMs, but every other FR/LG Rom.
2024-05-29 18:50:28 -05:00
ShinyTillDawn
142f053d2f
Updated default.bprf0.toml. ( #219 )
...
Credit to Payst for providing the updated information.
2024-05-29 18:49:48 -05:00
ShinyTillDawn
10534d6cc0
Added missing Emerald anchors for the idle levels. ( #218 )
...
These existed for FireRed & LeafGreen, but the ones for Emerald have recently been found.
2024-05-29 18:49:02 -05:00
ShinyTillDawn
f93945a9e6
AI Script Reference Touch-Ups and Battle Script Aliases ( #217 )
...
* AI Script Reference Touch−Ups
* Battle Script Aliases
* Command C9's alias was removed.
It's because it doesn't work in HMA.
2024-05-29 18:47:57 -05:00
ShinyTillDawn
0cc7c238fc
Additional Script Reference Changes ( #206 )
...
− Fixed the indentation for 54
− Modified the description for 5F
− Fixed a typo in 8B's name
− Added a [[List]] to the behavior param of AA
2023-12-22 17:34:22 -06:00
haven1433
b2ba2174a9
improve release script usability
2023-12-14 09:16:36 -06:00
haven1433
cc19aaf818
version bump
v0.5.6
2023-12-14 09:04:11 -06:00
haven1433
c42d9fc0c8
don't forget overworld table format when updating
2023-12-14 09:03:20 -06:00
haven1433
9d55836e21
add basic comments for parts of script that may need to be edited
2023-12-14 08:12:35 -06:00
haven1433
940ab5f6fc
don't clear block selection when manually changing collision
2023-12-13 10:37:08 -06:00
haven1433
54b76d0c3f
add prototype "dynamic OW palette" script
2023-12-13 10:03:30 -06:00
haven1433
aab2f69f67
add a "graphics as text" option for Overworld Objects
...
useful for dealing with dynamic sprites, like the old man or the pokemon icon feature
2023-12-13 10:03:10 -06:00
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
v0.5.5
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