mirror of
https://github.com/thornAvery/jep-hack.git
synced 2026-02-07 00:25:24 +13:00
First Commit
Upload literally everything from the pokecrystal16 expand-move-ID branch
This commit is contained in:
commit
2f8a41f833
4618 changed files with 480386 additions and 0 deletions
56
maps/TinTowerRoof.asm
Normal file
56
maps/TinTowerRoof.asm
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
object_const_def
|
||||
const TINTOWERROOF_HO_OH
|
||||
|
||||
TinTowerRoof_MapScripts:
|
||||
def_scene_scripts
|
||||
|
||||
def_callbacks
|
||||
callback MAPCALLBACK_OBJECTS, TinTowerRoofHoOhCallback
|
||||
|
||||
TinTowerRoofHoOhCallback:
|
||||
checkevent EVENT_FOUGHT_HO_OH
|
||||
iftrue .NoAppear
|
||||
checkitem RAINBOW_WING
|
||||
iftrue .Appear
|
||||
sjump .NoAppear
|
||||
|
||||
.Appear:
|
||||
appear TINTOWERROOF_HO_OH
|
||||
endcallback
|
||||
|
||||
.NoAppear:
|
||||
disappear TINTOWERROOF_HO_OH
|
||||
endcallback
|
||||
|
||||
TinTowerHoOh:
|
||||
faceplayer
|
||||
opentext
|
||||
writetext HoOhText
|
||||
cry HO_OH
|
||||
pause 15
|
||||
closetext
|
||||
setevent EVENT_FOUGHT_HO_OH
|
||||
loadvar VAR_BATTLETYPE, BATTLETYPE_FORCEITEM
|
||||
loadwildmon HO_OH, 60
|
||||
startbattle
|
||||
disappear TINTOWERROOF_HO_OH
|
||||
reloadmapafterbattle
|
||||
setevent EVENT_SET_WHEN_FOUGHT_HO_OH
|
||||
end
|
||||
|
||||
HoOhText:
|
||||
text "Shaoooh!"
|
||||
done
|
||||
|
||||
TinTowerRoof_MapEvents:
|
||||
db 0, 0 ; filler
|
||||
|
||||
def_warp_events
|
||||
warp_event 9, 13, TIN_TOWER_9F, 4
|
||||
|
||||
def_coord_events
|
||||
|
||||
def_bg_events
|
||||
|
||||
def_object_events
|
||||
object_event 9, 5, SPRITE_HO_OH, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, TinTowerHoOh, EVENT_TIN_TOWER_ROOF_HO_OH
|
||||
Loading…
Add table
Add a link
Reference in a new issue