Commit Graph

518 Commits

Author SHA1 Message Date
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
Haven1433
65765e695f Allow Text Macros
* Replace the static PCSString.Convert method with an instance method on a TextConverter that's owned by the Model. The TextConverter can know about different macros depending on which rom is being edited.
* Add macros to pcsReference.txt
2022-06-02 20:53:39 -05:00
Haven1433
93f8cce753 add hp-aware move effects tables
the trainer ai hp-aware flag makes the trainers less likely to use certain moves based on their own HP or the target's HP. For example, effects like
```
SelfKOAndAttack
HealHalfSelf
Rest
Endure
```
are all discouraged when the pokemon's health are high, while
```
RaiseAttack1Primary
RaiseSpAttack1Primary
OHKO
```
are discouraged when the opponent HP is low.
2022-05-29 21:36:17 -05:00
Haven1433
de7554f307 fix script reference typo 2022-05-27 23:33:49 -05:00
Haven1433
d98ba556d2 add fanfares for R/S/FR/LG 2022-05-25 23:31:33 -05:00
Haven1433
bb1948d339 Introduce pcsReference.txt
Other programs let you edit the way text is interpreted using .ini files. Add a new pcsReference.txt file that lets users see the interpretation of bytes-to-text, the number of arguments used for different control codes, and allow them to change it.
2022-05-25 23:31:20 -05:00
Haven1433
9615ad44b0 add new fanfare table 2022-05-25 22:13:36 -05:00
Haven1433
91530a51f1 improve contest support 2022-05-22 21:03:53 -05:00
Haven1433
27d295eaa4 add emerald battlefrontier clerk item icon tables 2022-05-20 22:39:14 -05:00
Haven1433
72f9df2196 update table names 2022-05-20 21:56:34 -05:00
Haven1433
d1e113d362 fix setbyte/addbyte parameter 2022-05-19 21:02:34 -05:00
Haven1433
6d3c95b806 improve shiny odds tooltip 2022-05-17 21:29:11 -05:00
Haven1433
78ee96ab9e Merge branch 'master' of https://github.com/haven1433/HexManiacAdvance 2022-05-16 22:02:52 -05:00
TrainerX493
0dc8a7544c
Update "moveeffectoptions" (#90) 2022-05-16 22:02:16 -05:00
Haven1433
01f0c3905e battle script update 2022-05-16 21:11:48 -05:00
Haven1433
fdc01336a7 Add OffsetRenderViewModel
When a field in a table represents a graphical offset between a foreground and background element, users would like an easy way to see that without needing to run their game through an emulator.

This new addition to the table format allows for a 0-length format that takes parameters for background, foreground, and the relation between the two, allowing for x and y offsets to be applied between them.
In the table tool, this shows up as a composite image built from the background and foreground, and mouse drag can be used to change the relationship between the two.

Additionally, you can now use the arrow keys to increase/decrease values in numeric textboxes in the table tool. This is reversed for yoffset fields so that up/down move the sprite by a single pixel when pressed.
2022-05-16 21:11:30 -05:00
Haven1433
e4b82e0bc4 decap util bugfix/improvement
Decap the fight menu
Fix the bug in the POKEMON decap section
2022-05-15 21:07:39 -05:00
Haven1433
e278fe43d7 add battlefrontier tutor description text tables 2022-05-15 16:44:41 -05:00
Haven1433
07458b3271 add additional tables from AGSMG 2022-05-15 01:14:38 -05:00
Haven1433
3b9ceb1e92 add emerald addresses for hud graphics 2022-05-15 00:59:19 -05:00
Haven1433
0bc5d94f3e add missing tiles to graphics.battle.hud.status
Was 50 tiles, needed to be 54 tiles
2022-05-15 00:53:59 -05:00
Haven1433
bb2398fa92 fix palette page 2022-05-15 00:48:22 -05:00
Haven1433
10a64d8f03 add additional menu background graphics 2022-05-15 00:44:01 -05:00
Haven1433
aa6e8e5f06 add professor pokemon constants for FireRed 2022-05-15 00:29:46 -05:00
Haven1433
fbf06762a2 test fixing
* had to remove `graphics.newgame.menu.naming.tilemap1`, as the palette data for it was wrong
* had to rename a few anchors since there were too many in those categories
2022-05-14 23:55:13 -05:00
Haven1433
03922d30dc add constant data.abilities.pickup.length for firered 2022-05-14 23:18:56 -05:00
Haven1433
90b13ffe92 add stat-change battle animation graphics 2022-05-14 22:56:54 -05:00
Haven1433
1f22c5c116 adding newgame naming menu graphics for FireRed 2022-05-14 22:35:29 -05:00
Haven1433
f420845758 add evolution background tilemap for FireRed 2022-05-14 22:22:49 -05:00
Haven1433
7edfbc6dc2 add additional battle animation scripts 2022-05-14 22:12:11 -05:00
Haven1433
32005a7d71 follow-up changes to DMiner's gender list feature
* improve auto-complete for sparse lists
* fix table tool filtering bug for sparse lists
* add a newline at the end of default.toml
2022-05-14 16:00:22 -05:00
Haven1433
b7ab5d9041 Merge branch 'master' of https://github.com/haven1433/HexManiacAdvance 2022-05-14 15:45:17 -05:00
TheDiamondMiner
53446ff917
Added gender-ratio values for presets & improved a name in toml (#88)
* added 10 values for gender ratio presets.

* Fixed an error made by me
2022-05-14 15:43:50 -05:00
Haven1433
e64b5a0eea add sound.tracks and sound.musicplayer for emerald 2022-05-14 07:29:33 -05:00
Haven1433
5beb09325e add thumb code table for move animation script commands 2022-05-13 22:45:42 -05:00
Haven1433
132bc95fa1 add support for starter editing in FR/LG 2022-05-13 22:37:08 -05:00
Haven1433
0ee6c97617 Add ips/ups patch creation support
right-click on a tab, choose to create a patch from that tab to the next tab to the right
2022-05-12 08:05:04 -05:00
Haven1433
70b70d8685 add useitem animation 2022-05-09 23:28:39 -05:00
Haven1433
9d9e65bca5 update tables 2022-05-09 23:19:49 -05:00
Haven1433
e1a5ac5b57 add DoomDesire animation 2022-05-08 23:44:28 -05:00
Haven1433
9c56704249 add new pc options text table 2022-05-08 22:59:49 -05:00
Haven1433
cf2c2c4b18 allow lists with null elements
I meant to support this before, but apparently didn't. Add for type chart readability
2022-05-08 22:18:36 -05:00
Haven1433
02d16518d1 fix scripts.specials.thumb length in FR/LG 2022-05-05 20:34:17 -05:00
Haven1433
485b307115 Don't require filler arguments to be explicit 2022-05-03 10:50:57 -05:00
Haven1433
5bccc8258f improve script parsing
allow enum tables to parse numeric values
2022-05-03 06:51:04 -05:00
Haven1433
80ba9eeb2c add introscene biking character sprites 2022-04-28 09:06:40 -05:00