Skip to content

Commit caa1428

Browse files
Gakuen Saimin Reido
Trying to fix the issue with Gakuen Saimin Reido script assembling. It seems to work. But does it really?..
1 parent b27bb5d commit caa1428

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

SilkyMes.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ class SilkyMes:
55
#[Opcode, struct, name, isInSea], modifier].
66
CommandLibrary = [
77
[0x00, '', 'NULL', []],
8+
[0x02, '', '', []],
89
[0x0A, 'S', 'STR_CRYPT', ['']],
910
[0x0B, 'S', 'STR_UNCRYPT', ['']],
11+
[0x10, 'B', '', ['']],
1012
[0x14, 'I', 'JUMP', ['>']],
1113
[0x15, 'I', 'MSG_OFSETTER',['>']],
1214
[0x18, '', 'NVL?', []],
@@ -159,6 +161,7 @@ def assemble(self):
159161
for i in range(len(self.CommandLibrary[comIndex][1])):
160162
currentPart = self.CommandLibrary[comIndex][1][i]
161163
if ((currentPart == 'I') or (currentPart == 'i')):
164+
znach = int(commands[i]) #!!!
162165
if (self.CommandLibrary[comIndex][0] == 0x19):
163166
znach = messageCount
164167
messageCount += 1

0 commit comments

Comments
 (0)