CebolaBros64 / PaneponSFC-Text

Text editing utilities for the SNES Panel de Pon games.
1 stars 0 forks source link

[Python] Add proper handing of the control codes #3

Open CebolaBros64 opened 3 years ago

CebolaBros64 commented 3 years ago

How it is now:

<table>,10These games are
for one player.<END>

How it should be:

<table=0>These games are
for one player.<END>
CebolaBros64 commented 3 years ago

(Tangentially related, posting here because I made the topic too obtuse :p)

d2400841a9d7f04cc9bc36479742ff9daf0fc925 added encoding offsetting behavior to the \

control code, but they are still formatted incorrectly - as shown in the issue.

CebolaBros64 commented 3 years ago

Example of the above:

<table>,1かやあ

should be

<table=0x0F>やあ

or alternatively

<table=15>やあ