Barebones function 1006
Contents
Barebones function 1006
Function 1006: 1006:
- Function 1006 = Part of quest givers dialogue.
Quest givers dialogue
Barebones function 1000 = Function 1000 is the opening jump arguments to determine what will be said by the quest giver spoken to based on what point you are at in the quest.function 1000 is also the quest giver's script id so when ever spoken to the quest giver will 1st check what should be said to the player by checking the jump arguments in function 1000. (When you make npc's who you want to say different things at different times you always want to have there script id be the set of jump arguments that will lead to other functions containing what will actually be said, and the order in which the jump arguments appear in the function does matter.)
Barebones function 1001 = Function 1001 quest givers opening cinematic dialogue also tells the main Ragol telepoorter what floor to access with set_mainwarp. Puts in place the jump argument for quest giver to tell the player their after cinematic opening dialogue.
Barebones function 1002 = Function 1002 contains the quest giver's after opening dialogue.
Barebones function 1003 = Function 1003 contains the quest giver's cinematic winning dialogue. sets register 255 to say the quest has been cleared, and to allow for the quest givers after wining dialogue to be said to the player. Plays bgm 00000001 to confirm to the player that the quest has been cleared.
Barebones function 1004 = Function 1004 contains the quest giver's after wining dialogue.
Barebones function 1005 = Function 1005 contains the quest giver's quest failed cinematic dialogue. clear_mainwarp for the ragol teleporter for all stages used in the quest (You may need to add in more clear_mainwarp op codes here, and specify the floors used in your quest.) Re-enables the warps with warp_on (Needed to get to the office and the main part of Episode 2 pioneer 2. these warps are disabled when time runs out.) Sets the jump argument for the after cinematic quest fail dialogue. Sets register 253 saying the quest is failed.
Barebones function 1006 = Function 1006 contains the quest giver's after cinematic quest failed dialogue.
Use
Function 1006 contains the quest giver's after cinematic quest failed dialogue.
How the function appears in the script
1006: call 222 //Calls function 222.
message 000000C8, Insert quest givers<cr>quest failed after<cr>cinematic talk here! //Makes character id 200 quest giver say a message.
jmp 9 //Jumps to function 9.