View Single Post
  #2439    
Old October 28th, 2009 (07:43 AM).
Satoshi Ookami's Avatar
Satoshi Ookami Satoshi Ookami is offline
Memento Mori
Gold Tier
 
Join Date: Jul 2008
Location: Abyss of Time, Great Seal
Age: 22
Gender: Male
Nature: Calm
Posts: 12,871
Quote originally posted by Empoleon-111:
This is a script that doesn't let you pas an area when you don't have a pokemon... But the game freezes when activated...

Spoiler:

'---------------
#org 0x2DD100
lock
checkflag 0x828
if 0x0 goto 0x82DD113
release
end

'---------------
#org 0x2DD113
lock
applymovement 0x1 0x82DD138
waitmovement 0x0
msgbox 0x82DD13D 0x2 '"Those oilfields are dangerous! You..."
applymovement 0xFF 0x82DD184
applymovement 0x1 0x82DD186
waitmovement 0x0
release
end

'---------
' Strings
'---------
#org 0x2DD13D
= Those oilfields are dangerous! You shouldn't pass without a pokemon.

'-----------
' Movements
'-----------
#org 0x2DD138
#raw 0x62 'Exclamation Mark (!)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0xFE 'End of Movements

#org 0x2DD184
#raw 0x51 'Jump Right
#raw 0xFE 'End of Movements

#org 0x2DD186
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x2D 'Face Down (Delayed)
#raw 0xFE 'End of Movements
Fixed parts are in bold.
It should work now.
__________________
ROM hacking FAQ - Read before asking how to play a hack. | Previous Sign 2 | Previous Sign

Anime List | PSN Trophy List