Guest User

Untitled

a guest
Feb 10th, 2016
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const_value set 2
  2.     const VIRIDIANCITY_GRAMPS1
  3.     const VIRIDIANCITY_FISHER
  4.     const VIRIDIANCITY_YOUNGSTER
  5.     const VIRIDIANCITY_TEACHER
  6.     const VIRIDIANCITY_COOLTRAINER_F
  7.  
  8. ViridianCity_MapScriptHeader:
  9. .MapTriggers:
  10.     db 1
  11.  
  12.     ; triggers
  13.  
  14.     maptrigger .Trigger0
  15.  
  16. .MapCallbacks:
  17.     db 1
  18.  
  19.     ; callbacks
  20.     dbw MAPCALLBACK_NEWMAP, .FlyPoint
  21.  
  22. .Trigger0
  23.     end
  24.  
  25. .FlyPoint
  26.     setflag ENGINE_FLYPOINT_VIRIDIAN
  27.     return
  28.  
  29. CoffeeTrigger:
  30.     faceplayer
  31.     spriteface PLAYER, LEFT
  32.     opentext
  33.     writetext ForbidYouText
  34.     waitbutton
  35.     closetext
  36.     spriteface VIRIDIANCITY_GRAMPS1, DOWN
  37.     applymovement PLAYER, MoveBackToViridian
  38.     end
  39.  
  40. GrampsGirlScript:
  41.     opentext
  42.     writetext DontBeSoMeanText
  43.     buttonsound
  44.     faceplayer
  45.     writetext HasntHadCoffeeText
  46.     waitbutton
  47.     closetext
  48.     spriteface VIRIDIANCITY_COOLTRAINER_F, UP
  49.     end
  50.  
  51. TeacherScript:
  52.     jumptextfaceplayer YouHaveMonText
  53.     end
  54.  
  55. FisherScript_0x1a9a75:
  56.     faceplayer
  57.     opentext
  58.     checkevent EVENT_GOT_TM42_DREAM_EATER
  59.     iftrue UnknownScript_0x1a9a8a
  60.     writetext UnknownText_0x1a9cc4
  61.     buttonsound
  62.     verbosegiveitem TM_DREAM_EATER
  63.     iffalse UnknownScript_0x1a9a8e
  64.     setevent EVENT_GOT_TM42_DREAM_EATER
  65. UnknownScript_0x1a9a8a:
  66.     writetext UnknownText_0x1a9d86
  67.     waitbutton
  68. UnknownScript_0x1a9a8e:
  69.     closetext
  70.     end
  71.  
  72. CaterpillarScript:
  73.     faceplayer
  74.     opentext
  75.     writetext WannaKnowText
  76.     yesorno
  77.     iffalse OhOkayScript
  78.     writetext CaterpillarDifferencesText
  79.     waitbutton
  80.     closetext
  81.     end
  82.  
  83. OhOkayScript:
  84.     writetext OhOkayThenText
  85.     waitbutton
  86.     closetext
  87.     end
  88.  
  89. MoveBackToViridian:
  90.     step_down
  91.     step_end
  92.  
  93. ViridianCitySign:
  94.     jumptext ViridianCitySignText
  95.  
  96. ViridianGymSign:
  97.     jumptext ViridianGymSignText
  98.  
  99. ViridianCityWelcomeSign:
  100.     jumptext ViridianCityWelcomeSignText
  101.  
  102. TrainerHouseSign:
  103.     jumptext TrainerHouseSignText
  104.  
  105. ViridianCityPokeCenterSign:
  106.     jumpstd pokecentersign
  107.  
  108. ViridianCityMartSign:
  109.     jumpstd martsign
  110.  
  111. DontBeSoMeanText:
  112.     text "Oh, Grandpa! Don't"
  113.     line "be so mean!"
  114.     done
  115.  
  116. HasntHadCoffeeText:
  117.     text "I'm so sorry. He"
  118.     line "hasn't had his"
  119.     cont "coffee yet."
  120.     done
  121.  
  122. ForbidYouText:
  123.     text "I absolutely"
  124.     line "forbid you from"
  125.     cont "going through"
  126.     cont "here!"
  127.  
  128.     para "This is private"
  129.     line "property!"
  130.     done
  131.  
  132. WannaKnowText:
  133.     text "You want to know"
  134.     line "about the 2 kinds"
  135.     cont "of caterpillar"
  136.     cont "#MON?"
  137.     done
  138.  
  139. OhOkayThenText:
  140.     text "Oh, okay then!"
  141.     done
  142.  
  143. CaterpillarDifferencesText:
  144.     text "CATERPIE has no"
  145.     line "poison, but"
  146.     cont "WEEDLE does."
  147.  
  148.     para "Watch that your"
  149.     line "#MON aren't"
  150.     cont "stabbed by WEEDLE's"
  151.     cont "POISON STING."
  152.     done
  153.  
  154. YouHaveMonText:
  155.     text "Those # BALLS"
  156.     line "at your waist!"
  157.     cont "You have #MON,"
  158.     cont "don't you?"
  159.  
  160.     para "It's great that"
  161.     line "you can carry and"
  162.     cont "use #MON any"
  163.     cont "time, anywhere."
  164.     done
  165.  
  166. UnknownText_0x1a9cc4:
  167.     text "Yawn!"
  168.  
  169.     para "I must have dozed"
  170.     line "off in the sun."
  171.  
  172.     para "…I had this dream"
  173.     line "about a DROWZEE"
  174.  
  175.     para "eating my dream."
  176.     line "Weird, huh?"
  177.  
  178.     para "Huh?"
  179.     line "What's this?"
  180.  
  181.     para "Where did this TM"
  182.     line "come from?"
  183.  
  184.     para "This is spooky!"
  185.     line "Here, you can have"
  186.     cont "this TM."
  187.     done
  188.  
  189. UnknownText_0x1a9d86:
  190.     text "TM42 contains"
  191.     line "DREAM EATER…"
  192.  
  193.     para "…Zzzzz…"
  194.     done
  195.  
  196. ViridianCitySignText:
  197.     text "VIRIDIAN CITY"
  198.  
  199.     para "The City of"
  200.     line "Evergreen"
  201.     done
  202.  
  203. ViridianGymSignText:
  204.     text "VIRIDIAN CITY"
  205.     line "#MON GYM"
  206.     cont "LEADER: …"
  207.  
  208.     para "The rest of the"
  209.     line "text is illegible…"
  210.     done
  211.  
  212. ViridianCityWelcomeSignText:
  213.     text "WELCOME TO"
  214.     line "VIRIDIAN CITY,"
  215.  
  216.     para "THE GATEWAY TO"
  217.     line "INDIGO PLATEAU"
  218.     done
  219.  
  220. TrainerHouseSignText:
  221.     text "TRAINER HOUSE"
  222.  
  223.     para "The Club for Top"
  224.     line "Trainer Battles"
  225.     done
  226.  
  227. ViridianCity_MapEventHeader:
  228.     ; filler
  229.     db 0, 0
  230.  
  231. .Warps:
  232.     db 5
  233.     warp_def $7, $20, 1, VIRIDIAN_GYM
  234.     warp_def $9, $15, 1, VIRIDIAN_NICKNAME_SPEECH_HOUSE
  235.     warp_def $f, $17, 1, TRAINER_HOUSE_1F
  236.     warp_def $13, $1d, 2, VIRIDIAN_MART
  237.     warp_def $19, $17, 1, VIRIDIAN_POKECENTER_1F
  238.  
  239. .XYTriggers:
  240.     db 1
  241.     xy_trigger 0, $9, $19, $0, CoffeeTrigger, $0, $0
  242.  
  243. .Signposts:
  244.     db 6
  245.     signpost 17, 17, SIGNPOST_READ, ViridianCitySign
  246.     signpost 7, 27, SIGNPOST_READ, ViridianGymSign
  247.     signpost 1, 19, SIGNPOST_READ, ViridianCityWelcomeSign
  248.     signpost 15, 21, SIGNPOST_READ, TrainerHouseSign
  249.     signpost 25, 24, SIGNPOST_READ, ViridianCityPokeCenterSign
  250.     signpost 19, 30, SIGNPOST_READ, ViridianCityMartSign
  251.  
  252. .PersonEvents:
  253.     db 5
  254.     person_event SPRITE_GRAMPS, 9, 18, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, CoffeeTrigger, EVENT_GOT_DEX_FROM_OAK
  255.     person_event SPRITE_FISHER, 23, 6, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_SCRIPT, 0, FisherScript_0x1a9a75, -1
  256.     person_event SPRITE_YOUNGSTER, 23, 31, SPRITEMOVEDATA_WANDER, 2, 2, -1, -1, (1 << 3) | PAL_OW_GREEN, PERSONTYPE_SCRIPT, 0, CaterpillarScript, -1
  257.     person_event SPRITE_TEACHER, 20, 11, SPRITEMOVEDATA_WANDER, 2, 2, -1, -1, (1 << 3) | PAL_OW_GREEN, PERSONTYPE_SCRIPT, 0, TeacherScript, -1
  258.     person_event SPRITE_COOLTRAINER_F, 10, 17, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, GrampsGirlScript, -1
Add Comment
Please, Sign In to add comment