- 12
- Posts
- 10
- Years
- Seen May 21, 2021
I'm trying to write a script that fades the screen, moves the camera to another part of the map, unfades the screen, displays a textbox that closes on key press then fades, moves back up and unfades in the original position.
This is what I've got so far. When I compile and run it the screen fades to black but doesn't unfade or respond to key presses.
I feel like I've missed something really basic but I have no idea what it is. Anyone have any ideas? Thanks!
This is what I've got so far. When I compile and run it the screen fades to black but doesn't unfade or respond to key presses.
I feel like I've missed something really basic but I have no idea what it is. Anyone have any ideas? Thanks!
Spoiler:
#dynamic 0x6D248
#org @start
lockall
faceplayer
fadescreen 0x1
special 0x113
applymovement 0x7F @move
waitmovement 0x0
special 0x114
msgbox @11 0x6
closeonkeypress
releaseall
fadescreen 0x0
end
#org @11
= Down
#org @move
#raw 0x1D
#raw 0x1D
#raw 0x1D
#org @start
lockall
faceplayer
fadescreen 0x1
special 0x113
applymovement 0x7F @move
waitmovement 0x0
special 0x114
msgbox @11 0x6
closeonkeypress
releaseall
fadescreen 0x0
end
#org @11
= Down
#org @move
#raw 0x1D
#raw 0x1D
#raw 0x1D