- 2
- Posts
- 11
- Years
- Seen Oct 23, 2023
Hello, I would like to add this character * in a text message but I don't know how and this is not working if I only put *
Can you help me with this problem?
Can you help me with this problem?
Last edited:
I know this may not be the appropiate place to post this, but I couldnt find any other place so I came here. it is somewhat related. I made a trainer battle script using PET and when I went to load the ROM, I got a white screen. Assuming that the ROM that i'm hacking is corrupt, does anyone else get this problem, or was there possibly a problem with my script?
the script is kinda long.
Spoiler:#dynamic 0x800000
#org @start
setvar 0x5003 0x3
goto 0x803D22
end
#org @script
checkflag 0x1003
if 0x1 goto @done
compare 0x5003 0x0
if 0x1 goto @left
compare 0x5003 0x1
if 0x1 goto @middleleft
compare 0x5003 0x2
if 0x1 goto @middleright
compare 0x5003 0x3
if 0x1 goto @right
end
#org @left
showsprite 0x2
showsprite 0x1
textcolor 0x00
msgbox @yellforhelp 0x4
closeonkeypress
applymovement 0xFF @movesfast1
waitmovement 0x0
msgbox @TeamRocket 0x4
closeonkeypress
applymovement 0x1 @!
pause 0x30
applymovement 0x1 @turnsaround
trainerbattle 0x1 0x019 0x0 @before @after @later
end
#org @middleleft
showsprite 0x2
showsprite 0x1
textcolor 0x00
msgbox @yellforhelp 0x4
closeonkeypress
applymovement 0xFF @movesfast2
waitmovement 0x0
msgbox @TeamRocket 0x4
closeonkeypress
applymovement 0x1 @!
pause 0x30
applymovement 0x1 @turnsaround
trainerbattle 0x1 0x019 0x0 @before @after @later
end
#org @middleright
showsprite 0x2
showsprite 0x1
textcolor 0x00
msgbox @yellforhelp 0x4
closeonkeypress
applymovement 0xFF @movesfast3
waitmovement 0x0
msgbox @TeamRocket 0x4
closeonkeypress
applymovement 0x1 @!
pause 0x30
applymovement 0x1 @turnsaround
trainerbattle 0x1 0x019 0x0 @before @after @later
end
#org @right
showsprite 0x2
showsprite 0x1
textcolor 0x00
msgbox @yellforhelp 0x4
closeonkeypress
applymovement 0xFF @movesfast4
waitmovement 0x0
msgbox @TeamRocket 0x4
closeonkeypress
applymovement 0x1 @!
pause 0x30
applymovement 0x1 @turnsaround
trainerbattle 0x1 0x019 0x0 @before @after @later
end
#org @later
textcolor 0x00
msgbox @chideshero 0x4
closeonkeypress
applymovement 0x1 @TRgoesaway
waitmovement 0x0
hidesprite 0x1
msgbox @thankyou 0x4
closeonkeypress
applymovement 0x2 @Rivalgoesaway
waitmovement 0x0
hidesprite 0x2
release
end
#org @done
release
end
#org @yellforhelp
= SOME ONE HELP ME!
#org @teamrocket
= Ha, one less trainer with out\ntheir Pokemon means one less\ltrainer sho wont get in the way of\lboss's plans!
#org @before
= What kind of person do you think\nyou are, some kind of hero?\pHa, just test me, I'll send you\nhome bawling your eyes out.
#org @after
= WHA-?! HOW!?
#org @chideshero
= How did this happen?!\pI have been training for this\nmission and I failed!\pGRR... you will pay one day for\nwhat you did to the team, but then\lagain, a few trainers don't\lmatter.\pStay out of our way!
#org @thankyou
= Wow, thank you so much for saving\nme, he almost took my Pokemon.\pI recieved it as a gift from and\nold friend of mine, I don't know\lwhat I would do with out it.\pHm, didn't that guy say something\nabout a plan earlier?\pIt probably dosn't matter much.\nOnce again thanks for saving me,\lcome by my house later.\pIt's just north from the\nPokecenter in Morbank town.
#org @movesfast1
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1F
#raw 0x1F
#raw 0x1D
#raw 0x1D
#raw 0x1F
#raw 0x1F
#raw 0xFE
#org @movesfast2
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1D
#raw 0x1D
#raw 0x1F
#raw 0x1F
#raw 0xFE
#org @movesfast3
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1D
#raw 0x1D
#raw 0x1F
#raw 0x1F
#raw 0xFE
#org @movesfast4
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1D
#raw 0x1D
#raw 0x1F
#raw 0x1F
#raw 0xFE
#org @!
#raw 0x62
#raw 0xFE
#org @turnsaround
#raw 0x3
#raw 0xFE
#org @TRgoesaway
#raw 0x1E
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0xFE
#org @Rivalgoesaway
#raw 0x1E
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0xFE
I havnt got the chance to try A-trainer yet, but I will soon. also 0x803D22 points to #org @script. You don't happen to have any tips to help me with ROM hacking that will prevent my ROM from corrupting do you? Fortunately I did't get too far into the hack so it's nothing to be dissapointed about. Thank you for the help.
Hello im new in this and im wondering if anyone can pass me a working wild battle script please.
ive tried different ways this is one
#org $script
lock
faceplayer
cry 0xA1 97
#raw 0x33
pause 0x30
message $cry
$cry 1 = Mew!
boxset 6
wildbattle 97 80 0
pause 0x70
fadescreen 0
removesprite 0x800F
setflag 0x1111
pause 0x10
fadescreen 1
release
end
thnx
#dynamic 0x800000
#org @start
lock
faceplayer
msgbox @1 0x6
cry 0x6 0x0
wildbattle 0x6 0x1E 0x8B
fadescreen 0x1
fadescreen 0x0
hidesprite 0x800F
setflag 0x200
release
end
#org @1
= CHARIZARD: Raaarrgghh!
Brane... the problem is when i try to debug it, a box pops out that says
"error 13 type mismatch on line 8
missing #define or parameter
line:wildbattle 0x97 0x50 0x8B
here's the script:
#dynamic 0x800300
#org @start
lock
faceplayer
msgbox @1 0x6
cry 0x97 0x0
wildbattle 0x97 0x50 0x8B
fadescreen 0x1
fadescreen 0x0
hidesprite 0x800F
setflag 0x1200
release
end
#org @1
= Mew!
I changed the offset, the cry and wildbattle :/