Blaze the Cat
Life hurts, and so do I
- 236
- Posts
- 13
- Years
- Seen May 19, 2014
how do you use the xse. i can script ok but i cant make the change to my hack
Last edited:
At the top there is a toolbar, and one of them is the Compile button with writes your script into the ROM. You also need a ROM opened to be able to click the button. Here's a pic:how do you use the xse. i can script ok but i cant make the change to my hack
You should try a tutorial and follow it step by step. Here's a very easy-to-get tutorial for tile inserting which I would recommend, done by Banjora Marxvile.I got a problem which got me stomped.
I have seen alot of hacks with new tilesets (DP and BW for example) and when I try to insert tiles myself I usually get them really dotted. I don't use a whole tileset just a tree and grass. Can someone give me tips or share theirs tileset which have no problems?
I have used Irfanview and CS5.1
I would appreciate a PM if you want to have a private chat.
Thanks.
You should try a tutorial and follow it step by step. Here's a very easy-to-get tutorial for tile inserting which I would recommend, done by Banjora Marxvile.
But the tiles should be limited in 16 colors in order to be inserted, no?16 Bit colors are limiting me from putting up more tiles.
At the top there is a toolbar, and one of them is the Compile button with writes your script into the ROM. You also need a ROM opened to be able to click the button. Here's a pic:
![]()
#org $start
lock
faceplayer
message $question
$question 1 = Are you poor?
boxset 5
compare 0x800D 0x0001
if 0x01 goto $yes
message $no
$no 1 = Screw you ugly.
boxset 6
release
end
#org $yes
checkflag 0x1200
if 0x01 goto $greed
message $give
$give 1 = Here, use these to hide your n00bishness
boxset 6
giveitem 0x01 0x05
giveitem 0x19 0x05
giveitem 0x13 0x05
giveitem 0x17 0x05
givepokemon 249 50 0x173
setflag 0x1200
release
end
#org $greed
message $bratty
$bratty 1 = test
boxset 6
fadescreen 1
removesprite 20
pause 0x10
fadescreen 0
release
end
'---------------
#org 0x800000
lock
faceplayer
loadpointer 0x0
0x880003F '" I e \h80c eA\h80E I e \h80U eA\h8..."
settrainerflag
0x786F
hidebox 0x65 0x74 0x35 0x20
compare LASTRESULT 0x1
if 0x1 goto
0x8800025
msgbox 0x880003F MSG_NORMAL '" I e \h80c eA\h80E I e \h80U
eA\h8..."
release
end
'---------------
#org 0x800025
checkflag 0x1200
if 0x1 goto
0x880003F
msgbox 0x880003F MSG_NORMAL '" I e \h80c eA\h80E I e \h80U
eA\h8..."
giveitem 0x1 0x5 MSG_OBTAIN
giveitem 0x19 0x5
MSG_OBTAIN
giveitem 0x13 0x5 MSG_OBTAIN
giveitem 0x17 0x5
MSG_OBTAIN
copyvar 0x8004 LASTRESULT
givepokemon 0x3F 0x32 0x173 0x0 0x0
0x7D
nop1
copyvar 0x0 0x0
nop
nop
nop
nop
nop
setflag
0x1200
release
end
'---------------
#org 0x80003F
nop
callstd 0x0
giveitem 0x19 0x5
MSG_OBTAIN
giveitem 0x13 0x5 MSG_OBTAIN
giveitem 0x17 0x5
MSG_OBTAIN
copyvar 0x8004 LASTRESULT
givepokemon 0x3F 0x32 0x173 0x0 0x0
0x7D
nop1
copyvar 0x0 0x0
nop
nop
nop
nop
nop
setflag
0x1200
release
end
'---------
' Strings
'---------
#org 0x80003F
= I e
\h80c eA\h80E I e \h80U eA\h80E I e \h80a eA\h80E I cC\h80O\h80[U]\h3F
\h32\h73A
\h7DAc n U\h6CAO \h3F
\h80EIE\h3FA[PK]N u? \h3F \h6CAi\h3F[LL][PO] \h69[LL]\h65 [LL][LL][LL][LL]A
Im pretty new to this, but the one thing I cant get to work is person event scripts, compiling it in the rom and assigning it to a character works fine, but when I talk to the person ingame, it's just a bunch of weird symbols and gibberish, everything else in the script works, but the text is all screwed up
Code:#org $start lock faceplayer message $question $question 1 = Are you poor? boxset 5 compare 0x800D 0x0001 if 0x01 goto $yes message $no $no 1 = Screw you ugly. boxset 6 release end #org $yes checkflag 0x1200 if 0x01 goto $greed message $give $give 1 = Here, use these to hide your n00bishness boxset 6 giveitem 0x01 0x05 giveitem 0x19 0x05 giveitem 0x13 0x05 giveitem 0x17 0x05 givepokemon 249 50 0x173 setflag 0x1200 release end #org $greed message $bratty $bratty 1 = test boxset 6 fadescreen 1 removesprite 20 pause 0x10 fadescreen 0 release end
Heres what it shows after I compile it
Code:'--------------- #org 0x800000 lock faceplayer loadpointer 0x0 0x880003F '" I e \h80c eA\h80E I e \h80U eA\h8..." settrainerflag 0x786F hidebox 0x65 0x74 0x35 0x20 compare LASTRESULT 0x1 if 0x1 goto 0x8800025 msgbox 0x880003F MSG_NORMAL '" I e \h80c eA\h80E I e \h80U eA\h8..." release end '--------------- #org 0x800025 checkflag 0x1200 if 0x1 goto 0x880003F msgbox 0x880003F MSG_NORMAL '" I e \h80c eA\h80E I e \h80U eA\h8..." giveitem 0x1 0x5 MSG_OBTAIN giveitem 0x19 0x5 MSG_OBTAIN giveitem 0x13 0x5 MSG_OBTAIN giveitem 0x17 0x5 MSG_OBTAIN copyvar 0x8004 LASTRESULT givepokemon 0x3F 0x32 0x173 0x0 0x0 0x7D nop1 copyvar 0x0 0x0 nop nop nop nop nop setflag 0x1200 release end '--------------- #org 0x80003F nop callstd 0x0 giveitem 0x19 0x5 MSG_OBTAIN giveitem 0x13 0x5 MSG_OBTAIN giveitem 0x17 0x5 MSG_OBTAIN copyvar 0x8004 LASTRESULT givepokemon 0x3F 0x32 0x173 0x0 0x0 0x7D nop1 copyvar 0x0 0x0 nop nop nop nop nop setflag 0x1200 release end '--------- ' Strings '--------- #org 0x80003F = I e \h80c eA\h80E I e \h80U eA\h80E I e \h80a eA\h80E I cC\h80O\h80[U]\h3F \h32\h73A \h7DAc n U\h6CAO \h3F \h80EIE\h3FA[PK]N u? \h3F \h6CAi\h3F[LL][PO] \h69[LL]\h65 [LL][LL][LL][LL]A
Programs used :
notepad (writing the script)
Buffrite + Poketscript (compiling)
Advance Map (assigning script to a character)
XSE (used to check script after compiling)
VBA ( testing)
I have already searched for hours in other places but couldn't find any fix that worked...
By the way Im using Fire Red
Help?
P.S. The formatting of the scripts might be weird on your browser...
Most updated map Editor for pkmn yellow plz, thnx in advance
Use PikaMap.
Download it here.
But you really should've just done a Google search or something instead of asking others to do it for you.
It's probably because you use spaces in your offsets. For example,
"$bratty
1" should be "$bratty1" The space could have the game be reading it as just "1",
which would cause those sort of problems.
1. Is it possible to change shadow attitude in battle?
2. How to make new hm move like rock climb in Flora Sky? Does it need ASM?
3. How to set map to "need using flash" mode like in Granite Cave? I didn't find any option in A-Map (maybe it is...)
Thanks in advance