View Single Post
  #39    
Old July 11th, 2011 (12:08 AM).
Darthatron's Avatar
Darthatron Darthatron is offline
巨大なトロール。
Silver Tier
 
Join Date: Jan 2006
Location: Melbourne, Australia
Age: 23
Gender: Male
Nature: Modest
Posts: 1,152
Quote originally posted by Jambo51:
As you may have realised by now, it makes absolutely no difference if you KO them both at the same time as the game runs the checks properly.

I've managed to iron out most of the bugs with my routines now. The only problem now is that I can't find what tile the player is standing on, and as such, can't work out probabilities for how often they should occur.

I was trying to cook up a way for normal grass tiles to have a 1 in 20 chance or something, with "special" grass tiles having a much higher chance. If anyone could point me in the right direction for where to get a tile ID in the RAM/ROM, I will finish this hack off, and get it posted on here for all and sundry to use.

Also, 100th post! :D
I believe you have to read the X/Y position of the player from the RAM, then manually load the tile ID from the ROM based on that.
__________________
あなた は しきしゃ です
わたし は ばか です
Reply With Quote