Jump to content

Home

Decompile script: donrobe.ncs


SimonKTemplar

Recommended Posts

Hello, I'd like to have a script decompiled for the sake of changing a single line in it. It's a short script, and has to do with the endgame cutscene (light side)

 

I tried decompiling it myself using deNCS but it keeps failing for unknown reasons. Maybe it's the current java runtime. Maybe not. In any case, can someone also tell me which software can decompile ncs files nowadays, so I'll be able to do it myself?

 

00000008 42 00000084              T 00000084
0000000D 1E 00 00000008           JSR fn_00000015
00000013 20 00                    RETN
00000015 02 06                    RSADDO
00000017 04 03 00000001           CONSTI 00000001
0000001D 05 00 0224 00            ACTION GetFirstPC(0224), 00
00000022 04 05 000E str           CONSTS "g_a_jedirobe01"
00000034 05 00 001F 03            ACTION CreateItemOnObject(001F), 03
00000039 01 01 FFFFFFF8 0004      CPDOWNSP FFFFFFF8, 0004
00000041 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000047 04 03 00000000           CONSTI 00000000
0000004D 04 06 00000000           CONSTO 00000000
00000053 04 03 00000001           CONSTI 00000001
00000059 05 00 009B 02            ACTION GetItemInSlot(009B), 02
0000005E 05 00 0021 02            ACTION ActionUnequipItem(0021), 02
00000063 04 03 00000001           CONSTI 00000001
00000069 04 03 00000001           CONSTI 00000001
0000006F 03 01 FFFFFFF4 0004      CPTOPSP FFFFFFF4, 0004
00000077 05 00 0020 03            ACTION ActionEquipItem(0020), 03
0000007C 1B 00 FFFFFFFC           MOVSP FFFFFFFC
00000082 20 00                    RETN

 

This, I think, is the script that equips a Jedi Robe on the player during the end credits. Only line I wished to change was g_a_jedirobe01 to g_a_mstrrobe08. If this isn't the script that does what i think it does, please do point me in the right direction.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...