Commit Graph

563 Commits

Author SHA1 Message Date
Haven1433
b25a480f52 wild editing
also improve goto menu
* hide shortcuts when using the buttons, to make more room
* remember text when switching tabs
2022-09-15 19:45:11 -05:00
Haven1433
ee28bc8a02 initial ai script support 2022-09-12 20:23:40 -05:00
Haven1433
610171b59a fix broken behavior
New rule: when clearing format and the run starts _before_ what we're clearing, leave the pointers and a NoInfoRun. Before this rule, we would clear out the anchor as well, which could cause some confusion if that anchor/format was re-added later, since it wouldn't know about tables that point to it.

Fix bug in script parser: next text runs should know about pointers to them
2022-09-11 20:59:35 -05:00
Haven1433
1aaf079f8d updating shiny odds for French FireRed 2022-09-11 08:04:19 -05:00
Haven1433
29dd2bc9cf emerald publisher logo tileset/palette 2022-09-10 20:56:10 -05:00
Haven1433
f94eeb38df Merge branch 'master' of https://github.com/haven1433/HexManiacAdvance 2022-09-09 22:40:35 -05:00
Haven1433
201ecae9be thumb compiler improvements
support multiline comments /**/
support .equ directives
support .hword and .byte directives
2022-09-09 22:40:12 -05:00
TheDiamondMiner
99ce6175de
Fixed Typo (#98) 2022-09-09 21:14:33 -05:00
Haven1433
7c82d38d96 add new runtype / fix undo
also add some drag interactions
2022-09-07 19:51:59 -05:00
Haven1433
1649b35603 connection editing first pass 2022-09-06 19:19:00 -05:00
Haven1433
2427daf76f render OWs 2022-09-05 23:02:36 -05:00
Haven1433
d24e150eff add names for specials in FR/LG 2022-09-04 22:21:34 -05:00
Haven1433
be3b053d12 Merge branch 'master' of https://github.com/haven1433/HexManiacAdvance 2022-09-04 21:26:06 -05:00
TheDiamondMiner
7f86f06817
Updated description for setmaptile command (#97)
* Added list varmacros on the defaut .toml and updates script reference as per shiny's request

* changed description

* Made your changes
2022-09-04 19:01:59 -05:00
Haven1433
21eb4fc006 add down arrow graphics for menus/text 2022-09-03 21:16:20 -05:00
Haven1433
ed5a9eb47c fix D5 in scripts for R/S/E
R/S don't seem to have this commmand. Emerald does. In FR it's a nop.
2022-09-03 20:12:48 -05:00
Haven1433
ddf14d3837 Code cleanup 2022-09-03 00:07:36 -05:00
Haven1433
aad0f4e48c fixes 2022-09-01 12:48:12 -05:00
Haven1433
52880278ea update battleScriptReference
thanks to AGSMG for helping to fill out some of these missing details
2022-09-01 12:45:33 -05:00
Haven1433
cd78b16f69 revert owtextcolor change
This doesn't apply in vanilla
2022-09-01 11:19:53 -05:00
Haven1433
6a761d9d23 Merge branch 'master' of https://github.com/haven1433/HexManiacAdvance 2022-09-01 10:55:06 -05:00
TheDiamondMiner
55958724a0
Added a new value to default toml which is the owtextcolor for the unused value in overworld sprite (#95) 2022-09-01 10:54:45 -05:00
Haven1433
c1651807d6 fix issues from tests
thanks tests
2022-09-01 08:01:21 -05:00
Haven1433
587dada550 update script commands 2022-09-01 07:24:44 -05:00
Haven1433
a2b01ca309 enum for trainer double battles 2022-08-31 22:28:54 -05:00
Haven1433
b7cd14f2c6 add emerald pc text table 2022-08-31 22:26:35 -05:00
Haven1433
967cec0d85 add pokeball catchrates 2022-08-31 22:26:08 -05:00
Haven1433
68b4bc520d add macro support for gray as well as grey 2022-08-31 20:29:05 -05:00
Haven1433
7994bbc78d add logic for offsetting the sprite based on the elevation 2022-08-29 22:00:46 -05:00
Haven1433
49fae5db0b allow tilemaps to include image switcher in the image tool 2022-08-26 21:31:38 -05:00
Haven1433
810f8c7a65 ScriptParser needs to know which game it is.
The 'showmoney' and 'updatemoney' commands are different from game to game. It has 2 parameters in R/S, but 3 parameters in FR/LG/E.

Update the scriptReference to specify that these commands have different versions for the different games.

Update ScriptParser to be able to read this new addition to the script reference format.

Add tests to show that the new commands are read correctly between games.
2022-08-25 06:51:51 -05:00
Haven1433
76ae4efee1 clean up map banks 2022-08-19 20:12:46 -05:00
Haven1433
5405aa3daa add final fantasy text decoding
further edits are needed to make this useful, but I'm committing this so we don't lose track of it
2022-08-04 20:27:22 -05:00
Haven1433
2b6bcab364 allow both <anchor>+1 and <anchor+1> to work in thumb code 2022-07-02 12:16:14 -05:00
Haven1433
cd6ea07d45 add support for expanding emerald starters 2022-06-28 08:12:10 -05:00
Haven1433
59ed8f7c11 fix palette discovery for Vega 2022-06-28 07:27:48 -05:00
Haven1433
c119107bbd thumb code should not clear pointers to start+1 2022-06-24 23:07:14 -05:00
Haven1433
0f0f2a0260 add pokemon shadow sprite 2022-06-23 21:13:25 -05:00
Haven1433
8b90b98994 fix parser bug 2022-06-23 21:12:10 -05:00
Haven1433
4f9b9bc9c1 add titlescreen music constant 2022-06-19 22:27:17 -05:00
Haven1433
d768ed883a add list for item types
This list isn't actually used yet, since it doesn't work for pokeball items
2022-06-19 21:30:05 -05:00
Haven1433
c23819edb9 add protect success rate table
This table isn't terminated, which means it just _happens_ to drop to almost zero, since the metronome table is directly after it. But if the metronome table gets moved, then the rate grows back to full if the bytes after the table are FFFF. Adding this table makes it possible to fix the bug by expanding the table and adding `00 00` as the last entry, to make sure that Protect 'always fails on the 5th attempt' or however many entries you want to add.
2022-06-19 19:51:01 -05:00
Haven1433
99c4eb1b2e update effect animations names for FR/LG
FR/LG's table is longer
2022-06-19 18:58:42 -05:00
Haven1433
61dbbb72ff add rival nameselection graphics
This looks like an OW, but is actually stored as separate graphics in the rom
2022-06-19 18:56:53 -05:00
Haven1433
276293fc8a fix yOffset of front sprites 2022-06-16 23:25:57 -05:00
Haven1433
8e48443170 add battle script compare options 2022-06-09 07:59:56 -05:00
Haven1433
1b8e03fecf fix bug compiling thumb code 2022-06-08 22:14:49 -05:00
Haven1433
b104d0153a update map bank fields 2022-06-07 23:30:28 -05:00
Haven1433
8dd5a1baff fix palette pages for pokemon box backgrounds 2022-06-05 21:24:03 -05:00
Haven1433
fd80fe8b14 add newgame constants for R/S/E 2022-06-02 23:09:56 -05:00