FoggyDoggy
Im comin' home...
- 1,816
- Posts
- 17
- Years
- Age 32
- Just Outside Treasure Town
- Seen Nov 28, 2024
First, I don't think you're supposed to use lock for an applymovement script.
Second, if B_true is only for Pokescript, as far as I know. For XSE it should be if 0x1.
If neither of those helps, you can try changing the Var number to 4050.
Hope that helped!
Oh, and change the guy's unknown value to 03 (the unknown right under X/Y position).
I'm not sure why the battle just skips like that, but this might help you to actually see the OW.
Now for my own dilemma. I have a script installed so that as soon as you walk downstairs at the game's start, a level script starts up, a little cutscene plays, and then you are supposed to be warped to map 43.0, where another level script should start up. Everything works fine except for the warp. I've tried taking out fadescreen, but nothing changed, so I put it back in. Here's the first script (I only included the script's framework, since everything else is working fine):
Spoiler:
#org @openingscript
checkflag 0x1006
if 0x1 goto @done
applymovement 0x01 @mommove1
waitmovement 0x0
msgbox @1 0x6
msgbox @2 0x6
applymovement 0x01 @mommove2
waitmovement 0x0
applymovement 0x2 @moverocket1
applymovement 0x3 @moverocket2
waitmovement 0x0
msgbox @3 0x6
applymovement 0x4 @moverocketleader
waitmovement 0x0
msgbox @4 0x6
applymovement 0x01 @mommove3
waitmovement 0x0
msgbox @5 0x6
msgbox @6 0x6
msgbox @7 0x6
applymovement 0x5 @movemachoke
waitmovement 0x0
applymovement 0xFF @moveplayer
applymovement 0x05 @movemachoke2
waitmovement 0x0
msgbox @attack 0x6
hidesprite 0x1006
setflag 0x1006
setvar 0x4033 0x1
warp 0x2B 0x0 0x1 0x1 0x9
end
And here's the second script:
Spoiler:
#dynamic 0x800000
#org @revived
checkflag 0x1007
if 0x1 goto @done
msgbox @healer1 0x6
msgbox @healer2 0x6
msgbox @healer4 0x6
fadescreen 0x0
applymovement 0x1 @wokeup1
waitmovement 0x0
msgbox @healer3 0x6
setflag 0x1007
setvar 0x4034 0x1
end
#org @done
release
end
#org @healer1
= ...\p...\p...\p...and the pulse is normal.\nThis one is a survivor! It's a\lmiracle the child is still alive!
#org @healer2
= That it is, friend, that it is.\nHe should be coming around soon,\lgo let the Boss know our patient\lwill be ready to see him shortly.
#org @healer3
= Well, welcome back! I must say, it's\na relief to see you awake. You've\lbeen unconscious for two days.\pYou'll be alright now though, you're\namong friends.\pWhen you feel up to it, go\nupstairs to see our leader; he wants\l to tell you something.
#org @healer4
= Will do. I need to get back to\n the main base soon anyway.\lGood luck!
#org @wokeup1
#raw 0x62 0xFE
So again, what I want to happen is, after the warp in script 1, script 2 immediately starts up in the location you're warped to. Everything's fine up to the point that I actually warp, which is when the entire screen goes black. Any ideas?
Fisrt off, about your Reply to ExitWound's script.
You are almost right, b_true is used for all 4 of the scripting languages.
(ScriptED, Pokescript, PKSV, AND XSE, so that is not the problem.)
And lock should ALWAYS be used on a script when movement is used, this prevents the player from moving, and it also prevents the NPC you talk to from moving automatically. (It does not stop applymovement from working, so yeah...)
The other parts, you got right.
About YOUR script...
Advance Map displays Bank and Map numbers in Decimal format, so instead of telling the warp to warp you to 43.0, you are telling it to warp you to 0x43 . 0x0
(Which is the exact same as telling it to warp to 67.0)
You can keep the 0x0 as it is, but as for the 0x43
So you SHOULD use 0x2B.
I fixed your script in the quote, changes are in BOLD RED.
Test that out, and report back here ASAP, so that if there are any other problems, I can help work them out.