loratus
Rom hacker
- 7
- Posts
- 16
- Years
- Strijen, holland
- Seen Oct 13, 2009
Thanks a lot Thethethethe!!
I use boxset 3 sometimes, but it really doesn't matter. Boxset 3 and 6 do the same things.
I'm not 100% sure, but I think the black box only appear depending on something in the map (Header View). You'd have to look at the header view's to see the differences, between indoor and outdoor maps.
Just use the [code}{/code] button. The php code colours can be pretty annoying.
I changed it slightly. The third pointer isn't a message. It'll point to another part of the script. Look at the script and you'll see what I did.
#ORG $begin
checkflag 0x202
if b_true goto $done
checkflag 0x203
if b_true goto $done2
message $voices
boxset 6
setflag 0x202
goto $done
#ORG $done2
release
end
#ORG $done
applymovement 0xff $walk
pausemove 0
release
end
#ORG $walk
#raw 0x0A
#raw 0xfe
#ORG $voices
$voices 1 = We have the prisoner\nupstairs knocked out.\p...Yes don't worry\nI'm sure he's not awake...\p...Yeah but he doesn't know\nthe computer password is\n 89565.
#org $begin
lock
faceplayer
message $howareyou
$howareyou 1 =Hey \v\h01!\nHows your journey going?
boxset 6
release
end
when using A-map i type my offset code into the script offset box, but it doesnt seem to work, when testing it, the rom crashes, in pokescript the code i get is "message1. $begin (D01000)", so i type "D01000" into the box in A-map, is there something im doing wrong?
Yes type it in as $D01000.
Always put a "$" in front of offsets!
Lol!
#org $begin
lock
faceplayer
message $howareyou
boxset 6
release
end
#org $howareyou
$howareyou 1 = Hey \v\h01! \nHows your journey going?
I corrected it, try this
Try to put 0xOFFSET like this he angers to open the written message of the offset.
-->
message 0xD01000
0xD01000 1 =Hey \v\h01!\nHows your journey going?
boxset 6
#ORG $start
lock
message $lol
boxset 6
release
end
#ORG $lol
$lol 1 = Lolled!
Okay, I understand how to script, but I don't understand how to ignite a script to be performed after you walk on a certain space in the game.
For example I have this script
Very simple, and very basic. I don't think there can be any flaws to that.... but if there is tell me.Code:#ORG $start lock message $lol boxset 6 release end #ORG $lol $lol 1 = Lolled!
Anyway, I entered in the starting offset for $start (happens to be $800437) into the script offset box for the script event in Advance Map. And yes, I have the script spot positioned on the map. In game when I walk on the square, the player freezes up but no messages pop up or nothing, and the music keeps on playing...
Help appreciated =)
#org $ShowText
Lock
Faceplayer
$message noCookie
$noCookie = Hi! I haven't got a cookie for you!!!
release
end
I need help with this script:
#org $begin
lock
faceplayer doesnt have to be here
checkflag 0x200
if b_true goto $alreadygotone
message $wantpoke
$wantpoke 1 =Hey,\nwould you like this Eevee?
boxset 5
compare LASTRESULT 1
if 1 goto $geteevee
message $toobad
$toobad 1 =Oh, thats too bad.
boxset 6
release
end
#org $geteevee
lock
message $getone
$getone 1 =Oh cool!\nI cant take care of it\panymore...
boxset 6
givepokemon 0x85 0x5 0x0
message $received
$received 1 =\v\h01 received EEVEE!
boxset 6
applymovement 0x1 $going
pausemove 0
release
end
#org $going
#raw 0x60 whitt this you want to make the OW disappear if im right?
so I ewould do it like this
#org $going
$going 1 ; #binary 0x60 0xFE (always has to be there)
it works but after the script as finshed it freezes what am I doing wrong?