Fix misnamed character codes

Some character codes were erroneously named after their text command
counterparts. This has caused a lot of confusion with naming their
functions and with other things.

I've also removed the `dict2` macro and expanded the `dict` macro. This
really isn't something we should be doing for macros but I can't deny it
looks a lot neater than repeated code.
This commit is contained in:
mid-kid
2018-07-17 23:08:04 +02:00
parent 778d57ba21
commit 1fc7430a2b
8 changed files with 53 additions and 49 deletions

View File

@@ -3570,25 +3570,25 @@ Palette_17eff6:
RGB 24, 16, 3
RGB 0, 0, 0
Function17f036::
RunMobileScript::
ld a, $6
call GetSRAMBank
inc de
.asm_17f03c
call Function17f047
jr c, .asm_17f043
jr .asm_17f03c
.loop
call _RunMobileScript
jr c, .finished
jr .loop
.asm_17f043
.finished
call CloseSRAM
ret
Function17f047:
_RunMobileScript:
ld a, [de]
inc de
cp $50
jr z, .finished
cp $10
cp $10 ; jumptable size
jr nc, .finished
dec a
push de