Jump to content

Home

Kotor 1 Script Decompile


rgdelta

Recommended Posts

I still cannot figure out the byte code is thee anyone who could decompile and post a nss for k_psta_malak2.ncs and sta_endgame.ncs not sure if those are the scripts I am really looking for they are in the sta_m45ad. What I am looking for is a nss version of the script that fires after you kill malek and fires the darkside cutscenes in particular I am looking for the stuff that calls the credits after the infinite fleet cinimatic if anyone knows what script that is.

Link to comment
Share on other sites

ok those were not the ones I want I would like someone who understands be able to decompile the script k_stunt_end.ncs under STUNT_55a. I need this so I can replace it with the proper stuff for the globals. Here is the pcode of it if you don't want to look it up.

 

00000008 42 000000BB              T 000000BB
0000000D 1E 00 00000008           JSR fn_00000015
00000013 20 00                    RETN
00000015 04 04 00000000           CONSTF 0.000000
0000001B 04 04 00000000           CONSTF 0.000000
00000021 04 04 00000000           CONSTF 0.000000
00000027 04 04 00000000           CONSTF 0.000000
0000002D 04 04 00000000           CONSTF 0.000000
00000033 05 00 02D0 05            ACTION SetGlobalFadeOut(02D0), 05
00000038 04 03 00000001           CONSTI 00000001
0000003E 04 05 0002 str           CONSTS "55"
00000044 05 00 0301 02            ACTION QueueMovie(0301), 02
00000049 04 03 00000001           CONSTI 00000001
0000004F 05 00 0302 01            ACTION PlayMovieQueue(0302), 01
00000054 2C 10 00000000 00000000  STORE_STATE 10, 00000000, 00000000
0000005E 1D 00 0000002B           JMP off_00000089
00000064 2C 10 00000000 00000000  STORE_STATE 10, 00000000, 00000000
0000006E 1D 00 0000000E           JMP off_0000007C
00000074 1E 00 00000021           JSR fn_00000095
0000007A 20 00                    RETN
0000007C 04 04 3D4CCCCC           CONSTF 0.050000
00000082 05 00 0007 02            ACTION DelayCommand(0007), 02
00000087 20 00                    RETN
00000089 05 00 0224 00            ACTION GetFirstPC(0224), 00
0000008E 05 00 0006 02            ACTION AssignCommand(0006), 02
00000093 20 00                    RETN
00000095 04 03 00000000           CONSTI 00000000
0000009B 05 00 0206 01            ACTION StartCreditSequence(0206), 01
000000A0 04 03 00000001           CONSTI 00000001
000000A6 04 05 000A str           CONSTS "CREDITPLAY"
000000B4 05 00 0243 02            ACTION SetGlobalBoolean(0243), 02
000000B9 20 00                    RETN

Link to comment
Share on other sites

I think this should do it:

void credits();

void credits() {
StartCreditSequence(FALSE);
SetGlobalBoolean("CREDITPLAY", TRUE);
}

void main() {
SetGlobalFadeOut(0.0, 0.0, 0.0, 0.0, 0.0);
QueueMovie("55", TRUE);
PlayMovieQueue(TRUE);
AssignCommand(GetFirstPC(), DelayCommand(0.05, credits()));
}

For the cinematics, this thread may interest you : http://www.lucasforums.com/showthread.php?t=141563 :)

Link to comment
Share on other sites

I wish I could figure out the bit code the page that describes I just can't get a handle on it and I wish there was a Kotor 1 tool like DeNCS is for TSL. Could I get one of you great scripting decompilers to decompile this for me into nss please. This is k_pebn_exithawk from ebo_12maa (in case someone already has that decompiled to nss format).

 

00000008 42 000006FA              T 000006FA
0000000D 1E 00 00000008           JSR fn_00000015
00000013 20 00                    RETN
00000015 02 03                    RSADDI
00000017 04 05 0010 str           CONSTS "K_CURRENT_PLANET"
0000002B 05 00 0244 01            ACTION GetGlobalNumber(0244), 01
00000030 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000038 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000003E 04 04 40800000           CONSTF 4.000000
00000044 04 03 0000000A           CONSTI 0000000A
0000004A 04 03 0000000A           CONSTI 0000000A
00000050 04 05 000A str           CONSTS "On Planet "
0000005E 03 01 FFFFFFEC 0004      CPTOPSP FFFFFFEC, 0004
00000066 05 00 005C 01            ACTION IntToString(005C), 01
0000006B 14 23                    ADDSS
0000006D 1E 00 0000064D           JSR fn_000006BA
00000073 03 01 FFFFFFFC 0004      CPTOPSP FFFFFFFC, 0004
0000007B 04 03 00000005           CONSTI 00000005
00000081 0B 20                    EQUALII
00000083 1F 00 0000004B           JZ off_000000CE
00000089 04 05 0000 str           CONSTS ""
0000008D 04 05 0000 str           CONSTS ""
00000091 04 05 0000 str           CONSTS ""
00000095 04 05 0000 str           CONSTS ""
00000099 04 05 0000 str           CONSTS ""
0000009D 04 05 0000 str           CONSTS ""
000000A1 04 05 001A str           CONSTS "k_end_ebon_hawk_transition"
000000BF 04 05 0000 str           CONSTS ""
000000C3 05 00 01FD 08            ACTION StartNewModule(01FD), 08
000000C8 1D 00 000005EA           JMP off_000006B2
000000CE 03 01 FFFFFFFC 0004      CPTOPSP FFFFFFFC, 0004
000000D6 04 03 0000000A           CONSTI 0000000A
000000DC 0B 20                    EQUALII
000000DE 1F 00 00000054           JZ off_00000132
000000E4 04 05 0000 str           CONSTS ""
000000E8 04 05 0000 str           CONSTS ""
000000EC 04 05 0000 str           CONSTS ""
000000F0 04 05 0000 str           CONSTS ""
000000F4 04 05 0000 str           CONSTS ""
000000F8 04 05 0000 str           CONSTS ""
000000FC 04 05 001A str           CONSTS "k_tar_ebon_hawk_transition"
0000011A 04 05 0009 str           CONSTS "tar_m02aa"
00000127 05 00 01FD 08            ACTION StartNewModule(01FD), 08
0000012C 1D 00 00000586           JMP off_000006B2
00000132 03 01 FFFFFFFC 0004      CPTOPSP FFFFFFFC, 0004
0000013A 04 03 0000000F           CONSTI 0000000F
00000140 0B 20                    EQUALII
00000142 1F 00 00000051           JZ off_00000193
00000148 04 05 0000 str           CONSTS ""
0000014C 04 05 0000 str           CONSTS ""
00000150 04 05 0000 str           CONSTS ""
00000154 04 05 0000 str           CONSTS ""
00000158 04 05 0000 str           CONSTS ""
0000015C 04 05 0000 str           CONSTS ""
00000160 04 05 001A str           CONSTS "k_dan_ebon_hawk_transition"
0000017E 04 05 0006 str           CONSTS "danm13"
00000188 05 00 01FD 08            ACTION StartNewModule(01FD), 08
0000018D 1D 00 00000525           JMP off_000006B2
00000193 03 01 FFFFFFFC 0004      CPTOPSP FFFFFFFC, 0004
0000019B 04 03 00000014           CONSTI 00000014
000001A1 0B 20                    EQUALII
000001A3 1F 00 00000054           JZ off_000001F7
000001A9 04 05 0000 str           CONSTS ""
000001AD 04 05 0000 str           CONSTS ""
000001B1 04 05 0000 str           CONSTS ""
000001B5 04 05 0000 str           CONSTS ""
000001B9 04 05 0000 str           CONSTS ""
000001BD 04 05 0000 str           CONSTS ""
000001C1 04 05 001A str           CONSTS "k_kas_ebon_hawk_transition"
000001DF 04 05 0009 str           CONSTS "kas_m22aa"
000001EC 05 00 01FD 08            ACTION StartNewModule(01FD), 08
000001F1 1D 00 000004C1           JMP off_000006B2
000001F7 03 01 FFFFFFFC 0004      CPTOPSP FFFFFFFC, 0004
000001FF 04 03 00000019           CONSTI 00000019
00000205 0B 20                    EQUALII
00000207 1F 00 00000053           JZ off_0000025A
0000020D 04 05 0000 str           CONSTS ""
00000211 04 05 0000 str           CONSTS ""
00000215 04 05 0000 str           CONSTS ""
00000219 04 05 0000 str           CONSTS ""
0000021D 04 05 0000 str           CONSTS ""
00000221 04 05 0000 str           CONSTS ""
00000225 04 05 001A str           CONSTS "k_man_ebon_hawk_transition"
00000243 04 05 0008 str           CONSTS "manm26ad"
0000024F 05 00 01FD 08            ACTION StartNewModule(01FD), 08
00000254 1D 00 0000045E           JMP off_000006B2
0000025A 03 01 FFFFFFFC 0004      CPTOPSP FFFFFFFC, 0004
00000262 04 03 0000001E           CONSTI 0000001E
00000268 0B 20                    EQUALII
0000026A 1F 00 00000055           JZ off_000002BF
00000270 04 05 0000 str           CONSTS ""
00000274 04 05 0000 str           CONSTS ""
00000278 04 05 0000 str           CONSTS ""
0000027C 04 05 0000 str           CONSTS ""
00000280 04 05 0000 str           CONSTS ""
00000284 04 05 0000 str           CONSTS ""
00000288 04 05 001A str           CONSTS "k_kor_ebon_hawk_transition"
000002A6 04 05 000A str           CONSTS "korr_m33aa"
000002B4 05 00 01FD 08            ACTION StartNewModule(01FD), 08
000002B9 1D 00 000003F9           JMP off_000006B2
000002BF 03 01 FFFFFFFC 0004      CPTOPSP FFFFFFFC, 0004
000002C7 04 03 00000023           CONSTI 00000023
000002CD 0B 20                    EQUALII
000002CF 1F 00 00000054           JZ off_00000323
000002D5 04 05 0000 str           CONSTS ""
000002D9 04 05 0000 str           CONSTS ""
000002DD 04 05 0000 str           CONSTS ""
000002E1 04 05 0000 str           CONSTS ""
000002E5 04 05 0000 str           CONSTS ""
000002E9 04 05 0000 str           CONSTS ""
000002ED 04 05 001A str           CONSTS "k_tat_ebon_hawk_transition"
0000030B 04 05 0009 str           CONSTS "tat_m17ab"
00000318 05 00 01FD 08            ACTION StartNewModule(01FD), 08
0000031D 1D 00 00000395           JMP off_000006B2
00000323 03 01 FFFFFFFC 0004      CPTOPSP FFFFFFFC, 0004
0000032B 04 03 00000028           CONSTI 00000028
00000331 0B 20                    EQUALII
00000333 1F 00 00000053           JZ off_00000386
00000339 04 05 0000 str           CONSTS ""
0000033D 04 05 0000 str           CONSTS ""
00000341 04 05 0000 str           CONSTS ""
00000345 04 05 0000 str           CONSTS ""
00000349 04 05 0000 str           CONSTS ""
0000034D 04 05 0000 str           CONSTS ""
00000351 04 05 001A str           CONSTS "k_lev_ebon_hawk_transition"
0000036F 04 05 0008 str           CONSTS "lev_40ac"
0000037B 05 00 01FD 08            ACTION StartNewModule(01FD), 08
00000380 1D 00 00000332           JMP off_000006B2
00000386 03 01 FFFFFFFC 0004      CPTOPSP FFFFFFFC, 0004
0000038E 04 03 0000002D           CONSTI 0000002D
00000394 0B 20                    EQUALII
00000396 1F 00 00000054           JZ off_000003EA
0000039C 04 05 0000 str           CONSTS ""
000003A0 04 05 0000 str           CONSTS ""
000003A4 04 05 0000 str           CONSTS ""
000003A8 04 05 0000 str           CONSTS ""
000003AC 04 05 0000 str           CONSTS ""
000003B0 04 05 0000 str           CONSTS ""
000003B4 04 05 001A str           CONSTS "k_unk_ebon_hawk_transition"
000003D2 04 05 0009 str           CONSTS "unk_m41aa"
000003DF 05 00 01FD 08            ACTION StartNewModule(01FD), 08
000003E4 1D 00 000002CE           JMP off_000006B2
000003EA 03 01 FFFFFFFC 0004      CPTOPSP FFFFFFFC, 0004
000003F2 04 03 00000032           CONSTI 00000032
000003F8 0B 20                    EQUALII
000003FA 1F 00 00000054           JZ off_0000044E
00000400 04 05 0000 str           CONSTS ""
00000404 04 05 0000 str           CONSTS ""
00000408 04 05 0000 str           CONSTS ""
0000040C 04 05 0000 str           CONSTS ""
00000410 04 05 0000 str           CONSTS ""
00000414 04 05 0000 str           CONSTS ""
00000418 04 05 001A str           CONSTS "k_sta_ebon_hawk_transition"
00000436 04 05 0009 str           CONSTS "sta_m45aa"
00000443 05 00 01FD 08            ACTION StartNewModule(01FD), 08
00000448 1D 00 0000026A           JMP off_000006B2
0000044E 03 01 FFFFFFFC 0004      CPTOPSP FFFFFFFC, 0004
00000456 04 03 00000037           CONSTI 00000037
0000045C 0B 20                    EQUALII
0000045E 1F 00 00000056           JZ off_000004B4
00000464 04 05 0000 str           CONSTS ""
00000468 04 05 0000 str           CONSTS ""
0000046C 04 05 0000 str           CONSTS ""
00000470 04 05 0000 str           CONSTS ""
00000474 04 05 0000 str           CONSTS ""
00000478 04 05 0000 str           CONSTS ""
0000047C 04 05 001C str           CONSTS "k_live1_ebon_hawk_transition"
0000049C 04 05 0009 str           CONSTS "liv_m99aa"
000004A9 05 00 01FD 08            ACTION StartNewModule(01FD), 08
000004AE 1D 00 00000204           JMP off_000006B2
000004B4 03 01 FFFFFFFC 0004      CPTOPSP FFFFFFFC, 0004
000004BC 04 03 0000003C           CONSTI 0000003C
000004C2 0B 20                    EQUALII
000004C4 1F 00 00000056           JZ off_0000051A
000004CA 04 05 0000 str           CONSTS ""
000004CE 04 05 0000 str           CONSTS ""
000004D2 04 05 0000 str           CONSTS ""
000004D6 04 05 0000 str           CONSTS ""
000004DA 04 05 0000 str           CONSTS ""
000004DE 04 05 0000 str           CONSTS ""
000004E2 04 05 001C str           CONSTS "k_live2_ebon_hawk_transition"
00000502 04 05 0009 str           CONSTS "liv_m99ab"
0000050F 05 00 01FD 08            ACTION StartNewModule(01FD), 08
00000514 1D 00 0000019E           JMP off_000006B2
0000051A 03 01 FFFFFFFC 0004      CPTOPSP FFFFFFFC, 0004
00000522 04 03 00000041           CONSTI 00000041
00000528 0B 20                    EQUALII
0000052A 1F 00 00000056           JZ off_00000580
00000530 04 05 0000 str           CONSTS ""
00000534 04 05 0000 str           CONSTS ""
00000538 04 05 0000 str           CONSTS ""
0000053C 04 05 0000 str           CONSTS ""
00000540 04 05 0000 str           CONSTS ""
00000544 04 05 0000 str           CONSTS ""
00000548 04 05 001C str           CONSTS "k_live3_ebon_hawk_transition"
00000568 04 05 0009 str           CONSTS "liv_m99ac"
00000575 05 00 01FD 08            ACTION StartNewModule(01FD), 08
0000057A 1D 00 00000138           JMP off_000006B2
00000580 03 01 FFFFFFFC 0004      CPTOPSP FFFFFFFC, 0004
00000588 04 03 00000046           CONSTI 00000046
0000058E 0B 20                    EQUALII
00000590 1F 00 00000056           JZ off_000005E6
00000596 04 05 0000 str           CONSTS ""
0000059A 04 05 0000 str           CONSTS ""
0000059E 04 05 0000 str           CONSTS ""
000005A2 04 05 0000 str           CONSTS ""
000005A6 04 05 0000 str           CONSTS ""
000005AA 04 05 0000 str           CONSTS ""
000005AE 04 05 001C str           CONSTS "k_live4_ebon_hawk_transition"
000005CE 04 05 0009 str           CONSTS "liv_m99ad"
000005DB 05 00 01FD 08            ACTION StartNewModule(01FD), 08
000005E0 1D 00 000000D2           JMP off_000006B2
000005E6 03 01 FFFFFFFC 0004      CPTOPSP FFFFFFFC, 0004
000005EE 04 03 0000004B           CONSTI 0000004B
000005F4 0B 20                    EQUALII
000005F6 1F 00 00000056           JZ off_0000064C
000005FC 04 05 0000 str           CONSTS ""
00000600 04 05 0000 str           CONSTS ""
00000604 04 05 0000 str           CONSTS ""
00000608 04 05 0000 str           CONSTS ""
0000060C 04 05 0000 str           CONSTS ""
00000610 04 05 0000 str           CONSTS ""
00000614 04 05 001C str           CONSTS "k_live5_ebon_hawk_transition"
00000634 04 05 0009 str           CONSTS "liv_m99ae"
00000641 05 00 01FD 08            ACTION StartNewModule(01FD), 08
00000646 1D 00 0000006C           JMP off_000006B2
0000064C 03 01 FFFFFFFC 0004      CPTOPSP FFFFFFFC, 0004
00000654 04 03 00000050           CONSTI 00000050
0000065A 0B 20                    EQUALII
0000065C 1F 00 00000056           JZ off_000006B2
00000662 04 05 0000 str           CONSTS ""
00000666 04 05 0000 str           CONSTS ""
0000066A 04 05 0000 str           CONSTS ""
0000066E 04 05 0000 str           CONSTS ""
00000672 04 05 0000 str           CONSTS ""
00000676 04 05 0000 str           CONSTS ""
0000067A 04 05 001C str           CONSTS "k_live6_ebon_hawk_transition"
0000069A 04 05 0009 str           CONSTS "liv_m99af"
000006A7 05 00 01FD 08            ACTION StartNewModule(01FD), 08
000006AC 1D 00 00000006           JMP off_000006B2
000006B2 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000006B8 20 00                    RETN
000006BA 05 00 02F9 00            ACTION ShipBuild(02F9), 00
000006BF 22 03                    NOTI
000006C1 1F 00 00000031           JZ off_000006F2

 

Thanks in advance.

Link to comment
Share on other sites

Could I get one of you great scripting decompilers to decompile this for me into nss please. This is k_pebn_exithawk from ebo_12maa

 

#include "k_inc_debug"

void main() {
   int nPlanet = GetGlobalNumber("K_CURRENT_PLANET");

   Db_PostString("On Planet " + IntToString(nPlanet), 10, 10, 4.0);

   if      (nPlanet ==  5) StartNewModule("",          "k_end_ebon_hawk_transition");
   else if (nPlanet == 10) StartNewModule("tar_m02aa", "k_tar_ebon_hawk_transition");
   else if (nPlanet == 15) StartNewModule("danm13",    "k_dan_ebon_hawk_transition");
   else if (nPlanet == 20) StartNewModule("kas_m22aa", "k_kas_ebon_hawk_transition");
   else if (nPlanet == 25) StartNewModule("manm26ad",  "k_man_ebon_hawk_transition");
   else if (nPlanet == 30) StartNewModule("korr_m33aa","k_kor_ebon_hawk_transition");
   else if (nPlanet == 35) StartNewModule("tat_m17ab", "k_tat_ebon_hawk_transition");
   else if (nPlanet == 40) StartNewModule("lev_40ac",  "k_lev_ebon_hawk_transition");
   else if (nPlanet == 45) StartNewModule("unk_m41aa", "k_unk_ebon_hawk_transition");
   else if (nPlanet == 50) StartNewModule("sta_m45aa", "k_sta_ebon_hawk_transition");
   else if (nPlanet == 55) StartNewModule("liv_m99aa", "k_live1_ebon_hawk_transition");
   else if (nPlanet == 60) StartNewModule("liv_m99ab", "k_live2_ebon_hawk_transition");
   else if (nPlanet == 65) StartNewModule("liv_m99ac", "k_live3_ebon_hawk_transition");
   else if (nPlanet == 70) StartNewModule("liv_m99ad", "k_live4_ebon_hawk_transition");
   else if (nPlanet == 75) StartNewModule("liv_m99ae", "k_live5_ebon_hawk_transition");
   else if (nPlanet == 80) StartNewModule("liv_m99af", "k_live6_ebon_hawk_transition");    
}

Link to comment
Share on other sites

Can someone please decompile this to nss for me please (sorry to ask again as I have said I am bad with the bitcode) this is k_pebo_showmap.ncs from ebo_m12aa.

 

00000008 42 00000323              T 00000323
0000000D 1E 00 00000008           JSR fn_00000015
00000013 20 00                    RETN
00000015 02 03                    RSADDI
00000017 04 03 00000000           CONSTI 00000000
0000001D 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000025 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000002B 02 03                    RSADDI
0000002D 04 03 00000001           CONSTI 00000001
00000033 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000003B 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000041 02 03                    RSADDI
00000043 04 03 00000002           CONSTI 00000002
00000049 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000051 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000057 02 03                    RSADDI
00000059 04 03 00000003           CONSTI 00000003
0000005F 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000067 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000006D 02 03                    RSADDI
0000006F 04 03 00000004           CONSTI 00000004
00000075 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000007D 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000083 02 03                    RSADDI
00000085 04 03 00000005           CONSTI 00000005
0000008B 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000093 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000099 02 03                    RSADDI
0000009B 04 03 00000006           CONSTI 00000006
000000A1 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000000A9 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000000AF 02 03                    RSADDI
000000B1 04 03 00000007           CONSTI 00000007
000000B7 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000000BF 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000000C5 02 03                    RSADDI
000000C7 04 03 00000008           CONSTI 00000008
000000CD 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000000D5 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000000DB 02 03                    RSADDI
000000DD 04 03 00000009           CONSTI 00000009
000000E3 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000000EB 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000000F1 02 03                    RSADDI
000000F3 04 03 0000000A           CONSTI 0000000A
000000F9 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000101 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000107 02 03                    RSADDI
00000109 04 03 0000000B           CONSTI 0000000B
0000010F 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000117 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000011D 02 03                    RSADDI
0000011F 04 03 0000000C           CONSTI 0000000C
00000125 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000012D 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000133 02 03                    RSADDI
00000135 04 03 0000000D           CONSTI 0000000D
0000013B 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000143 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000149 02 03                    RSADDI
0000014B 04 03 0000000E           CONSTI 0000000E
00000151 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000159 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000015F 02 03                    RSADDI
00000161 04 03 0000000F           CONSTI 0000000F
00000167 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000016F 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000175 02 03                    RSADDI
00000177 04 03 00000010           CONSTI 00000010
0000017D 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000185 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000018B 02 03                    RSADDI
0000018D 04 03 00000011           CONSTI 00000011
00000193 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000019B 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000001A1 02 03                    RSADDI
000001A3 04 03 00000012           CONSTI 00000012
000001A9 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000001B1 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000001B7 02 03                    RSADDI
000001B9 04 03 00000013           CONSTI 00000013
000001BF 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000001C7 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000001CD 02 03                    RSADDI
000001CF 04 03 0000044C           CONSTI 0000044C
000001D5 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000001DD 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000001E3 02 03                    RSADDI
000001E5 04 03 00000006           CONSTI 00000006
000001EB 19 03                    NEGI
000001ED 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000001F5 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000001FB 02 03                    RSADDI
000001FD 04 03 00000005           CONSTI 00000005
00000203 19 03                    NEGI
00000205 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000020D 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000213 02 03                    RSADDI
00000215 04 03 00000004           CONSTI 00000004
0000021B 19 03                    NEGI
0000021D 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000225 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000022B 02 03                    RSADDI
0000022D 04 03 00000002           CONSTI 00000002
00000233 19 03                    NEGI
00000235 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000023D 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000243 02 03                    RSADDI
00000245 04 03 00000001           CONSTI 00000001
0000024B 19 03                    NEGI
0000024D 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000255 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000025B 02 03                    RSADDI
0000025D 04 03 00000000           CONSTI 00000000
00000263 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000026B 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000271 2A 00                    SAVEBP
00000273 1E 00 00000010           JSR fn_00000283
00000279 2B 00                    RESTOREBP
0000027B 1B 00 FFFFFF94           MOVSP FFFFFF94
00000281 20 00                    RETN
00000283 04 05 000E str           CONSTS "K_Kotor_Master"
00000295 05 00 0244 01            ACTION GetGlobalNumber(0244), 01
0000029A 04 03 00000000           CONSTI 00000000
000002A0 0C 20                    NEQUALII
000002A2 03 01 FFFFFFFC 0004      CPTOPSP FFFFFFFC, 0004
000002AA 1F 00 00000023           JZ off_000002CD
000002B0 27 01 FFFFFFBC 0004      CPTOPBP FFFFFFBC, 0004
000002B8 04 06 00000000           CONSTO 00000000
000002BE 05 00 02A7 02            ACTION GetLocalBoolean(02A7), 02
000002C3 04 03 00000000           CONSTI 00000000
000002C9 0B 20                    EQUALII
000002CB 06 20                    LOGANDII
000002CD 1F 00 00000054           JZ off_00000321
000002D3 04 03 00000000           CONSTI 00000000
000002D9 04 05 0000 str           CONSTS ""
000002DD 04 05 0000 str           CONSTS ""
000002E1 04 05 0000 str           CONSTS ""
000002E5 04 05 0000 str           CONSTS ""
000002E9 04 05 0000 str           CONSTS ""
000002ED 04 05 0000 str           CONSTS ""
000002F1 04 03 00000000           CONSTI 00000000
000002F7 04 03 00000000           CONSTI 00000000
000002FD 04 03 00000000           CONSTI 00000000
00000303 04 05 000A str           CONSTS "ebo_galcam"
00000311 05 00 0224 00            ACTION GetFirstPC(0224), 00
00000316 05 00 00CC 0C            ACTION ActionStartConversation(00CC), 0C
0000031B 1D 00 00000006           JMP off_00000321
00000321 20 00                    RETN

 

Thanks in advance.

Link to comment
Share on other sites

Can someone please decompile this to nss for me please (sorry to ask again as I have said I am bad with the bitcode) this is k_pebo_showmap.ncs from ebo_m12aa.

 

#include "k_inc_utility"

void main() {
   if ((GetGlobalNumber("K_Kotor_Master") != 0) 
       && (GetLocalBoolean(OBJECT_SELF, SW_PLOT_HAS_TALKED_TO) == FALSE))
   {
       ActionStartConversation(GetFirstPC(), "ebo_galcam");
   }
}

Link to comment
Share on other sites

Thanks how about this one

 

00000008 42 000000D0              T 000000D0
0000000D 02 03                    RSADDI
0000000F 1E 00 00000008           JSR fn_00000017
00000015 20 00                    RETN
00000017 02 03                    RSADDI
00000019 04 05 000E str           CONSTS "K_CAPTURED_LEV"
0000002B 05 00 0244 01            ACTION GetGlobalNumber(0244), 01
00000030 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000038 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000003E 03 01 FFFFFFFC 0004      CPTOPSP FFFFFFFC, 0004
00000046 04 03 00000000           CONSTI 00000000
0000004C 0B 20                    EQUALII
0000004E 03 01 FFFFFFFC 0004      CPTOPSP FFFFFFFC, 0004
00000056 1F 00 00000014           JZ off_0000006A
0000005C 03 01 FFFFFFFC 0004      CPTOPSP FFFFFFFC, 0004
00000064 1F 00 00000016           JZ off_0000007A
0000006A 03 01 FFFFFFF8 0004      CPTOPSP FFFFFFF8, 0004
00000072 04 03 0000000A           CONSTI 0000000A
00000078 0B 20                    EQUALII
0000007A 07 20                    LOGORII
0000007C 1F 00 0000002C           JZ off_000000A8
00000082 04 03 00000001           CONSTI 00000001
00000088 01 01 FFFFFFF4 0004      CPDOWNSP FFFFFFF4, 0004
00000090 1B 00 FFFFFFF8           MOVSP FFFFFFF8
00000096 1D 00 00000038           JMP off_000000CE
0000009C 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000000A2 1D 00 00000006           JMP off_000000A8
000000A8 04 03 00000000           CONSTI 00000000
000000AE 01 01 FFFFFFF4 0004      CPDOWNSP FFFFFFF4, 0004
000000B6 1B 00 FFFFFFF8           MOVSP FFFFFFF8
000000BC 1D 00 00000012           JMP off_000000CE
000000C2 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000000C8 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000000CE 20 00                    RETN

 

I am trying to find how to change it so after you board the starforge you can activate the galaxy map I already did the needed changes to k_pebn_galaxy.nss to reactivate and make them selectable and compiled. But when I click on the galaxy map the map does not come up and I am trying to find the cause.

Link to comment
Share on other sites

Thanks how about this one

 

int StartingConditional() {
   int nCaptured = GetGlobalNumber("K_CAPTURED_LEV");  

   if ((nCaptured == 0) || (nCaptured == 10)) {
       return TRUE;
   }
   return FALSE;
}

 

I am trying to find how to change it so after you board the starforge you can activate the galaxy map I already did the needed changes to k_pebn_galaxy.nss to reactivate and make them selectable and compiled. But when I click on the galaxy map the map does not come up and I am trying to find the cause.

 

Well, the galaxy map placeable fires the k_pebn_galaxy script when you interact with it as far as I can see. Thus the problem should logically be there since it opens the galaxy map screen. Have you re-enabled any of the planets? By the time you hit the star forge pretty much everything on the map would be locked down it seems.

 

I would bet the game would behave quite oddly if you go back to other places though after the end, since the K_KOTOR_MASTER global is checked in many places to determine your progress through the game.

Link to comment
Share on other sites

yes I re-enabled all planets in the k_pebn_galaxy but still when I click on the galaxy map nothing comes up no map at all. BTW thanks.

 

If you haven't removed it when you edited the script, this statement, near the bottom of the script, seems like a likely cause:

   if(nMain == 60)
   {
       SetPlanetSelectable(PLANET_STAR_FORGE, FALSE);
       return;
   }

 

Note the return;, causing it to abort execution of the script if the K_KOTOR_MASTER global is set to 60 before reaching the ShowGalaxyMap() call...

Link to comment
Share on other sites

nope that did not do it I removed the return; and put the enabled planets there and nothing I click on Galaxy Map and nothing happens. Hummm I also tried changing K_KOTOR_MASTER in my save to 50 (unknown world) but same thing I will have to try and analyze it some more.

Link to comment
Share on other sites

nope that did not do it I removed the return; and put the enabled planets there and nothing I click on Galaxy Map and nothing happens. Hummm I also tried changing K_KOTOR_MASTER in my save to 50 (unknown world) but same thing I will have to try and analyze it some more.

 

Have you verified that you are in the correct Ebon Hawk area? There are a few variants, and it's possible that the one you end up in after having left the Unknown World does not have that galaxy map script assigned to the map placeable.

 

I have some vague memory that the game switches area for the Hawk somewhere around there, when everyone sticks around in the central room rather than spread out on their normal posts.

Link to comment
Share on other sites

ok I checked my savegame from right before I left the unknown world and I was in ebo_m41aa and after the cutscene/cinematics when I go to the starforge when I arrive at starforge I was on ebo_m12aa then I warped to ebo_m41aa and the galaxy map opened up with no problem but does not open on ebo_m12aa need to find out which one was used early in the game ie dant. I think it was ebo_m12aa as ebo_m12aa has files for the galaxy map but I will need to look at this some more.

Link to comment
Share on other sites

Please can you decompile to nss the following scripts (boy I wish I could understand bitcode)

 

k_ebn12_starf.ncs

 

00000008 42 00000036              T 00000036
0000000D 1E 00 00000008           JSR fn_00000015
00000013 20 00                    RETN
00000015 04 03 00000032           CONSTI 00000032
0000001B 04 05 0010 str           CONSTS "K_CURRENT_PLANET"
0000002F 05 00 0245 02            ACTION SetGlobalNumber(0245), 02
00000034 20 00                    RETN

 

k_pebn_starf.ncs

 

00000008 42 00000036              T 00000036
0000000D 1E 00 00000008           JSR fn_00000015
00000013 20 00                    RETN
00000015 04 03 00000032           CONSTI 00000032
0000001B 04 05 0010 str           CONSTS "K_CURRENT_PLANET"
0000002F 05 00 0245 02            ACTION SetGlobalNumber(0245), 02
00000034 20 00                    RETN

 

k_pebn_kiosk.ncs

 

00000008 42 00000055              T 00000055
0000000D 1E 00 00000008           JSR fn_00000015
00000013 20 00                    RETN
00000015 04 03 00000000           CONSTI 00000000
0000001B 04 05 0000 str           CONSTS ""
0000001F 04 05 0000 str           CONSTS ""
00000023 04 05 0000 str           CONSTS ""
00000027 04 05 0000 str           CONSTS ""
0000002B 04 05 0000 str           CONSTS ""
0000002F 04 05 0000 str           CONSTS ""
00000033 04 03 00000000           CONSTI 00000000
00000039 04 03 00000000           CONSTI 00000000
0000003F 04 03 00000000           CONSTI 00000000
00000045 04 05 0000 str           CONSTS ""
00000049 05 00 014A 00            ACTION GetLastUsedBy(014A), 00
0000004E 05 00 00CC 0C            ACTION ActionStartConversation(00CC), 0C
00000053 20 00                    RETN

 

k_pebn_xforge.ncs

 

00000008 42 000000A2              T 000000A2
0000000D 02 03                    RSADDI
0000000F 1E 00 00000008           JSR fn_00000017
00000015 20 00                    RETN
00000017 02 03                    RSADDI
00000019 04 05 000E str           CONSTS "K_KOTOR_MASTER"
0000002B 05 00 0244 01            ACTION GetGlobalNumber(0244), 01
00000030 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000038 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000003E 03 01 FFFFFFFC 0004      CPTOPSP FFFFFFFC, 0004
00000046 04 03 00000032           CONSTI 00000032
0000004C 0B 20                    EQUALII
0000004E 1F 00 0000002C           JZ off_0000007A
00000054 04 03 00000001           CONSTI 00000001
0000005A 01 01 FFFFFFF4 0004      CPDOWNSP FFFFFFF4, 0004
00000062 1B 00 FFFFFFF8           MOVSP FFFFFFF8
00000068 1D 00 00000038           JMP off_000000A0
0000006E 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000074 1D 00 00000006           JMP off_0000007A
0000007A 04 03 00000000           CONSTI 00000000
00000080 01 01 FFFFFFF4 0004      CPDOWNSP FFFFFFF4, 0004
00000088 1B 00 FFFFFFF8           MOVSP FFFFFFF8
0000008E 1D 00 00000012           JMP off_000000A0
00000094 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000009A 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000000A0 20 00                    RETN

 

Thanks for the help

Link to comment
Share on other sites

Please can you decompile to nss the following scripts (boy I wish I could understand bitcode)

 

k_ebn12_starf.ncs & k_pebn_starf.ncs (identical)

k_pebn_kiosk.ncs

k_pebn_xforge.ncs

 

void main() {
   SetGlobalNumber("K_CURRENT_PLANET", 50);
}

 

void main() {
   ActionStartConversation(GetLastUsedBy());
}

 

int StartingConditional() {
   int nProgress = GetGlobalNumber("K_KOTOR_MASTER");

   if (nProgress == 50) 
       return TRUE;

   return FALSE;
}

Link to comment
Share on other sites

Can I get this decompiled please it is k_s31b_mask from STUNT_31b_s

 

00000008 42 000000E0              T 000000E0
0000000D 1E 00 00000008           JSR fn_00000015
00000013 20 00                    RETN
00000015 02 10                    RSADDEFF
00000017 04 03 00000000           CONSTI 00000000
0000001D 04 03 00001B5A           CONSTI 00001B5A
00000023 05 00 00B4 02            ACTION EffectVisualEffect(00B4), 02
00000028 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000030 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000036 04 04 41100000           CONSTF 9.000000
0000003C 04 03 00000000           CONSTI 00000000
00000042 04 05 000A str           CONSTS "DarthRevan"
00000050 05 00 00C8 02            ACTION GetObjectByTag(00C8), 02
00000055 03 01 FFFFFFF4 0004      CPTOPSP FFFFFFF4, 0004
0000005D 04 03 00000001           CONSTI 00000001
00000063 05 00 00DC 04            ACTION ApplyEffectToObject(00DC), 04
00000068 02 10                    RSADDEFF
0000006A 04 03 00000000           CONSTI 00000000
00000070 04 03 00001B59           CONSTI 00001B59
00000076 05 00 00B4 02            ACTION EffectVisualEffect(00B4), 02
0000007B 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000083 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000089 2C 10 00000000 00000008  STORE_STATE 10, 00000000, 00000008
00000093 1D 00 0000003A           JMP off_000000CD
00000099 04 04 41700000           CONSTF 15.000000
0000009F 04 03 00000000           CONSTI 00000000
000000A5 04 05 000A str           CONSTS "DarthRevan"
000000B3 05 00 00C8 02            ACTION GetObjectByTag(00C8), 02
000000B8 03 01 FFFFFFF4 0004      CPTOPSP FFFFFFF4, 0004
000000C0 04 03 00000001           CONSTI 00000001
000000C6 05 00 00DC 04            ACTION ApplyEffectToObject(00DC), 04
000000CB 20 00                    RETN
000000CD 04 04 41100000           CONSTF 9.000000
000000D3 05 00 0007 02            ACTION DelayCommand(0007), 02
000000D8 1B 00 FFFFFFF8           MOVSP FFFFFFF8
000000DE 20 00                    RETN

 

Thanks in advance

Link to comment
Share on other sites

Can I get this decompiled please it is k_s31b_mask from STUNT_31b_s

(snip)

Thanks in advance

 

void main() {
   effect eMaskFx1 = EffectVisualEffect(7002);
   ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eMaskFx1, GetObjectByTag("DarthRevan"), 9.0);

   effect eMaskFx2 = EffectVisualEffect(7001);
   DelayCommand(9.0, ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eMaskFx2, GetObjectByTag("DarthRevan"), 15.0));
}

Link to comment
Share on other sites

  • 1 month later...

I would like a KOTOR 1 script decomplied aswell. I figured i would just post the code in this thread instead of starting my own.

 

Because the code is so long i'll have to make two posts.

 

k_punk_bast_ud2.ncs:

 

First 70% of the code:

 

00000008 42 000011FC              T 000011FC
0000000D 1E 00 00000008           JSR fn_00000015
00000013 20 00                    RETN
00000015 02 03                    RSADDI
00000017 04 03 00000001           CONSTI 00000001
0000001D 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000025 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000002B 02 03                    RSADDI
0000002D 04 03 00000002           CONSTI 00000002
00000033 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000003B 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000041 02 03                    RSADDI
00000043 04 03 00000003           CONSTI 00000003
00000049 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000051 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000057 02 03                    RSADDI
00000059 04 03 00000004           CONSTI 00000004
0000005F 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000067 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000006D 02 03                    RSADDI
0000006F 04 03 00000005           CONSTI 00000005
00000075 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000007D 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000083 02 03                    RSADDI
00000085 04 03 00000006           CONSTI 00000006
0000008B 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000093 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000099 02 03                    RSADDI
0000009B 04 03 00000003           CONSTI 00000003
000000A1 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000000A9 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000000AF 02 03                    RSADDI
000000B1 04 03 00000004           CONSTI 00000004
000000B7 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000000BF 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000000C5 02 03                    RSADDI
000000C7 04 03 00000005           CONSTI 00000005
000000CD 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000000D5 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000000DB 02 03                    RSADDI
000000DD 04 03 00000006           CONSTI 00000006
000000E3 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000000EB 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000000F1 02 03                    RSADDI
000000F3 04 03 00000007           CONSTI 00000007
000000F9 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000101 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000107 02 03                    RSADDI
00000109 04 03 00000001           CONSTI 00000001
0000010F 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000117 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000011D 02 03                    RSADDI
0000011F 04 03 00000002           CONSTI 00000002
00000125 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000012D 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000133 02 03                    RSADDI
00000135 04 03 00000003           CONSTI 00000003
0000013B 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000143 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000149 02 03                    RSADDI
0000014B 04 03 00000004           CONSTI 00000004
00000151 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000159 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000015F 02 03                    RSADDI
00000161 04 03 00000005           CONSTI 00000005
00000167 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000016F 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000175 02 03                    RSADDI
00000177 04 03 00000006           CONSTI 00000006
0000017D 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000185 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000018B 02 03                    RSADDI
0000018D 04 03 00000007           CONSTI 00000007
00000193 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000019B 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000001A1 02 03                    RSADDI
000001A3 04 03 00000008           CONSTI 00000008
000001A9 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000001B1 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000001B7 02 03                    RSADDI
000001B9 04 03 00000009           CONSTI 00000009
000001BF 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000001C7 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000001CD 02 03                    RSADDI
000001CF 04 03 0000000A           CONSTI 0000000A
000001D5 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000001DD 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000001E3 02 03                    RSADDI
000001E5 04 03 0000000B           CONSTI 0000000B
000001EB 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000001F3 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000001F9 02 03                    RSADDI
000001FB 04 03 0000000C           CONSTI 0000000C
00000201 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000209 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000020F 02 03                    RSADDI
00000211 04 03 0000000D           CONSTI 0000000D
00000217 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000021F 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000225 02 03                    RSADDI
00000227 04 03 0000000E           CONSTI 0000000E
0000022D 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000235 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000023B 02 03                    RSADDI
0000023D 04 03 0000000F           CONSTI 0000000F
00000243 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000024B 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000251 02 03                    RSADDI
00000253 04 03 00000010           CONSTI 00000010
00000259 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000261 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000267 02 03                    RSADDI
00000269 04 03 00000011           CONSTI 00000011
0000026F 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000277 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000027D 02 03                    RSADDI
0000027F 04 03 00000012           CONSTI 00000012
00000285 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000028D 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000293 02 03                    RSADDI
00000295 04 03 00000013           CONSTI 00000013
0000029B 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000002A3 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000002A9 02 03                    RSADDI
000002AB 04 03 00000014           CONSTI 00000014
000002B1 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000002B9 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000002BF 02 03                    RSADDI
000002C1 04 03 00000015           CONSTI 00000015
000002C7 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000002CF 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000002D5 02 03                    RSADDI
000002D7 04 03 00000016           CONSTI 00000016
000002DD 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000002E5 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000002EB 02 03                    RSADDI
000002ED 04 03 00000017           CONSTI 00000017
000002F3 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000002FB 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000301 02 03                    RSADDI
00000303 04 03 00000018           CONSTI 00000018
00000309 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000311 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000317 02 03                    RSADDI
00000319 04 03 00000019           CONSTI 00000019
0000031F 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000327 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000032D 02 03                    RSADDI
0000032F 04 03 0000001A           CONSTI 0000001A
00000335 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000033D 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000343 02 03                    RSADDI
00000345 04 03 0000001B           CONSTI 0000001B
0000034B 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000353 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000359 02 03                    RSADDI
0000035B 04 03 0000001C           CONSTI 0000001C
00000361 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000369 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000036F 02 03                    RSADDI
00000371 04 03 0000001D           CONSTI 0000001D
00000377 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000037F 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000385 02 03                    RSADDI
00000387 04 03 0000001E           CONSTI 0000001E
0000038D 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000395 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000039B 02 03                    RSADDI
0000039D 04 03 0000003B           CONSTI 0000003B
000003A3 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000003AB 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000003B1 02 03                    RSADDI
000003B3 04 03 00000000           CONSTI 00000000
000003B9 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000003C1 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000003C7 02 03                    RSADDI
000003C9 04 03 00000001           CONSTI 00000001
000003CF 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000003D7 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000003DD 02 03                    RSADDI
000003DF 04 03 00000002           CONSTI 00000002
000003E5 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000003ED 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000003F3 02 03                    RSADDI
000003F5 04 03 0000001D           CONSTI 0000001D
000003FB 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000403 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000409 02 03                    RSADDI
0000040B 04 03 0000001E           CONSTI 0000001E
00000411 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000419 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000041F 02 03                    RSADDI
00000421 04 03 00000022           CONSTI 00000022
00000427 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000042F 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000435 02 03                    RSADDI
00000437 04 03 00000023           CONSTI 00000023
0000043D 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000445 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000044B 02 03                    RSADDI
0000044D 04 03 00000024           CONSTI 00000024
00000453 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000045B 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000461 02 03                    RSADDI
00000463 04 03 00000025           CONSTI 00000025
00000469 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000471 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000477 02 03                    RSADDI
00000479 04 03 00000026           CONSTI 00000026
0000047F 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000487 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000048D 02 03                    RSADDI
0000048F 04 03 00000027           CONSTI 00000027
00000495 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000049D 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000004A3 02 03                    RSADDI
000004A5 04 03 00000029           CONSTI 00000029
000004AB 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000004B3 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000004B9 02 03                    RSADDI
000004BB 04 03 0000002A           CONSTI 0000002A
000004C1 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000004C9 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000004CF 02 03                    RSADDI
000004D1 04 03 0000002E           CONSTI 0000002E
000004D7 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000004DF 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000004E5 02 03                    RSADDI
000004E7 04 03 0000002F           CONSTI 0000002F
000004ED 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000004F5 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000004FB 02 03                    RSADDI
000004FD 04 03 0000000F           CONSTI 0000000F
00000503 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000050B 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000511 02 03                    RSADDI
00000513 04 03 0000000A           CONSTI 0000000A
00000519 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000521 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000527 02 03                    RSADDI
00000529 04 03 00000005           CONSTI 00000005
0000052F 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000537 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000053D 02 03                    RSADDI
0000053F 04 03 00000002           CONSTI 00000002
00000545 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000054D 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000553 02 03                    RSADDI
00000555 02 03                    RSADDI
00000557 02 03                    RSADDI
00000559 02 06                    RSADDO
0000055B 02 03                    RSADDI
0000055D 02 03                    RSADDI
0000055F 02 03                    RSADDI
00000561 02 03                    RSADDI
00000563 02 03                    RSADDI
00000565 02 03                    RSADDI
00000567 02 03                    RSADDI
00000569 04 03 00000001           CONSTI 00000001
0000056F 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000577 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000057D 02 03                    RSADDI
0000057F 04 03 00000002           CONSTI 00000002
00000585 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000058D 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000593 02 03                    RSADDI
00000595 04 03 00000003           CONSTI 00000003
0000059B 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000005A3 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000005A9 02 03                    RSADDI
000005AB 04 03 00000014           CONSTI 00000014
000005B1 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000005B9 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000005BF 02 03                    RSADDI
000005C1 04 03 00000015           CONSTI 00000015
000005C7 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000005CF 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000005D5 02 03                    RSADDI
000005D7 04 03 00000016           CONSTI 00000016
000005DD 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000005E5 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000005EB 02 03                    RSADDI
000005ED 04 03 00000017           CONSTI 00000017
000005F3 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000005FB 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000601 02 03                    RSADDI
00000603 04 03 00000018           CONSTI 00000018
00000609 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000611 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000617 02 03                    RSADDI
00000619 04 03 00000019           CONSTI 00000019
0000061F 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000627 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000062D 02 03                    RSADDI
0000062F 04 03 0000001A           CONSTI 0000001A
00000635 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000063D 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000643 02 03                    RSADDI
00000645 04 03 0000001B           CONSTI 0000001B
0000064B 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000653 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000659 02 03                    RSADDI
0000065B 04 03 0000001C           CONSTI 0000001C
00000661 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000669 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000066F 02 03                    RSADDI
00000671 04 03 0000001F           CONSTI 0000001F
00000677 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000067F 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000685 02 03                    RSADDI
00000687 04 03 00000020           CONSTI 00000020
0000068D 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000695 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000069B 02 03                    RSADDI
0000069D 04 03 00000021           CONSTI 00000021
000006A3 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000006AB 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000006B1 02 03                    RSADDI
000006B3 04 03 00000028           CONSTI 00000028
000006B9 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000006C1 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000006C7 02 03                    RSADDI
000006C9 04 03 0000002B           CONSTI 0000002B
000006CF 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000006D7 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000006DD 02 03                    RSADDI
000006DF 04 03 0000002C           CONSTI 0000002C
000006E5 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000006ED 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000006F3 02 03                    RSADDI
000006F5 04 03 0000002D           CONSTI 0000002D
000006FB 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000703 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000709 02 03                    RSADDI
0000070B 04 03 00000030           CONSTI 00000030
00000711 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000719 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000071F 02 03                    RSADDI
00000721 04 03 00000031           CONSTI 00000031
00000727 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000072F 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000735 02 03                    RSADDI
00000737 04 03 00000032           CONSTI 00000032
0000073D 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000745 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000074B 02 03                    RSADDI
0000074D 04 03 00000033           CONSTI 00000033
00000753 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000075B 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000761 02 03                    RSADDI
00000763 04 03 00000034           CONSTI 00000034
00000769 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000771 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000777 02 03                    RSADDI
00000779 04 03 00000035           CONSTI 00000035
0000077F 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000787 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000078D 02 03                    RSADDI
0000078F 04 03 00000036           CONSTI 00000036
00000795 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000079D 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000007A3 02 03                    RSADDI
000007A5 04 03 00000037           CONSTI 00000037
000007AB 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000007B3 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000007B9 02 03                    RSADDI
000007BB 04 03 00000038           CONSTI 00000038
000007C1 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000007C9 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000007CF 02 03                    RSADDI
000007D1 04 03 00000039           CONSTI 00000039
000007D7 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000007DF 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000007E5 02 03                    RSADDI
000007E7 04 03 0000003A           CONSTI 0000003A
000007ED 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000007F5 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000007FB 02 03                    RSADDI
000007FD 04 03 0000003C           CONSTI 0000003C
00000803 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000080B 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000811 02 03                    RSADDI
00000813 04 03 0000003D           CONSTI 0000003D
00000819 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000821 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000827 02 03                    RSADDI
00000829 04 03 0000003E           CONSTI 0000003E
0000082F 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000837 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000083D 02 03                    RSADDI
0000083F 04 03 0000003F           CONSTI 0000003F
00000845 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000084D 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000853 02 03                    RSADDI
00000855 04 03 00000040           CONSTI 00000040
0000085B 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000863 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000869 02 03                    RSADDI
0000086B 04 03 00000041           CONSTI 00000041
00000871 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000879 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000087F 02 03                    RSADDI
00000881 04 03 00000042           CONSTI 00000042
00000887 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000088F 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000895 02 03                    RSADDI
00000897 04 03 00000043           CONSTI 00000043
0000089D 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000008A5 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000008AB 02 03                    RSADDI
000008AD 04 03 00000044           CONSTI 00000044
000008B3 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000008BB 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000008C1 02 03                    RSADDI
000008C3 04 03 00000045           CONSTI 00000045
000008C9 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000008D1 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000008D7 02 03                    RSADDI
000008D9 04 03 00000046           CONSTI 00000046
000008DF 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000008E7 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000008ED 02 03                    RSADDI
000008EF 04 03 00000047           CONSTI 00000047
000008F5 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000008FD 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000903 02 03                    RSADDI
00000905 04 03 00000048           CONSTI 00000048
0000090B 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000913 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000919 02 03                    RSADDI
0000091B 04 03 00000001           CONSTI 00000001
00000921 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000929 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000092F 02 03                    RSADDI
00000931 04 03 00000002           CONSTI 00000002
00000937 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000093F 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000945 02 03                    RSADDI
00000947 04 03 00000003           CONSTI 00000003
0000094D 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000955 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000095B 02 03                    RSADDI
0000095D 04 03 00000004           CONSTI 00000004
00000963 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
0000096B 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000971 02 03                    RSADDI
00000973 04 03 00000000           CONSTI 00000000
00000979 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000981 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000987 02 03                    RSADDI
00000989 04 03 00000001           CONSTI 00000001
0000098F 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000997 1B 00 FFFFFFFC           MOVSP FFFFFFFC
0000099D 02 03                    RSADDI
0000099F 04 03 00000002           CONSTI 00000002
000009A5 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000009AD 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000009B3 02 03                    RSADDI
000009B5 04 03 00000003           CONSTI 00000003
000009BB 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000009C3 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000009C9 02 03                    RSADDI
000009CB 04 03 00000004           CONSTI 00000004
000009D1 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000009D9 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000009DF 02 03                    RSADDI
000009E1 04 03 00000005           CONSTI 00000005
000009E7 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
000009EF 1B 00 FFFFFFFC           MOVSP FFFFFFFC
000009F5 02 03                    RSADDI
000009F7 04 03 00000006           CONSTI 00000006
000009FD 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000A05 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000A0B 02 03                    RSADDI
00000A0D 04 03 00000007           CONSTI 00000007
00000A13 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000A1B 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000A21 02 03                    RSADDI
00000A23 04 03 00000008           CONSTI 00000008
00000A29 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000A31 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000A37 02 03                    RSADDI
00000A39 04 03 00000009           CONSTI 00000009
00000A3F 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000A47 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000A4D 02 03                    RSADDI
00000A4F 04 03 0000000A           CONSTI 0000000A
00000A55 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000A5D 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000A63 02 03                    RSADDI
00000A65 04 03 0000000B           CONSTI 0000000B
00000A6B 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000A73 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000A79 02 03                    RSADDI
00000A7B 04 03 0000000C           CONSTI 0000000C
00000A81 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000A89 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000A8F 02 03                    RSADDI
00000A91 04 03 0000000D           CONSTI 0000000D
00000A97 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000A9F 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000AA5 02 03                    RSADDI
00000AA7 04 03 0000000E           CONSTI 0000000E
00000AAD 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000AB5 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000ABB 02 03                    RSADDI
00000ABD 04 03 0000000F           CONSTI 0000000F
00000AC3 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000ACB 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000AD1 02 03                    RSADDI
00000AD3 04 03 00000010           CONSTI 00000010
00000AD9 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000AE1 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000AE7 02 03                    RSADDI
00000AE9 04 03 00000011           CONSTI 00000011
00000AEF 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000AF7 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000AFD 02 03                    RSADDI
00000AFF 04 03 00000012           CONSTI 00000012
00000B05 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000B0D 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000B13 02 03                    RSADDI
00000B15 04 03 00000013           CONSTI 00000013
00000B1B 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000B23 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000B29 02 03                    RSADDI
00000B2B 04 03 0000044C           CONSTI 0000044C
00000B31 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000B39 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000B3F 02 03                    RSADDI
00000B41 04 03 00000006           CONSTI 00000006
00000B47 19 03                    NEGI
00000B49 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000B51 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000B57 02 03                    RSADDI
00000B59 04 03 00000005           CONSTI 00000005
00000B5F 19 03                    NEGI
00000B61 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000B69 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000B6F 02 03                    RSADDI
00000B71 04 03 00000004           CONSTI 00000004
00000B77 19 03                    NEGI
00000B79 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000B81 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000B87 02 03                    RSADDI
00000B89 04 03 00000002           CONSTI 00000002
00000B8F 19 03                    NEGI
00000B91 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000B99 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000B9F 02 03                    RSADDI
00000BA1 04 03 00000001           CONSTI 00000001
00000BA7 19 03                    NEGI
00000BA9 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000BB1 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000BB7 02 03                    RSADDI
00000BB9 04 03 00000000           CONSTI 00000000
00000BBF 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000BC7 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000BCD 2A 00                    SAVEBP
00000BCF 1E 00 00000010           JSR fn_00000BDF
00000BD5 2B 00                    RESTOREBP
00000BD7 1B 00 FFFFFDBC           MOVSP FFFFFDBC
00000BDD 20 00                    RETN
00000BDF 02 03                    RSADDI
00000BE1 05 00 00F7 00            ACTION GetUserDefinedEventNumber(00F7), 00

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...