- 2
- Posts
- 9
- Years
- Seen Jul 18, 2020
Hello everyone.
This is my first post in this forum and since I am a beginner at Rom Hacking and Scripting, I want to try many different ways of making my game more interesting.
Since I've tried to make a script in which the player is forced to move to a specific location like when he enters Lance's room in the victory road.
So I've inserted an script - event at AdvanceMap at the location I wanted to the script to start.
Furthermore, I've written the following text for my script and put the offset to the script event.
#dynamic 0x800000
#org @start
lock
applymovement 0xFF @1
waitmovement 0x0
release
end
#org @1
#raw 0x11
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0xFE
However, since the player reaches the spot in which the event should begin, the game freezes.
I was wondering if it's because of the lock command in line 3 of my program text.
So I removed it and now the event isn't started at all.
I've tried to look up tutorials on YouTube without any success.
I really would appreciate your help concerning my problem.
Thank you very much.
This is my first post in this forum and since I am a beginner at Rom Hacking and Scripting, I want to try many different ways of making my game more interesting.
Since I've tried to make a script in which the player is forced to move to a specific location like when he enters Lance's room in the victory road.
So I've inserted an script - event at AdvanceMap at the location I wanted to the script to start.
Furthermore, I've written the following text for my script and put the offset to the script event.
#dynamic 0x800000
#org @start
lock
applymovement 0xFF @1
waitmovement 0x0
release
end
#org @1
#raw 0x11
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0xFE
However, since the player reaches the spot in which the event should begin, the game freezes.
I was wondering if it's because of the lock command in line 3 of my program text.
So I removed it and now the event isn't started at all.
I've tried to look up tutorials on YouTube without any success.
I really would appreciate your help concerning my problem.
Thank you very much.