Commit Graph

634 Commits

Author SHA1 Message Date
jeffman fec378462d Organize hack code 2019-01-06 18:34:54 -05:00
PhoenixBound af7d0508a0 Summers, Happy Happy, escaping Winters, blue-haired healer fixes (#25) 2019-01-03 09:23:54 -05:00
jeffman 8e2486e61b More tools organization 2019-01-02 22:05:51 -05:00
jeffman 49e28ed9d2 Move files 2018-12-21 15:19:52 -05:00
jeffman 8751dff2c7 Delete old unused files 2018-12-21 15:19:11 -05:00
jeffman 117a49d791 Update gitignore 2018-12-21 15:18:54 -05:00
jeffman 8d98e883e7 Update ScriptTool to .NET Core
Also move to tools/ folder
2018-12-21 15:18:19 -05:00
jeffman f6cda989d6 Update notes 2018-12-21 14:54:04 -05:00
jeffman cbbfd33c83 Updated notes for Goods code 2018-12-17 21:48:48 -05:00
jeffman 69292b100f Add label dump 2018-12-17 20:06:02 -05:00
jeffman 42bf108c76 Translate teleport names 2018-12-14 00:50:56 -05:00
jeffman 973e63c669 Use DecompileString for fixed text tables
This works around an issue with invalid characters in the teleport
destination table, since the flag/coordinate data is mixed in with the
text
2018-12-14 00:49:33 -05:00
jeffman cb0182f324 Align string tables to 4 bytes 2018-12-14 00:48:47 -05:00
jeffman 90fa5d4748 Better exception message for invalid characters 2018-12-14 00:48:24 -05:00
jeffman 329fb3545f Update README 2018-12-13 23:08:19 -05:00
jeffman a9c80aa902 Fix wrong register 2018-12-10 14:38:35 -05:00
jeffman c9619ba3cf Remove old build instructions (see README) 2018-12-10 12:36:08 -05:00
jeffman 6ca5f8543a Custom control codes force a window draw
Also made the cash window one tile shorter
2018-12-09 21:15:42 -05:00
jeffman bc46af1253
Merge pull request #24 from PhoenixBound/compiled-vwf
Menus, docs, and lots of text
2018-12-08 15:32:56 -05:00
PhoenixBound 77ec8a82f6 Various text improvements 2018-12-07 21:13:08 -06:00
jeffman 442d52054b Fix cash window formatting (when pressing B)
Does not fix the cash window that pops up when e.g. accessing the ATM.
2018-12-06 23:07:35 -05:00
jeffman ffd8f7131a Updated notes 2018-12-06 23:05:12 -05:00
jeffman aa4191aec2 bin_to_bcd can be called from C
Remove old cash window formatting code (we'll be rewriting it in C)
2018-12-06 23:05:00 -05:00
jeffman 6999957c7f Print numbers properly outside of battle 2018-12-06 20:53:43 -05:00
jeffman bd7dff7d47 Fix printing ATM balance to main text window 2018-12-06 20:44:08 -05:00
jeffman e64b58d89e Number menu prints and clears properly 2018-12-04 23:52:35 -05:00
jeffman 3fe62f4611 Unindent 2018-12-04 22:50:32 -05:00
jeffman a7ffd1059d Number selection menu fixes
Dollar sign, initial zeroes, and 00 symbol all display properly now
2018-12-04 22:22:53 -05:00
jeffman 7dab3d8ad5 Create number_selector struct 2018-12-04 22:22:52 -05:00
jeffman c9d4753e3c Move notes to subfolder 2018-12-04 22:22:52 -05:00
jeffman 359d1aac54 Update notes 2018-12-04 22:22:52 -05:00
jeffman f0b6e59dd1 Update contributors 2018-12-03 17:40:43 -05:00
jeffman c95e1769d4 ASM hacks to print/clear menu selection strings 2018-12-01 00:50:49 -05:00
jeffman debdea78bd Add print_menu_string
This essentially does the same thing as print_string, but with some
additional behaviour:
- Custom control codes (5F and 60) are checked
- Will automatically update the window's cursor_delta value
- Updates the window's text X values
2018-12-01 00:50:29 -05:00
jeffman ba28534e5a Add null check
Also use more consistent variable naming
2018-12-01 00:44:50 -05:00
jeffman 6a52aafb6d Add some comments on coordinate units 2018-12-01 00:44:03 -05:00
jeffman 5db8ff5901 Some type changes
Use stdbool; change int* to byte* for the window text pointers; put
typedefs into types.h
2018-12-01 00:43:22 -05:00
jeffman 59bfa79a3b Add menu selection strings to compiler 2018-12-01 00:40:47 -05:00
jeffman 4425349192 Located the M2 function that prints menu strings 2018-11-29 22:16:29 -05:00
jeffman 8d1dc7803b Window+12 is the menu text pointer 2018-11-29 22:16:01 -05:00
jeffman 2074722f5c Fix PSI name length
This was triggered by Poo's Starstorm entry in the PSI window
2018-11-29 21:50:39 -05:00
jeffman 26ad3435c0 Add missing function signature 2018-11-29 21:50:06 -05:00
jeffman 85d982a9f6 Fix [68 FF] window-clearing control code 2018-11-29 21:31:16 -05:00
jeffman 14e0a47594 Temp commit from tonight's stream
Fixes flyover problems (crash when going into Equip menu) but I want
to clean up the code before merging.
2018-11-28 22:50:31 -05:00
jeffman 72c6ba33a9 Nop out some Goods menu drawing that we don't need 2018-11-28 21:39:38 -05:00
jeffman 1f108a040f Add some function symbols 2018-11-28 21:39:26 -05:00
jeffman 3308a5756f Fix multi-PC Goods window; add m2-goods.asm
Moved the BF858 code to a new file because it was getting too long. Added
a clear before each printstr to erase the previous contents.
2018-11-27 23:17:16 -05:00
jeffman fcfbeb2b7a Add print_blankstr_window
Same as print_blankstr, but relative to a window.
2018-11-27 23:15:28 -05:00
jeffman fd29f1f368 clear_tile resets the tilemap
Not sure about the side effects... I *think* it's okay; I can't imagine
a scenario where you'd want to clear the pixels but not the tilemap.

This came up during the multi-PC Goods window clearing: the equip symbols
weren't getting cleared when calling print_blankstr. If this change has
unintended side effects, revert it and then manually clear the equip
symbol tilemap in bf858_goods.
2018-11-27 23:14:51 -05:00
jeffman afac6a7072 Update README 2018-11-26 23:48:54 -05:00