I got a really simple script that I want to put right into the game! It is a give item script that I recently discovered on Kaphotics channel.
2E 00
A6 00 47 05
74 00
3D 00 00 04 05 00 00 00 00 00
32 00
3F 00
09 00 00 00
09 00 01 80
2A 00 00 80 5F 00
2A 00 00 80 05 00
1C 00 F5 0A
0A 00 01 80
0A 00 00 80
3D 00 00 04 06 00 00 00 00 00
32 00
3F 00
30 00
2F 00
02 00
red = I have changed these values to the correct text lines in the text file
Now I just replaced the script of a young boy with my own one.
06 00 00 00 4B 00 00 00 13 FD 2E 00 10 00 61 09 08 00 01 00 11 00 01 00 1F 00 FF 1A 00 00 00 A2 00 47 05 70 00 3D 00 00 04 01 00 00 00 00 00 32 00 3E 00 1E 00 14 00 00 00 A2 00 47 05 70 00 3D 00 00 04 00 00 00 00 00 00 32 00 3E 00 30 00 2F 00 02 00 2E 00 A6 00 47 05 74 00 3D 00 00 04 00 05 00 00 00 00 32 00 3F 00 09 00 00 00 09 00 01 80 2A 00 00 80 5F 00 2A 00 00 80 05 00 1C 00 F5 0A 0A 00 01 80 0A 00 00 80 3D 00 00 04 00 06 00 00 00 00 32 00 3F 00 30 00 2F 00 02 00 00 00 00
underlined= pointers
red = end of header
blue = script that I inserted (from above)
What have I done wrong, because in game the script does not work (as basically all other scripts on the whole map as well, not only in the one room)
Spoiler:
2E 00
A6 00 47 05
74 00
3D 00 00 04 05 00 00 00 00 00
32 00
3F 00
09 00 00 00
09 00 01 80
2A 00 00 80 5F 00
2A 00 00 80 05 00
1C 00 F5 0A
0A 00 01 80
0A 00 00 80
3D 00 00 04 06 00 00 00 00 00
32 00
3F 00
30 00
2F 00
02 00
red = I have changed these values to the correct text lines in the text file
Now I just replaced the script of a young boy with my own one.
Spoiler:
06 00 00 00 4B 00 00 00 13 FD 2E 00 10 00 61 09 08 00 01 00 11 00 01 00 1F 00 FF 1A 00 00 00 A2 00 47 05 70 00 3D 00 00 04 01 00 00 00 00 00 32 00 3E 00 1E 00 14 00 00 00 A2 00 47 05 70 00 3D 00 00 04 00 00 00 00 00 00 32 00 3E 00 30 00 2F 00 02 00 2E 00 A6 00 47 05 74 00 3D 00 00 04 00 05 00 00 00 00 32 00 3F 00 09 00 00 00 09 00 01 80 2A 00 00 80 5F 00 2A 00 00 80 05 00 1C 00 F5 0A 0A 00 01 80 0A 00 00 80 3D 00 00 04 00 06 00 00 00 00 32 00 3F 00 30 00 2F 00 02 00 00 00 00
underlined= pointers
red = end of header
blue = script that I inserted (from above)
What have I done wrong, because in game the script does not work (as basically all other scripts on the whole map as well, not only in the one room)