View Single Post
  #59    
Old December 24th, 2008 (11:42 AM).
Shiny Magikarp's Avatar
Shiny Magikarp Shiny Magikarp is offline
 
Join Date: Oct 2008
Location: Scotland
Gender:
Nature: Modest
Posts: 20
In my hack, of Fire Red I have changed one of the starter Pokemon to a Larvitar, which means the player needs the National Dex to have seen it. I can't seem to get Oak to give the player a national dex. I looked around and saw some one said to put in "special 0x1F3" in the script I have tried adding it in, replacing all the other specials with it and putting it after all the specials, but it just makes the game freeze. Can someone please tell me what I'm doing wrong? I'm using XSE

Thanks and Merry Christmas

Spoiler:
#org 0x16961E
msgbox 0x818E405 '"OAK: Oh, [player]!\nHow is my old P..."
callstd 0x4
textcolor 0x3
fanfare 0x105
msgbox2 0x818E4AF '"[player] delivered OAK'S PARCEL."
waitmsgbox
waitfanfare
call 0x81A6675
removeitem 0x15D 0x1
msgbox 0x818E4CA '"Ah! \nIt's the custom POKé BALL!\pI..."
callstd 0x4
playsong 0x13B 0x0
msgbox 0x818DE8D '"[rival]: Gramps!"
callstd 0x4
closeonkeypress
compare PLAYERFACING 0x2
if 0x1 call 0x8169A82
compare PLAYERFACING 0x1
if 0x1 call 0x8169AC1
compare PLAYERFACING 0x4
if 0x1 call 0x8169A9E
compare PLAYERFACING 0x3
if 0x1 call 0x8169A9E
fadedefault
msgbox 0x818DE99 '"[rival]: I almost forgot!\nWhat did..."
callstd 0x4
closeonkeypress
pause 0x1E
sound 0x15
applymovement 0x4 0x81A75DB
waitmovement 0x0
applymovement 0x4 0x81A75DD
waitmovement 0x0
compare PLAYERFACING 0x1
if 0x1 call 0x8169ADD
compare PLAYERFACING 0x4
if 0x1 call 0x8169B14
compare PLAYERFACING 0x3
if 0x1 call 0x8169AF5
compare PLAYERFACING 0x2
if 0x1 call 0x8169B86
msgbox 0x818E508 '"OAK: Oh, right!\nI have a request f..."
callstd 0x4
closeonkeypress
compare PLAYERFACING 0x2
if 0x1 call 0x8169882
compare PLAYERFACING 0x1
if 0x1 call 0x816988D
compare PLAYERFACING 0x4
if 0x1 call 0x81698A6
compare PLAYERFACING 0x3
if 0x1 call 0x81698B8
msgbox 0x818E536 '"On the desk there is my invention,\..."
callstd 0x4
closeonkeypress
pause 0x28
msgbox 0x818E5C5 '"OAK: [player] and [rival].\nTake th..."
callstd 0x4
closeonkeypress
applymovement 0x4 0x81A75E9
waitmovement 0x0
hidesprite 0x9
pause 0xA
hidesprite 0xA
pause 0x19
compare PLAYERFACING 0x2
if 0x1 call 0x8169845
compare PLAYERFACING 0x1
if 0x1 call 0x8169850
compare PLAYERFACING 0x4
if 0x1 call 0x816985B
compare PLAYERFACING 0x3
if 0x1 call 0x816986D
pause 0xA
textcolor 0x3
fanfare 0x13E
msgbox2 0x818E5EA '"[player] received the POKéDEX\nfrom..."
waitmsgbox
waitfanfare
call 0x81A6675
setflag 0x829
special 0x181
setvar 0x407C 0x1
msgbox 0x818E612 '"OAK: You can't get detailed data\no..."
callstd 0x4
additem 0x4 0x5
msgbox 0x818E6B3 '"[player] received five POKé BALLS."
giveitem2 0x4 0x5 0x101
msgbox 0x818E6D0 '"When a wild POKéMON appears,\nit's ..."
callstd 0x4
setvar 0x8004 0x0
setvar 0x8005 0x1
special 0x173
msgbox 0x818E784 '"To make a complete guide on all\nth..."
callstd 0x4
msgbox 0x818DEC8 '"[rival]: All right, Gramps!\nLeave ..."
callstd 0x4
compare PLAYERFACING 0x2
if 0x1 call 0x8169B33
compare PLAYERFACING 0x1
if 0x1 call 0x8169B45
compare PLAYERFACING 0x4
if 0x1 call 0x8169B57
compare PLAYERFACING 0x3
if 0x1 call 0x8169B57
msgbox 0x818DEF3 '"[player], I hate to say it, but you..."
callstd 0x4
closeonkeypress
playsong 0x13C 0x0
compare PLAYERFACING 0x2
if 0x1 call 0x8169B69
compare PLAYERFACING 0x1
if 0x1 call 0x8169B7B
compare PLAYERFACING 0x4
if 0x1 call 0x8169B7B
compare PLAYERFACING 0x3
if 0x1 call 0x8169B7B
hidesprite 0x8
fadedefault
setvar 0x4055 0x6
setvar 0x4057 0x2
setvar 0x4051 0x1
setvar 0x4058 0x1
setvar 0x4054 0x1
release
end

(Sorry if I put in too much of the script!)
__________________