Changed functionality of running key, added compatibility with old Mystery Gifts

This commit is contained in:
Maruno17
2021-03-07 19:16:05 +00:00
parent 3a1b9b6dc6
commit 3ca08f27b8
15 changed files with 38 additions and 38 deletions

View File

@@ -592,7 +592,7 @@ def getFormattedText(bitmap,xDst,yDst,widthDst,heightDst,text,lineheight=32,
alignstack.push(0)
nextline=1 if x>0 && nextline==0
else
alignstack.pop;
alignstack.pop
nextline=1 if x>0 && nextline==0
end
elsif control=="ac" # Center align
@@ -600,7 +600,7 @@ def getFormattedText(bitmap,xDst,yDst,widthDst,heightDst,text,lineheight=32,
alignstack.push(2)
nextline=1 if x>0 && nextline==0
else
alignstack.pop;
alignstack.pop
nextline=1 if x>0 && nextline==0
end
elsif control=="icon" # Icon