mirror of
https://github.com/pmret/papermario.git
synced 2024-11-09 12:32:38 +01:00
fix credits font
This commit is contained in:
parent
a7f5ed8a36
commit
a35b085c17
@ -386,9 +386,10 @@ class N64SegPaperMarioMessages(N64Segment):
|
||||
|
||||
def write_message_markup(self, data):
|
||||
pos = 0
|
||||
self.root_charset = CHARSET
|
||||
|
||||
while data[pos] != 0xFD:
|
||||
self.charset = CHARSET
|
||||
self.charset = self.root_charset
|
||||
|
||||
while True:
|
||||
char = data[pos]
|
||||
@ -422,6 +423,6 @@ class N64SegPaperMarioMessages(N64Segment):
|
||||
self.f.write(markup)
|
||||
|
||||
if markup == "[font=title]\n" or markup == "[font=subtitle]\n":
|
||||
self.charset = CHARSET_CREDITS
|
||||
self.root_charset = CHARSET_CREDITS
|
||||
elif markup == "[font=normal]":
|
||||
self.charset = CHARSET
|
||||
self.root_charset = CHARSET
|
||||
|
Loading…
Reference in New Issue
Block a user