- 5
- Posts
- 4
- Years
- Seen May 22, 2022
Hey Guys!
How do I make NPC's disappear after a certain event / Flag? In my example after the third gym bade.
I came up with this script:
#dynamic 0x800000
#org @start
lock
faceplayer
checkflag 0x807
if 0x0 goto @YouCantPass
if 0x1 goto @t1
release
end
#org @YouCantPass
msgbox @t2 0x6
release
end
#org @t2
= You can't pass!
#org @t1
checkflag 0x1050
hidesprite 8
setflag 0x1050
release
end
-----------------------------------------------------
But this one only activates after talking to the NPC and I want it to activate right after beating the gym.
The second question is, if it's possible to do some hex editing for unlimited bag space ?
The Rom I am hacking is Pokemon Ruby.
Thanks so far!
How do I make NPC's disappear after a certain event / Flag? In my example after the third gym bade.
I came up with this script:
#dynamic 0x800000
#org @start
lock
faceplayer
checkflag 0x807
if 0x0 goto @YouCantPass
if 0x1 goto @t1
release
end
#org @YouCantPass
msgbox @t2 0x6
release
end
#org @t2
= You can't pass!
#org @t1
checkflag 0x1050
hidesprite 8
setflag 0x1050
release
end
-----------------------------------------------------
But this one only activates after talking to the NPC and I want it to activate right after beating the gym.
The second question is, if it's possible to do some hex editing for unlimited bag space ?
The Rom I am hacking is Pokemon Ruby.
Thanks so far!