Notable Breakpoints: Difference between revisions

From ProjectPokemon Wiki
Jump to navigation Jump to search
Line 24: Line 24:
|02038B70
|02038B70
|Script Handler
|Script Handler
|[[loadingNOW]]  
|[[loadingNOW]]
|-style="background: #eee;" align="center"
|02042FB4
|ARNG call for PID of Wondercard pokemon
|[[SCV]]
|-style="background: #eee;" align="center"
|02042FBA
|Loads PID from wondercard to r0
|[[SCV]]
|-style="background: #eee;" align="center"
|02042FC8
|First Shiny Check call during the generation of some wondercard pokemon
|[[SCV]]
|-style="background: #eee;" align="center"
|02042FD0
|Beginning of loop that makes sure you do not get a shiny wondercard pokemon (in some cases)
|[[SCV]]
|-style="background: #eee;" align="center"
|0204305E
|PRNG call for first set of Wondercard pokemon IVs
|[[tsanth]]
|-style="background: #eee;" align="center"
|0204309C
|PRNG call for second set of Wondercard pokemon IVs
|[[tsanth]]
|-style="background: #eee;" align="center"
|205DED4
|Create chain set (not sure about address in tsanth's thread it said 205DED
[[tsanth]], [[loadingNOW]]
|-style="background: #eee;" align="center"
|0205DF42
|End of Create chain set routine
|[[tsanth]], [[loadingNOW]]
|-style="background: #eee;" align="center"
|-style="background: #eee;" align="center"
|0205E40C
|0205E40C
|Pokeradar Routine
|Pokeradar Routine
|[[loadingNOW]], [[tsanth]]  
|[[loadingNOW]], [[tsanth]]  
|-style="background: #eee;" align="center"
|2068AAC
|Shiny Check, used to decide what sprite to show for a pokemon and to make sure dynamic PID mystery gift pokemon are not shiny as well as preventing manaphy from hatching shiny in some cases.
|[[SCV]]
|-style="background: #eee;" align="center"
|-style="background: #eee;" align="center"
|020EBC80
|020EBC80

Revision as of 20:42, 2 March 2009

This page contains RAM addresses to various interesting and useful processes of Pokemon DPP.

Breakpoints can be set at these addresses.

Inspiration

This page is inspired by tsanth's thread with the same name on gamefaqs: [1]


Pokemon DP (U)

RAM Address Description Discovered by
0201B9EC PRNG loadingNOW, tsanth
201BA10 Alternate RNG used in some cases: Examples, PID generation for mystery gift pokemon, recalculating a PID after a failed shiny check, number which determines swarm pokemon and great marsh pokemon SCV
02038B70 Script Handler loadingNOW
02042FB4 ARNG call for PID of Wondercard pokemon SCV
02042FBA Loads PID from wondercard to r0 SCV
02042FC8 First Shiny Check call during the generation of some wondercard pokemon SCV
02042FD0 Beginning of loop that makes sure you do not get a shiny wondercard pokemon (in some cases) SCV
0204305E PRNG call for first set of Wondercard pokemon IVs tsanth
0204309C PRNG call for second set of Wondercard pokemon IVs tsanth
205DED4 Create chain set (not sure about address in tsanth's thread it said 205DED

tsanth, loadingNOW

0205DF42 End of Create chain set routine tsanth, loadingNOW
0205E40C Pokeradar Routine loadingNOW, tsanth
2068AAC Shiny Check, used to decide what sprite to show for a pokemon and to make sure dynamic PID mystery gift pokemon are not shiny as well as preventing manaphy from hatching shiny in some cases. SCV
020EBC80 Division routine; R0= R0 / R1, R1=R0%R1 tsanth, SCV
021F4DA8 Beginning of Honey Tree Routine SCV
021F4EE4 Determines a value from 0-3 to use to determine which list will be used and how the shake value is calculated. If 0, slathering fails and not pokemon will show up. SCV
021F4F44 Determines a number from 0-5 that represents which pokemon will be encountered in a honey tree. SCV
021F4F98 Determines which list will be used by (value determined by 021F4EE4) - 1 (its not done this way, but is equivalent) SCV
021F4FAC Determines a number from 0-3 that represents how much a honey tree will shake SCV
021F5138 Still being researched, whether munchlax can be encountered or not, r0=0 after this routine, chance for munchlax is 0, otherwise chance = .2%, called from 021F4E06 SCV
0223C1EE Pokeball catching routine tsanth
0223BAD4 Wild Encounter Check tsanth