Advertisement
Dekita

Untitled

Apr 19th, 2014
373
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.51 KB | None | 0 0
  1. if true # << Make true to use this script, false to disable.
  2. #===============================================================================
  3. #
  4. # ☆ $D13x - Epic Data Popups
  5. # -- Author : Dekita
  6. # -- Version : 1.0
  7. # -- Level : Easy / Normal
  8. # -- Requires : N/A
  9. # -- Engine : RPG Maker VX Ace.
  10. #
  11. #===============================================================================
  12. # ☆ Import
  13. #-------------------------------------------------------------------------------
  14. $D13x={}if$D13x==nil
  15. $D13x[:Epic_Popups]=true
  16. #===============================================================================
  17. # ☆ Updates
  18. #-------------------------------------------------------------------------------
  19. # D /M /Y
  20. # ??/??/2o13 - Started, Finished,
  21. #
  22. #===============================================================================
  23. # ☆ Introduction
  24. #-------------------------------------------------------------------------------
  25. # This script creates some cool popups for the main party leader.
  26. #
  27. # Pops shows are things like; exp gained, level up, SP pts gained, DP pts gained,
  28. # mhp, mmp and params.
  29. #
  30. # VERY helpful for any ABS.
  31. #
  32. #===============================================================================
  33. # ★☆★☆★☆★☆★☆★☆★☆★ TERMS AND CONDITIONS: ☆★☆★☆★☆★☆★☆★☆★☆★☆
  34. #===============================================================================
  35. # 1. You MUST give credit to "Dekita" !!
  36. # 2. You are NOT allowed to repost this script.(or modified versions)
  37. # 3. You are NOT allowed to convert this script.
  38. # 4. You are NOT allowed to use this script for Commercial games.
  39. # 5. ENJOY!
  40. #
  41. # "FINE PRINT"
  42. # By using this script you hereby agree to the above terms and conditions,
  43. # if any violation of the above terms occurs "legal action" may be taken.
  44. # Not understanding the above terms and conditions does NOT mean that
  45. # they do not apply to you.
  46. # If you wish to discuss the terms and conditions in further detail you can
  47. # contact me at http://dekitarpg.wordpress.com/
  48. #
  49. #===============================================================================
  50. # ☆ Instructions
  51. #-------------------------------------------------------------------------------
  52. # Place Below " ▼ Materials " and Above " ▼ Main " in your script editor.
  53. #
  54. #===============================================================================
  55. # ☆ Script Calls
  56. #-------------------------------------------------------------------------------
  57. # $game_temp.show_data_pops
  58. # ^- Ensures data popups are shown.
  59. #
  60. # $game_temp.hide_data_pops
  61. # ^- Ensures data popups are now shown.
  62. #
  63. # $game_temp.alt_data_pops
  64. # ^- alternates hide / show data pops
  65. #
  66. # $game_temp.data_pops_on?
  67. # ^- Returns true / false depending on whether data pops are being shown.
  68. #
  69. #===============================================================================
  70. # ☆ Notetags ( default )
  71. #-------------------------------------------------------------------------------
  72. # N/A
  73. #
  74. #===============================================================================
  75. # ☆ HELP
  76. #-------------------------------------------------------------------------------
  77. # N/A
  78. #
  79. #===============================================================================
  80. module Data_Popups
  81. #===============================================================================
  82. #-----------------------------------------------------------------------------
  83. #
  84. #-----------------------------------------------------------------------------
  85. Show_on_Map = true
  86. Show_in_Battle = true
  87. #-----------------------------------------------------------------------------
  88. # Position after offset slide.
  89. #-----------------------------------------------------------------------------
  90. X_Pos = 542 # X Position
  91. Y_Pos = 360 # Y Position
  92. #-----------------------------------------------------------------------------
  93. # Offset Slide happens before the item fadeout
  94. #-----------------------------------------------------------------------------
  95. X_Offset = -60 # X Slide
  96. Y_Offset = -40 # Y Slide
  97. #-----------------------------------------------------------------------------
  98. # Move happens during the item fadeout
  99. #-----------------------------------------------------------------------------
  100. X_Move = 0 # X Move Speed
  101. Y_Move = -1 # Y Move Speed
  102. #-----------------------------------------------------------------------------
  103. #
  104. #-----------------------------------------------------------------------------
  105. Init_Opacity = 0
  106. Fade_Speed = 2.5
  107. #-----------------------------------------------------------------------------
  108. # Z Value
  109. #-----------------------------------------------------------------------------
  110. Authority = 100
  111. #-----------------------------------------------------------------------------
  112. #
  113. #-----------------------------------------------------------------------------
  114. Font = ["Gabrielle", "VL Gothic", "Arial"]
  115. Font_Size = 16
  116. Font_Bold = true
  117. Font_Italic = false
  118. Value_Size = 12
  119. #-----------------------------------------------------------------------------
  120. #
  121. #-----------------------------------------------------------------------------
  122. Gold_Icon = [361,0] # [icon index, hue]
  123. Gold_Color = Text_Color::Gold
  124. #-----------------------------------------------------------------------------
  125. # :data => [show]
  126. #-----------------------------------------------------------------------------
  127. Settings ={
  128. :exp => [true],
  129. :level => [true],
  130. :dp => [true],
  131. :sp => [true],
  132. :mhp => [true],
  133. :mmp => [true],
  134. :mtp => [true],
  135. :params => [true],
  136. }
  137. #-----------------------------------------------------------------------------
  138. # = ['Name' , icon, hue, Text Color::Color , show_gain]
  139. #-----------------------------------------------------------------------------
  140. Level = ['Level', 97, 0, Text_Color::Green , true]
  141. DP = ['DP' , 97, 0, Text_Color::Gold , true]
  142. SP = ['SP' , 97, 0, Text_Color::Turquoise , true]
  143. #####################
  144. # CUSTOMISATION END #
  145. end #####################
  146. #☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★#
  147. # #
  148. # http://dekitarpg.wordpress.com/ #
  149. # #
  150. #★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆#
  151. #===============================================================================#
  152. # ARE YOU MODIFYING BEYOND THIS POINT? \.\. #
  153. # YES?\.\. #
  154. # OMG, REALLY? \| #
  155. # WELL SLAP MY FACE AND CALL ME A DRAGONITE.\..\.. #
  156. # I REALLY DIDN'T THINK YOU HAD IT IN YOU.\..\.. #
  157. #===============================================================================#
  158. class Game_Temp
  159. #===============================================================================
  160. #-----------------------------------------------------------------------------
  161. #
  162. #-----------------------------------------------------------------------------
  163. alias :init_datapops :initialize
  164. #-----------------------------------------------------------------------------
  165. #
  166. #-----------------------------------------------------------------------------
  167. def initialize
  168. @can_data_pop = true
  169. init_datapops
  170. end
  171. #-----------------------------------------------------------------------------
  172. #
  173. #-----------------------------------------------------------------------------
  174. def data_pops_on?
  175. @can_data_pop
  176. end
  177. #-----------------------------------------------------------------------------
  178. #
  179. #-----------------------------------------------------------------------------
  180. def show_data_pops
  181. @can_data_pop = true
  182. end
  183. #-----------------------------------------------------------------------------
  184. #
  185. #-----------------------------------------------------------------------------
  186. def hide_data_pops
  187. @can_data_pop = false
  188. end
  189. #-----------------------------------------------------------------------------
  190. #
  191. #-----------------------------------------------------------------------------
  192. def alt_data_pops
  193. @can_data_pop = !@can_data_pop
  194. end
  195. end
  196. #===============================================================================
  197. class All_De_Pops
  198. #===============================================================================
  199. #-----------------------------------------------------------------------------
  200. #
  201. #-----------------------------------------------------------------------------
  202. attr_reader :name
  203. attr_reader :icon_hue
  204. attr_reader :icon_index
  205. attr_reader :item_disp_color
  206. end
  207. #===============================================================================
  208. class Popup_Level < All_De_Pops
  209. #===============================================================================
  210. #-----------------------------------------------------------------------------
  211. #
  212. #-----------------------------------------------------------------------------
  213. def initialize
  214. @name = Data_Popups::Level[0]
  215. @icon_hue = Data_Popups::Level[2]
  216. @icon_index = Data_Popups::Level[1]
  217. @item_disp_color = Data_Popups::Level[3]
  218. end
  219. end
  220. #===============================================================================
  221. class Popup_DP < All_De_Pops
  222. #===============================================================================
  223. #-----------------------------------------------------------------------------
  224. #
  225. #-----------------------------------------------------------------------------
  226. def initialize
  227. @name = Data_Popups::DP[0]
  228. @icon_hue = Data_Popups::DP[2]
  229. @icon_index = Data_Popups::DP[1]
  230. @item_disp_color = Data_Popups::DP[3]
  231. end
  232. end
  233. #===============================================================================
  234. class Popup_SP < All_De_Pops
  235. #===============================================================================
  236. #-----------------------------------------------------------------------------
  237. #
  238. #-----------------------------------------------------------------------------
  239. def initialize
  240. @name = Data_Popups::SP[0]
  241. @icon_hue = Data_Popups::SP[2]
  242. @icon_index = Data_Popups::SP[1]
  243. @item_disp_color = Data_Popups::SP[3]
  244. end
  245. end
  246. #===============================================================================
  247. class Popup_Statistic < All_De_Pops
  248. #===============================================================================
  249. #-----------------------------------------------------------------------------
  250. #
  251. #-----------------------------------------------------------------------------
  252. def initialize(type,id)
  253. case type
  254. when :params then stat = Vocanicon.param(id)
  255. when :xparams then stat = Vocanicon.xparam(id)
  256. when :sparams then stat = Vocanicon.sparam(id)
  257. when :max_tp then stat = Vocanicon::TP
  258. when :exp then stat = Vocanicon::Exp
  259. end
  260. @name = stat[0]
  261. if (type == :params) && (id == 0 || 1 || 2 ) || (type == :max_tp)
  262. @name = "Max " + stat[0]
  263. end
  264. @icon_hue = stat[3]
  265. @icon_index = stat[2]
  266. @item_disp_color = stat[1]
  267. end
  268. end
  269. #===============================================================================
  270. class Epic_Pop_Data
  271. #===============================================================================
  272. #-----------------------------------------------------------------------------
  273. #
  274. #-----------------------------------------------------------------------------
  275. def initialize
  276. @timer_d = 24
  277. @timer = 0
  278. @actor = $game_party.leader
  279. @exp = @actor.exp
  280. @level = @actor.level
  281. @points = @actor.points
  282. @sklpts = @actor.skill_points
  283. @mhp = @actor.mhp
  284. @mmp = @actor.mmp
  285. @mtp = @actor.maximum_tp
  286. @params = []
  287. 6.times do |i|
  288. @params[i] = @actor.param(i+2)
  289. end
  290. end
  291. #-----------------------------------------------------------------------------
  292. #
  293. #-----------------------------------------------------------------------------
  294. def update
  295. @timer -= 1
  296. return if @timer > 0
  297. @timer = @timer_d
  298. if Data_Popups::Settings[:exp][0]
  299. return if update_exp
  300. end
  301. if Data_Popups::Settings[:level][0]
  302. return if update_level
  303. end
  304. if Data_Popups::Settings[:dp][0]
  305. return if update_points
  306. end
  307. if Data_Popups::Settings[:sp][0]
  308. return if update_sklpts
  309. end
  310. if Data_Popups::Settings[:mhp][0]
  311. return if update_mhp
  312. end
  313. if Data_Popups::Settings[:mmp][0]
  314. return if update_mmp
  315. end
  316. if Data_Popups::Settings[:mtp][0]
  317. return if update_mtp
  318. end
  319. if Data_Popups::Settings[:params][0]
  320. return if update_params
  321. end
  322. end
  323. #-----------------------------------------------------------------------------
  324. #
  325. #-----------------------------------------------------------------------------
  326. def update_exp
  327. return false unless @exp != @actor.exp
  328. gain = @actor.exp-@exp
  329. # gain = nil unless Data_Popups::Level[4]
  330. make_popup(:exp,nil,gain.to_i)
  331. @exp = @actor.exp
  332. return true
  333. end
  334. #-----------------------------------------------------------------------------
  335. #
  336. #-----------------------------------------------------------------------------
  337. def update_level
  338. return false unless @level != @actor.level
  339. gain = @actor.level-@level
  340. gain = nil unless Data_Popups::Level[4]
  341. make_popup(:level,nil,gain.to_i)
  342. @level = @actor.level
  343. @exp = @actor.exp
  344. return true
  345. end
  346. #-----------------------------------------------------------------------------
  347. #
  348. #-----------------------------------------------------------------------------
  349. def update_points
  350. return false unless @points != @actor.points
  351. gain = @actor.points-@points
  352. gain = nil unless Data_Popups::DP[4]
  353. make_popup(:points,nil,gain.to_i)
  354. @points = @actor.points
  355. return true
  356. end
  357. #-----------------------------------------------------------------------------
  358. #
  359. #-----------------------------------------------------------------------------
  360. def update_sklpts
  361. return false unless @sklpts != @actor.skill_points
  362. gain = @actor.skill_points-@sklpts
  363. make_popup(:sklpts,nil,gain.to_i)
  364. @sklpts = @actor.skill_points
  365. return true
  366. end
  367. #-----------------------------------------------------------------------------
  368. #
  369. #-----------------------------------------------------------------------------
  370. def update_mhp
  371. return false unless @mhp != @actor.mhp
  372. gain = @actor.mhp-@mhp
  373. make_popup(:params,0,gain.to_i)
  374. @mhp = @actor.mhp
  375. return true
  376. end
  377. #-----------------------------------------------------------------------------
  378. #
  379. #-----------------------------------------------------------------------------
  380. def update_mmp
  381. return false unless @mmp != @actor.mmp
  382. gain = @actor.mmp-@mmp
  383. make_popup(:params,1,gain.to_i)
  384. @mmp = @actor.mmp
  385. return true
  386. end
  387. #-----------------------------------------------------------------------------
  388. #
  389. #-----------------------------------------------------------------------------
  390. def update_mtp
  391. return false unless @mtp != @actor.maximum_tp
  392. gain = @actor.maximum_tp-@mtp
  393. make_popup(:max_tp,0,gain.to_i)
  394. @mtp = @actor.maximum_tp
  395. return true
  396. end
  397. #-----------------------------------------------------------------------------
  398. #
  399. #-----------------------------------------------------------------------------
  400. def update_params
  401. return_val = true
  402. 6.times do |i|
  403. next unless return_val
  404. next unless @params[i] != @actor.param(i+2)
  405. gain = @actor.param(i+2)-@params[i]
  406. make_popup(:params,i+2,gain.to_i)
  407. @params[i] = @actor.param(i+2)
  408. return_val = false
  409. end
  410. return return_val
  411. end
  412. #-----------------------------------------------------------------------------
  413. #
  414. #-----------------------------------------------------------------------------
  415. def make_popup(type,id,value)
  416. return unless $game_temp.item_pops_on?
  417. case type
  418. when :level then item = Popup_Level.new
  419. when :points then item = Popup_DP.new
  420. when :sklpts then item = Popup_SP.new
  421. when :params, :max_tp, :exp
  422. item = Popup_Statistic.new(type,id)
  423. end
  424. return unless item
  425. # play_pop_noise(type)
  426. display_popup(item,value)
  427. end
  428. #-----------------------------------------------------------------------------
  429. #
  430. #-----------------------------------------------------------------------------
  431. def play_pop_noise(type)
  432. v = Item_Popping::Sound_Fx[type]
  433. Audio.se_play("Audio\\SE\\#{v[0]}",v[1],v[2])
  434. end
  435. #-----------------------------------------------------------------------------
  436. #
  437. #-----------------------------------------------------------------------------
  438. def display_popup(item,value)
  439. SceneManager.scene.spriteset.init_data_popups(item,value)
  440. end
  441. end
  442. #===============================================================================
  443. class Sprite_PopData < Sprite
  444. #===============================================================================
  445. #-----------------------------------------------------------------------------
  446. #
  447. #-----------------------------------------------------------------------------
  448. attr_reader :finished
  449. #-----------------------------------------------------------------------------
  450. # Initialize
  451. #-----------------------------------------------------------------------------
  452. def initialize(vp=nil,item=nil,amo=0)
  453. super(vp)
  454. self.x = Data_Popups::X_Pos - Data_Popups::X_Offset
  455. self.y = Data_Popups::Y_Pos - Data_Popups::Y_Offset
  456. self.opacity = Data_Popups::Init_Opacity
  457. self.bitmap = Bitmap.new(152,24)
  458. self.z = 300
  459. init_icon(item.icon_index,item.icon_hue)
  460. init_text(item)
  461. init_amount(item,amo)
  462. @starting = true
  463. @finished = false
  464. end
  465. #-----------------------------------------------------------------------------
  466. #
  467. #-----------------------------------------------------------------------------
  468. def init_icon(icon=0,hue=0)
  469. @icon = Cache.icon(IconEvents::Set,hue)
  470. rect = Rect.new(icon % 16 * 24, icon / 16 * 24, 24, 24)
  471. self.bitmap.blt(0, 0, @icon, rect)
  472. @icon.dispose
  473. @icon = nil
  474. end
  475. #-----------------------------------------------------------------------------
  476. #
  477. #-----------------------------------------------------------------------------
  478. def init_text(item)
  479. x = item.icon_index != 0 ? 24 : 0
  480. self.bitmap.font.name = Data_Popups::Font
  481. self.bitmap.font.size = Data_Popups::Font_Size
  482. self.bitmap.font.bold = Data_Popups::Font_Bold
  483. self.bitmap.font.italic = Data_Popups::Font_Italic
  484. self.bitmap.font.color = item.item_disp_color
  485. self.bitmap.draw_text(x,-2,128,24, item.name)
  486. end
  487. #-----------------------------------------------------------------------------
  488. #
  489. #-----------------------------------------------------------------------------
  490. def init_amount(item,amount)
  491. x = item.icon_index != 0 ? 20 : 0
  492. return unless amount
  493. self.bitmap.font.name = Data_Popups::Font
  494. self.bitmap.font.size = Data_Popups::Value_Size
  495. self.bitmap.font.bold = Data_Popups::Font_Bold
  496. self.bitmap.font.italic = Data_Popups::Font_Italic
  497. self.bitmap.font.color = item.item_disp_color
  498. amount > 0 ? amount = "+#{amount}" : "-#{amount}"
  499. self.bitmap.draw_text(x,8,128,24,amount)
  500. end
  501. #-----------------------------------------------------------------------------
  502. # Dispose
  503. #-----------------------------------------------------------------------------
  504. def dispose
  505. super
  506. if self.bitmap != nil
  507. self.bitmap.dispose
  508. end
  509. end
  510. #-----------------------------------------------------------------------------
  511. # Update
  512. #-----------------------------------------------------------------------------
  513. def update
  514. super
  515. if @starting
  516. self.x += 1 if self.x < Data_Popups::X_Pos
  517. self.y += 1 if self.y < Data_Popups::Y_Pos
  518. self.x -= 1 if self.x > Data_Popups::X_Pos
  519. self.y -= 1 if self.y > Data_Popups::Y_Pos
  520. else
  521. self.x += Data_Popups::X_Move
  522. self.y += Data_Popups::Y_Move
  523. end
  524. if @starting
  525. self.opacity += (Data_Popups::Fade_Speed*2)
  526. @starting = false if self.opacity >= 255
  527. else
  528. self.opacity -= Data_Popups::Fade_Speed
  529. if self.opacity <= 0
  530. @finished = true
  531. end
  532. end
  533. end
  534. end
  535. #===============================================================================
  536. module Spriteset_DataPopup
  537. #===============================================================================
  538. #-----------------------------------------------------------------------------
  539. #
  540. #-----------------------------------------------------------------------------
  541. def load_datapop_data
  542. disp_data_popups
  543. @data_pops = []
  544. @datapopup_vp = Viewport.new(0,0,152, Graphics.height)
  545. @datapopup_vp.z = Data_Popups::Authority
  546. end
  547. #-----------------------------------------------------------------------------
  548. #
  549. #-----------------------------------------------------------------------------
  550. def init_data_popups(item,amo=0)
  551. return unless amo != 0
  552. @data_pops << Sprite_PopData.new(@datapopup_vp,item,amo)
  553. end
  554. #-----------------------------------------------------------------------------
  555. #
  556. #-----------------------------------------------------------------------------
  557. def disp_data_popups
  558. return unless @data_pops
  559. @data_pops.each do |i|
  560. next unless i.disposed?
  561. i.dispose
  562. @data_pops.delete(i)
  563. end
  564. @datapopup_vp.dispose
  565. end
  566. #-----------------------------------------------------------------------------
  567. #
  568. #-----------------------------------------------------------------------------
  569. def updt_data_popups
  570. return load_datapop_data unless @data_pops
  571. @data_pops.each do |i|
  572. next if i.disposed?
  573. i.update
  574. i.dispose if i.finished
  575. end
  576. end
  577. end
  578. #===============================================================================
  579. module Spriteset_DataPopup
  580. #===============================================================================
  581. def load_datapop_data
  582. disp_data_popups
  583. @data_pops = []
  584. # @datapopup_vp = Viewport.new(0,0,152, Graphics.height)
  585. # @datapopup_vp.z = Data_Popups::Authority
  586. end
  587. #-----------------------------------------------------------------------------
  588. #
  589. #-----------------------------------------------------------------------------
  590. def init_data_popups(item,amo=0)
  591. return unless amo != 0
  592. @data_pops << Sprite_PopData.new(@deki_vp,item,amo)
  593. end
  594. #-----------------------------------------------------------------------------
  595. #
  596. #-----------------------------------------------------------------------------
  597. def disp_data_popups
  598. return unless @data_pops
  599. @data_pops.each do |i|
  600. next unless i.disposed?
  601. i.dispose
  602. @data_pops.delete(i)
  603. end
  604. # @datapopup_vp.dispose
  605. end
  606. #-----------------------------------------------------------------------------
  607. #
  608. #-----------------------------------------------------------------------------
  609. def updt_data_popups
  610. return load_datapop_data unless @data_pops
  611. @data_pops.each do |i|
  612. next if i.disposed?
  613. i.update
  614. i.dispose if i.finished
  615. end
  616. end
  617. end
  618. #===============================================================================
  619. module Spriteset_DataPop
  620. #===============================================================================
  621. #-----------------------------------------------------------------------------
  622. #
  623. #-----------------------------------------------------------------------------
  624. include Spriteset_DataPopup
  625. #-----------------------------------------------------------------------------
  626. # Initialize
  627. #-----------------------------------------------------------------------------
  628. def init_datapop
  629. @data_pop = Epic_Pop_Data.new
  630. load_datapop_data
  631. end
  632. #-----------------------------------------------------------------------------
  633. # Dispose
  634. #-----------------------------------------------------------------------------
  635. def disp_datapop
  636. disp_data_popups
  637. end
  638. #-----------------------------------------------------------------------------
  639. # Update
  640. #-----------------------------------------------------------------------------
  641. def updt_datapop
  642. updt_data_popups
  643. @data_pop.update
  644. end
  645. end
  646. #===============================================================================
  647. class Spriteset_Map
  648. #===============================================================================
  649. #-----------------------------------------------------------------------------
  650. # Included Modules
  651. #-----------------------------------------------------------------------------
  652. include Spriteset_DataPop
  653. #-----------------------------------------------------------------------------
  654. # Alias List
  655. #-----------------------------------------------------------------------------
  656. alias :init_otherpop :initialize
  657. alias :disp_otherpop :dispose
  658. alias :updt_otherpop :update
  659. #-----------------------------------------------------------------------------
  660. # Initialize
  661. #-----------------------------------------------------------------------------
  662. def initialize
  663. init_datapop if Data_Popups::Show_on_Map
  664. init_otherpop
  665. end
  666. #-----------------------------------------------------------------------------
  667. # Dispose
  668. #-----------------------------------------------------------------------------
  669. def dispose
  670. disp_datapop if Data_Popups::Show_on_Map
  671. disp_otherpop
  672. end
  673. #-----------------------------------------------------------------------------
  674. # Update
  675. #-----------------------------------------------------------------------------
  676. def update
  677. updt_datapop if Data_Popups::Show_on_Map
  678. updt_otherpop
  679. end
  680. end
  681. #===============================================================================
  682. class Spriteset_Battle
  683. #===============================================================================
  684. #-----------------------------------------------------------------------------
  685. # Included Modules
  686. #-----------------------------------------------------------------------------
  687. include Spriteset_DataPop
  688. #-----------------------------------------------------------------------------
  689. # Alias List
  690. #-----------------------------------------------------------------------------
  691. alias :init_otherpop :initialize
  692. alias :disp_otherpop :dispose
  693. alias :updt_otherpop :update
  694. #-----------------------------------------------------------------------------
  695. # Initialize
  696. #-----------------------------------------------------------------------------
  697. def initialize
  698. init_datapop if Data_Popups::Show_in_Battle
  699. init_otherpop
  700. end
  701. #-----------------------------------------------------------------------------
  702. # Dispose
  703. #-----------------------------------------------------------------------------
  704. def dispose
  705. disp_datapop if Data_Popups::Show_in_Battle
  706. disp_otherpop
  707. end
  708. #-----------------------------------------------------------------------------
  709. # Update
  710. #-----------------------------------------------------------------------------
  711. def update
  712. updt_datapop if Data_Popups::Show_in_Battle
  713. updt_otherpop
  714. end
  715. end
  716. #==============================================================================#
  717. # http://dekitarpg.wordpress.com/ #
  718. #==============================================================================#
  719. end # if true # << Make true to use this script, false to disable.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement