-
-
Save DrMcCoy/a07ccb04fe3f232896e6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; 1494 bytes, 261 instructions | |
; Engine types: | |
; E0: Effect | |
; E1: Event | |
; E2: Location | |
; E3: Talent | |
; E4: ItemProperty | |
_start: | |
0000000D 1E 00 00000008 JSR _global | |
00000013 20 00 RETN | |
-------- -------------------------- --- | |
_global: | |
00000015 02 03 RSADDI | |
00000017 04 03 FF000000 CONSTI -16777216 | |
0000001D 04 03 00660000 CONSTI 6684672 | |
00000023 14 20 ADDII | |
00000025 01 01 FFFFFFF8 0004 CPDOWNSP -8 4 | |
0000002D 1B 00 FFFFFFFC MOVSP -4 | |
00000033 02 03 RSADDI | |
00000035 04 03 FF000000 CONSTI -16777216 | |
0000003B 04 03 00005A48 CONSTI 23112 | |
00000041 14 20 ADDII | |
00000043 01 01 FFFFFFF8 0004 CPDOWNSP -8 4 | |
0000004B 1B 00 FFFFFFFC MOVSP -4 | |
00000051 02 03 RSADDI | |
00000053 04 03 FF000000 CONSTI -16777216 | |
00000059 04 03 00000066 CONSTI 102 | |
0000005F 14 20 ADDII | |
00000061 01 01 FFFFFFF8 0004 CPDOWNSP -8 4 | |
00000069 1B 00 FFFFFFFC MOVSP -4 | |
0000006F 02 03 RSADDI | |
00000071 04 03 FF000000 CONSTI -16777216 | |
00000077 04 03 00999999 CONSTI 10066329 | |
0000007D 14 20 ADDII | |
0000007F 01 01 FFFFFFF8 0004 CPDOWNSP -8 4 | |
00000087 1B 00 FFFFFFFC MOVSP -4 | |
0000008D 02 03 RSADDI | |
0000008F 04 03 FF000000 CONSTI -16777216 | |
00000095 04 03 00FFFF00 CONSTI 16776960 | |
0000009B 14 20 ADDII | |
0000009D 01 01 FFFFFFF8 0004 CPDOWNSP -8 4 | |
000000A5 1B 00 FFFFFFFC MOVSP -4 | |
000000AB 02 03 RSADDI | |
000000AD 04 03 FF000000 CONSTI -16777216 | |
000000B3 04 03 00AAAA00 CONSTI 11184640 | |
000000B9 14 20 ADDII | |
000000BB 01 01 FFFFFFF8 0004 CPDOWNSP -8 4 | |
000000C3 1B 00 FFFFFFFC MOVSP -4 | |
000000C9 02 03 RSADDI | |
000000CB 04 03 FF000000 CONSTI -16777216 | |
000000D1 04 03 0000FFFF CONSTI 65535 | |
000000D7 14 20 ADDII | |
000000D9 01 01 FFFFFFF8 0004 CPDOWNSP -8 4 | |
000000E1 1B 00 FFFFFFFC MOVSP -4 | |
000000E7 02 03 RSADDI | |
000000E9 04 03 FF000000 CONSTI -16777216 | |
000000EF 04 03 00FF00FF CONSTI 16711935 | |
000000F5 14 20 ADDII | |
000000F7 01 01 FFFFFFF8 0004 CPDOWNSP -8 4 | |
000000FF 1B 00 FFFFFFFC MOVSP -4 | |
00000105 02 03 RSADDI | |
00000107 04 03 FF000000 CONSTI -16777216 | |
0000010D 04 03 00FF9900 CONSTI 16750848 | |
00000113 14 20 ADDII | |
00000115 01 01 FFFFFFF8 0004 CPDOWNSP -8 4 | |
0000011D 1B 00 FFFFFFFC MOVSP -4 | |
00000123 02 03 RSADDI | |
00000125 04 03 FF000000 CONSTI -16777216 | |
0000012B 04 03 00CC6600 CONSTI 13395456 | |
00000131 14 20 ADDII | |
00000133 01 01 FFFFFFF8 0004 CPDOWNSP -8 4 | |
0000013B 1B 00 FFFFFFFC MOVSP -4 | |
00000141 02 03 RSADDI | |
00000143 04 03 FF000000 CONSTI -16777216 | |
00000149 04 03 00996600 CONSTI 10053120 | |
0000014F 14 20 ADDII | |
00000151 01 01 FFFFFFF8 0004 CPDOWNSP -8 4 | |
00000159 1B 00 FFFFFFFC MOVSP -4 | |
0000015F 02 03 RSADDI | |
00000161 04 03 FF000000 CONSTI -16777216 | |
00000167 04 03 00663300 CONSTI 6697728 | |
0000016D 14 20 ADDII | |
0000016F 01 01 FFFFFFF8 0004 CPDOWNSP -8 4 | |
00000177 1B 00 FFFFFFFC MOVSP -4 | |
0000017D 02 05 RSADDS | |
0000017F 04 05 str CONSTS "00_nPrettyLineCount" | |
00000196 01 01 FFFFFFF8 0004 CPDOWNSP -8 4 | |
0000019E 1B 00 FFFFFFFC MOVSP -4 | |
000001A4 2A 00 SAVEBP | |
000001A6 1E 00 00000010 JSR main | |
000001AC 2B 00 RESTOREBP | |
000001AE 1B 00 FFFFFFCC MOVSP -52 | |
000001B4 20 00 RETN | |
-------- -------------------------- --- | |
main: ; void main() | |
000001B6 02 05 RSADDS | |
000001B8 04 05 str CONSTS "MyGroup" | |
000001C3 04 06 00000000 CONSTO 0 | |
000001C9 05 00 0035 02 ACTION GetLocalString 2 | |
000001CE 01 01 FFFFFFF8 0004 CPDOWNSP -8 4 | |
000001D6 1B 00 FFFFFFFC MOVSP -4 | |
000001DC 02 03 RSADDI | |
000001DE 02 03 RSADDI | |
000001E0 03 01 FFFFFFF4 0004 CPTOPSP -12 4 | |
000001E8 1E 00 000001F3 JSR sub_000003DB | |
000001EE 01 01 FFFFFFF8 0004 CPDOWNSP -8 4 | |
000001F6 1B 00 FFFFFFFC MOVSP -4 | |
000001FC 02 03 RSADDI | |
000001FE 02 03 RSADDI | |
00000200 04 05 str CONSTS "NumKilled" | |
0000020D 03 01 FFFFFFEC 0004 CPTOPSP -20 4 | |
00000215 1E 00 00000200 JSR sub_00000415 | |
0000021B 04 03 00000001 CONSTI 1 | |
00000221 14 20 ADDII | |
00000223 01 01 FFFFFFF8 0004 CPDOWNSP -8 4 | |
0000022B 1B 00 FFFFFFFC MOVSP -4 | |
00000231 03 01 FFFFFFFC 0004 CPTOPSP -4 4 | |
00000239 04 05 str CONSTS "NumKilled" | |
00000246 03 01 FFFFFFEC 0004 CPTOPSP -20 4 | |
0000024E 1E 00 00000227 JSR sub_00000475 | |
00000254 03 01 FFFFFFFC 0004 CPTOPSP -4 4 | |
0000025C 03 01 FFFFFFF4 0004 CPTOPSP -12 4 | |
00000264 0B 20 EQII | |
00000266 1F 00 0000016D JZ loc_000003D3 | |
0000026C 02 05 RSADDS | |
0000026E 02 05 RSADDS | |
00000270 04 05 str CONSTS "TalkerTag" | |
0000027D 03 01 FFFFFFE8 0004 CPTOPSP -24 4 | |
00000285 1E 00 00000244 JSR sub_000004C9 | |
0000028B 01 01 FFFFFFF8 0004 CPDOWNSP -8 4 | |
00000293 1B 00 FFFFFFFC MOVSP -4 | |
00000299 02 05 RSADDS | |
0000029B 02 05 RSADDS | |
0000029D 04 05 str CONSTS "Conversation" | |
000002AD 03 01 FFFFFFE4 0004 CPTOPSP -28 4 | |
000002B5 1E 00 00000214 JSR sub_000004C9 | |
000002BB 01 01 FFFFFFF8 0004 CPDOWNSP -8 4 | |
000002C3 1B 00 FFFFFFFC MOVSP -4 | |
000002C9 02 06 RSADDO | |
000002CB 04 03 00000000 CONSTI 0 | |
000002D1 03 01 FFFFFFF0 0004 CPTOPSP -16 4 | |
000002D9 05 00 00C8 02 ACTION GetObjectByTag 2 | |
000002DE 01 01 FFFFFFF8 0004 CPDOWNSP -8 4 | |
000002E6 1B 00 FFFFFFFC MOVSP -4 | |
000002EC 02 06 RSADDO | |
000002EE 02 06 RSADDO | |
000002F0 04 03 00000001 CONSTI 1 | |
000002F6 04 03 00000001 CONSTI 1 | |
000002FC 04 03 00000001 CONSTI 1 | |
00000302 04 06 00000000 CONSTO 0 | |
00000308 1E 00 00000221 JSR sub_00000529 | |
0000030E 01 01 FFFFFFF8 0004 CPDOWNSP -8 4 | |
00000316 1B 00 FFFFFFFC MOVSP -4 | |
0000031C 03 01 FFFFFFF0 0004 CPTOPSP -16 4 | |
00000324 04 05 str CONSTS "" | |
00000328 0B 23 EQSS | |
0000032A 1F 00 00000022 JZ loc_0000034C | |
00000330 03 01 FFFFFFFC 0004 CPTOPSP -4 4 | |
00000338 01 01 FFFFFFF4 0004 CPDOWNSP -12 4 | |
00000340 1B 00 FFFFFFFC MOVSP -4 | |
00000346 1D 00 00000006 JMP loc_0000034C | |
-------- -------------------------- --- | |
loc_0000034C: | |
0000034C 05 00 0242 00 ACTION SpawnScriptDebugger 0 | |
00000351 2C 01 10 00000034 0000001C STORESTATE sta_00000361 52 28 | |
0000035B 1D 00 00000013 JMP loc_0000036E | |
-------- -------------------------- --- | |
sta_00000361: | |
00000361 04 03 00000001 CONSTI 1 | |
00000367 05 00 0009 01 ACTION ClearAllActions 1 | |
0000036C 20 00 RETN | |
-------- -------------------------- --- | |
loc_0000036E: | |
0000036E 03 01 FFFFFFF8 0004 CPTOPSP -8 4 | |
00000376 05 00 0006 02 ACTION AssignCommand 2 | |
0000037B 2C 01 10 00000034 0000001C STORESTATE sta_0000038B 52 28 | |
00000385 1D 00 00000035 JMP loc_000003BA | |
-------- -------------------------- --- | |
sta_0000038B: | |
0000038B 04 03 00000000 CONSTI 0 | |
00000391 04 03 00000001 CONSTI 1 | |
00000397 04 03 00000000 CONSTI 0 | |
0000039D 04 03 00000000 CONSTI 0 | |
000003A3 03 01 FFFFFFE4 0004 CPTOPSP -28 4 | |
000003AB 03 01 FFFFFFE8 0004 CPTOPSP -24 4 | |
000003B3 05 00 00CC 06 ACTION ActionStartConversation 6 | |
000003B8 20 00 RETN | |
-------- -------------------------- --- | |
loc_000003BA: | |
000003BA 03 01 FFFFFFF8 0004 CPTOPSP -8 4 | |
000003C2 05 00 0006 02 ACTION AssignCommand 2 | |
000003C7 1B 00 FFFFFFF0 MOVSP -16 | |
000003CD 1D 00 00000006 JMP loc_000003D3 | |
-------- -------------------------- --- | |
loc_000003D3: | |
000003D3 1B 00 FFFFFFF4 MOVSP -12 | |
000003D9 20 00 RETN | |
-------- -------------------------- --- | |
sub_000003DB: ; int sub_000003DB(string) | |
000003DB 02 03 RSADDI | |
000003DD 04 05 str CONSTS "_Num" | |
000003E5 03 01 FFFFFFF4 0004 CPTOPSP -12 4 | |
000003ED 1E 00 00000028 JSR sub_00000415 | |
000003F3 01 01 FFFFFFF4 0004 CPDOWNSP -12 4 | |
000003FB 1B 00 FFFFFFFC MOVSP -4 | |
00000401 1D 00 0000000C JMP loc_0000040D | |
-------- -------------------------- --- | |
00000407 1B 00 FFFFFFFC MOVSP -4 | |
loc_0000040D: | |
0000040D 1B 00 FFFFFFFC MOVSP -4 | |
00000413 20 00 RETN | |
-------- -------------------------- --- | |
sub_00000415: ; int sub_00000415(string, string) | |
00000415 02 05 RSADDS | |
00000417 04 05 str CONSTS "_OG" | |
0000041E 03 01 FFFFFFF4 0004 CPTOPSP -12 4 | |
00000426 14 23 ADDSS | |
00000428 03 01 FFFFFFF0 0004 CPTOPSP -16 4 | |
00000430 14 23 ADDSS | |
00000432 01 01 FFFFFFF8 0004 CPDOWNSP -8 4 | |
0000043A 1B 00 FFFFFFFC MOVSP -4 | |
00000440 03 01 FFFFFFFC 0004 CPTOPSP -4 4 | |
00000448 05 00 030D 01 ACTION GetGlobalInt 1 | |
0000044D 01 01 FFFFFFEC 0004 CPDOWNSP -20 4 | |
00000455 1B 00 FFFFFFF8 MOVSP -8 | |
0000045B 1D 00 00000012 JMP loc_0000046D | |
-------- -------------------------- --- | |
00000461 1B 00 FFFFFFFC MOVSP -4 | |
00000467 1B 00 FFFFFFFC MOVSP -4 | |
loc_0000046D: | |
0000046D 1B 00 FFFFFFF8 MOVSP -8 | |
00000473 20 00 RETN | |
-------- -------------------------- --- | |
sub_00000475: ; void sub_00000475(string, string, int) | |
00000475 02 05 RSADDS | |
00000477 04 05 str CONSTS "_OG" | |
0000047E 03 01 FFFFFFF4 0004 CPTOPSP -12 4 | |
00000486 14 23 ADDSS | |
00000488 03 01 FFFFFFF0 0004 CPTOPSP -16 4 | |
00000490 14 23 ADDSS | |
00000492 01 01 FFFFFFF8 0004 CPDOWNSP -8 4 | |
0000049A 1B 00 FFFFFFFC MOVSP -4 | |
000004A0 03 01 FFFFFFF0 0004 CPTOPSP -16 4 | |
000004A8 03 01 FFFFFFF8 0004 CPTOPSP -8 4 | |
000004B0 05 00 0309 02 ACTION SetGlobalInt 2 | |
000004B5 1B 00 FFFFFFFC MOVSP -4 | |
000004BB 1B 00 FFFFFFFC MOVSP -4 | |
000004C1 1B 00 FFFFFFF4 MOVSP -12 | |
000004C7 20 00 RETN | |
-------- -------------------------- --- | |
sub_000004C9: ; string sub_000004C9(string, string) | |
000004C9 02 05 RSADDS | |
000004CB 04 05 str CONSTS "_OG" | |
000004D2 03 01 FFFFFFF4 0004 CPTOPSP -12 4 | |
000004DA 14 23 ADDSS | |
000004DC 03 01 FFFFFFF0 0004 CPTOPSP -16 4 | |
000004E4 14 23 ADDSS | |
000004E6 01 01 FFFFFFF8 0004 CPDOWNSP -8 4 | |
000004EE 1B 00 FFFFFFFC MOVSP -4 | |
000004F4 03 01 FFFFFFFC 0004 CPTOPSP -4 4 | |
000004FC 05 00 030F 01 ACTION GetGlobalString 1 | |
00000501 01 01 FFFFFFEC 0004 CPDOWNSP -20 4 | |
00000509 1B 00 FFFFFFF8 MOVSP -8 | |
0000050F 1D 00 00000012 JMP loc_00000521 | |
-------- -------------------------- --- | |
00000515 1B 00 FFFFFFFC MOVSP -4 | |
0000051B 1B 00 FFFFFFFC MOVSP -4 | |
loc_00000521: | |
00000521 1B 00 FFFFFFF8 MOVSP -8 | |
00000527 20 00 RETN | |
-------- -------------------------- --- | |
sub_00000529: ; object sub_00000529(object, int, int, int) | |
00000529 02 03 RSADDI | |
0000052B 03 01 FFFFFFF4 0004 CPTOPSP -12 4 | |
00000533 04 03 00000001 CONSTI 1 | |
00000539 0B 20 EQII | |
0000053B 1F 00 00000020 JZ loc_0000055B | |
00000541 04 03 00000001 CONSTI 1 | |
00000547 01 01 FFFFFFF8 0004 CPDOWNSP -8 4 | |
0000054F 1B 00 FFFFFFFC MOVSP -4 | |
00000555 1D 00 0000001C JMP loc_00000571 | |
-------- -------------------------- --- | |
loc_0000055B: | |
0000055B 2D 00 NOP | |
0000055D 04 03 00000002 CONSTI 2 | |
00000563 01 01 FFFFFFF8 0004 CPDOWNSP -8 4 | |
0000056B 1B 00 FFFFFFFC MOVSP -4 | |
loc_00000571: | |
00000571 04 03 FFFFFFFF CONSTI -1 | |
00000577 04 03 FFFFFFFF CONSTI -1 | |
0000057D 03 01 FFFFFFE8 0004 CPTOPSP -24 4 | |
00000585 04 03 00000004 CONSTI 4 | |
0000058B 03 01 FFFFFFDC 0004 CPTOPSP -36 4 | |
00000593 03 01 FFFFFFE4 0004 CPTOPSP -28 4 | |
0000059B 03 01 FFFFFFE4 0004 CPTOPSP -28 4 | |
000005A3 04 03 00000001 CONSTI 1 | |
000005A9 05 00 0026 08 ACTION GetNearestCreature 8 | |
000005AE 01 01 FFFFFFE4 0004 CPDOWNSP -28 4 | |
000005B6 1B 00 FFFFFFF8 MOVSP -8 | |
000005BC 1D 00 00000012 JMP loc_000005CE | |
-------- -------------------------- --- | |
000005C2 1B 00 FFFFFFFC MOVSP -4 | |
000005C8 1B 00 FFFFFFFC MOVSP -4 | |
loc_000005CE: | |
000005CE 1B 00 FFFFFFF0 MOVSP -16 | |
000005D4 20 00 RETN | |
-------- -------------------------- --- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment