Commit Graph

462 Commits

Author SHA1 Message Date
jeffman 89a848376a Fixed some VWF bugs 2017-04-13 18:11:46 -04:00
jeffman 714c4d65a7 Converted all font data from EB 2017-04-13 18:10:51 -04:00
jeffman 72f37b4dfb Moved print_space to vwf.c 2017-04-11 17:39:56 -04:00
jeffman b46539dd34 Moved a bunch of tile clearing/copying code to C 2017-04-11 17:16:58 -04:00
jeffman 5b08fb966c Added clarification to workflow notes 2017-04-11 17:15:51 -04:00
jeffman d4e1e81bb2 Don't inline get_tile_number
It barely runs faster when inlined and it's just easier to debug things
when it's not inlined
2017-04-11 17:15:34 -04:00
jeffman 5b98d5d406 Added CpuFastSet stub 2017-04-11 17:12:20 -04:00
jeffman 9b7aa3cee7 Misc improvements 2017-04-11 12:51:12 -04:00
jeffman 8aac0f707e Mark extern ROM tables as const 2017-04-11 12:50:41 -04:00
jeffman b8864ffa52 Moved print_string to vwf.c 2017-04-11 02:12:33 -04:00
jeffman 97b962c699 Improved compile script
Now it'll pause in the command prompt if there's an error
2017-04-11 01:16:34 -04:00
jeffman c5de0ebb16 Moved weld_entry to vwf.c 2017-04-11 01:16:14 -04:00
jeffman d7ae1edd3f Ported core VWF code to C 2017-04-10 19:41:21 -04:00
jeffman dcd0b4ea6c Don't touch r12
I noticed that the generated code wasn't saving r12, but the game expects
it to be saved, so let's just not touch it
2017-04-10 19:40:30 -04:00
jeffman 7311ec1dd7 Combine .data section into .text 2017-04-10 17:08:03 -04:00
jeffman 3ab328fbf8 Use ELFSharp instead of objdump+regex 2017-04-10 16:01:54 -04:00
jeffman 8bdcf23974 Linker uses correct start address 2017-04-10 15:48:38 -04:00
jeffman e475c34e0a Cleanup 2017-04-08 15:09:53 -04:00
jeffman 1347a5236e Updated notes and fixed typos 2017-04-08 05:10:33 -04:00
jeffman ff59fee5ca Cleaner syntax 2017-04-08 05:01:02 -04:00
jeffman 2d0a5997b8 Proof of concept by porting get_tile_number to C 2017-04-08 02:22:38 -04:00
jeffman 638b979cde Added Amalgamator
This is a dumb build script that manages all the cross-compiling and
linking nonsense. You need the arm-none-eabi GNU toolchain to use any
of this.

Some more details in compiled/workflow.txt.
2017-04-08 02:22:21 -04:00
jeffman 70d0544759 Updated gitignore 2017-04-06 23:34:09 -04:00
jeffman e8aa855162 Started Goods window hacks 2017-04-06 01:39:11 -04:00
jeffman 83f88e7f17 Disable newline if text overflows; revert who/which window width
This is a problem because the game doesn't do auto newlines lazily; that
is, it will greedily scroll the text box on overflow, even if there's
nothing left to be printed.

This behaviour causes a problem when displaying "Which?" in the Equip
screens, because the width of that string is exactly the width of the
window. Because the window is only one line tall, the game was scrolling
down and the string would get erased.

Previously this was worked around by increasing the width of the window,
but recently I have found that it looks weird with the Goods window open.
So this is a slightly different workaround. I don't think we ever wanted
auto-newline-on-overflow _anyway_ since we're putting manual linebreaks
everywhere. Hopefully this doesn't cause problems.
2017-04-06 01:38:59 -04:00
jeffman 4337d2e266 Fixed a macro bug
I misunderstood what the equ directive does in armips. Replaced it with
a proper macro.
2017-04-03 09:56:18 -04:00
jeffman 1b0800e3c5 Fixed a bunch of exp-related stuff 2017-04-02 22:14:07 -04:00
jeffman c156ab6321 Fixed a bug where person and item were swapped 2017-04-02 22:13:53 -04:00
jeffman 550617f85a Fix YOU WON! graphics 2017-04-02 22:13:24 -04:00
jeffman 89ba552ef9 Disable printing [1E 20] after battle 2017-04-02 22:13:06 -04:00
jeffman b4ea923a81 Code formatting improvements 2017-04-02 22:12:18 -04:00
jeffman 2c93c55560 Updated notes 2017-04-02 22:09:08 -04:00
jeffman 07eb279677 Migrated from xkas to armips 2017-03-29 00:19:51 -04:00
jeffman 4682020e8b Added missing ASM refs and inserted placeholder text
This should fix issue #6.
2017-03-28 17:33:04 -04:00
jeffman 81dcaaa6d4 Small decompiler improvement 2017-03-28 17:31:45 -04:00
jeffman 4d75c6daa0 Added some notes 2017-03-28 17:31:38 -04:00
jeffman 4325e93d4f Added another enemy letter hack 2017-03-27 01:26:29 -04:00
jeffman 0a622c2a0f Added item name printing hack 2017-03-27 01:26:15 -04:00
jeffman f00fe3f266 Cleanup 2017-03-27 01:25:58 -04:00
jeffman 3e5d5f0112 Fixed missing bullet 2017-03-27 01:13:08 -04:00
jeffman dd8ad14ffa Undoing part of 347c6071 because it may have been a legitimate pointer 2017-03-27 01:07:01 -04:00
jeffman 347c60710f Fixed a wrong assembly ref
This is for the "@Just missed!" battle string.
2017-03-27 00:49:09 -04:00
jeffman a2881646e1 Fixed a control code 2017-03-27 00:48:49 -04:00
jeffman 7be9858965 Updated notes 2017-03-27 00:48:33 -04:00
jeffman 276693e652 Added another enemy letter hack 2017-03-27 00:48:23 -04:00
jeffman 37ea8177da Reformatted enemy dump 2017-03-27 00:19:40 -04:00
jeffman bc0b26cd63 Added a "The" flag check 2017-03-27 00:19:17 -04:00
jeffman 9d3b15c4b7 Added enemy attributes
Each entry is two bytes; first byte is "The" flag, second byte is gender
(1 = male, 2 = female, 3 = neutral).
2017-03-26 22:05:18 -04:00
jeffman eddfa3c623 Added some notes and enemy dumps 2017-03-26 22:04:33 -04:00
jeffman 80ad552b57 Screenshots showing enemy plurality code 2017-03-26 18:30:10 -04:00