mirror of
https://github.com/thornAvery/jep-hack.git
synced 2026-02-08 00:55:28 +13:00
Breakable rocks now have items, add Club Fossil
This commit is contained in:
parent
275d86288c
commit
91e1763395
9 changed files with 76 additions and 14 deletions
|
|
@ -1374,11 +1374,19 @@ RockSmashScript:
|
|||
|
||||
callasm RockMonEncounter
|
||||
readmem wTempWildMonSpecies
|
||||
iffalse .done
|
||||
iffalse .no_battle
|
||||
randomwildmon
|
||||
startbattle
|
||||
reloadmapafterbattle
|
||||
.done
|
||||
end
|
||||
; from https://github.com/pret/pokecrystal/wiki/Smashing-rocks-has-a-chance-to-contain-items
|
||||
.no_battle
|
||||
callasm RockItemEncounter
|
||||
iffalse .no_item
|
||||
opentext
|
||||
verbosegiveitem ITEM_FROM_MEM
|
||||
closetext
|
||||
.no_item
|
||||
end
|
||||
|
||||
MovementData_RockSmash:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue