Quote:
Originally Posted by tkim
This is what I was looking for. Please help me further with this! Would this require ASM? And how would an example script look like at the end? My goal here is to imitate the event that occurs when one cuts the grass on Faraway Island, in which then the message "The feeling of being watched faded..." pops up and Mew disappears. Does "hook into cut's launch routine and set your flag" mean callasm 0x8_________ followed by setflag 0x___ ?
edit: or would it look more like this:
|
There already exists a similar functioning routine in FireRed for Ruin valley. It looks like this:
You do need some ASM, as you'd want to hook exactly where this is and add in your own little bit of ASM to set your special checking byte.
You could do this a little more easily if your hack doesn't have ruin valley's door thing in it. Specifically, you must write at 080978A2 "01". Fair warning though, it might not cut the grass if you do this (I haven't investigated) but if it doesn't then fall back and hook instead. Anyways if you do write 01 there and it works fine, the byte at 02039874 with be 0x1 in the event cut is used on the Map.