View Single Post
  #7227    
Old August 21st, 2012 (05:34 AM).
BigMastaWalrus
Beginning Trainer
 
Join Date: Aug 2012
Gender: Male
Game: FireRed BPRE
Type: Mining Script
Editor: XSE 1.1.1

Script:
Spoiler:
#dynamic 0x3B4DB2
#org @start
lock
checkitem 0x1 0x1
compare 0x800D 0x1
if 0x4 goto @mine
textcolour 0x02
msgbox @1 0x6
release
end

#org @1
= This crack looks like it might have\nsomething inside.

#org @mine
textcolor 0x02
msgbox @2 0x5
compare 0x800D 0x0
if 0x0 goto @no
random 0x09
compare 0x800D 0x0
if 0x1 goto @mine1
compare 0x800D 0x1
if 0x1 goto @mine2
compare 0x800D 0x2
if 0x1 goto @mine3
compare 0x800D 0x3
if 0x1 goto @mine4
compare 0x800D 0x4
if 0x1 goto @mine5
compare 0x800D 0x5
if 0x1 goto @mine6
compare 0x800D 0x6
if 0x1 goto @mine7
compare 0x800D 0x7
if 0x1 goto @mine8
compare 0x800D 0x8
if 0x1 goto @mine9
compare 0x800D 0x9
if 0x1 goto @mine10

#org @2
= This crack looks like it might have\nsomething inside. Would you like to\lmine it?

#org @3
= Mining...

#org @no
release
end

#org @nothing
= Nothing. Better luck next time!

#org @mine1
textcolor 0x02
msgbox @3 0x6
textcolor 0x02
msgbox @nothing 0x6
release
end

#org @mine2
textcolor 0x02
msgbox @3 0x6
textcolor 0x02
msgbox @nothing 0x6
release
end

#org @mine3
textcolor 0x02
msgbox @3 0x6
textcolor 0x02
msgbox @nothing 0x6
release
end

#org @mine4
textcolor 0x02
msgbox @3 0x6
textcolor 0x02
msgbox @nothing 0x6
release
end

#org @mine5
textcolor 0x02
msgbox @3 0x6
giveitem 0x1 0x1 0x1
release
end

#org @mine6
textcolor 0x02
msgbox @3 0x6
giveitem 0x1 0x1 0x1
release
end

#org @mine7
textcolor 0x02
msgbox @3 0x6
giveitem 0x1 0x1 0x1
release
end

#org @mine8
textcolor 0x02
msgbox @3 0x6
giveitem 0x2 0x1 0x1
release
end

#org @mine9
textcolor 0x02
msgbox @3 0x6
giveitem 0x2 0x1 0x1
release
end

#org @mine10
textcolor 0x02
msgbox @3 0x6
giveitem 0x3 0x1 0x1
release
end


The script executes itself, checks for the item, and sometimes gives me items as it should. It just never displays any messages that I've put in. I do get the jiggle and obtain when i do get an item, however. I'm fairly new to this, but I'm not new to message scripts. I've tried everything I can think of, and nothing works. If anyone could help it would be greatly appreciated.