Commit Graph

624 Commits

Author SHA1 Message Date
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
jeffman 723b5936c9 Add some symbols for Ness' stats 2018-11-26 23:48:30 -05:00
jeffman cd6091c086 Remove bad movement entry
This was causing the crash before Titanic Ant. My dumb text pointer-
finding script found something in the movement data that it thought was
a text pointer but actually wasn't, and overwrote it with a new pointer
which actually corrupted the movement data!

Should probably remove all of these until we figure out movement codes...
2018-11-26 23:48:17 -05:00
jeffman 8ac2e87f5d Add ScriptTool to insert.bat
(thanks Sterophonick)
2018-11-26 22:22:25 -05:00
jeffman 09f07911cc Merge branch 'master' into compiled-vwf 2018-11-18 20:57:16 -05:00
jeffman 6eb570536a
Create LICENSE 2018-11-02 11:36:48 -04:00
jeffman 04ad88252d
Merge pull request #23 from PhoenixBound/compiled-vwf
PSI help and text describing the party
2018-09-08 01:25:05 -04:00
PhoenixBound 0d453a3714 PSI help and text describing the party 2018-09-07 23:33:19 -05:00
jeffman 292d7d013e
Merge pull request #22 from PhoenixBound/compiled-vwf
Name-related strings stuff
2018-08-14 12:40:54 +09:00
PhoenixBound 711f543ea4 Name-related strings stuff 2018-08-10 17:47:54 -05:00
jeffman bd8da266e6
Merge pull request #21 from PhoenixBound/compiled-vwf
More battle and item stuff
2018-08-05 11:16:22 +09:00