赞 | 88 |
VIP | 350 |
好人卡 | 311 |
积分 | 100 |
经验 | 150139 |
最后登录 | 2024-6-24 |
在线时间 | 5019 小时 |
Lv4.逐梦者 (版主) 无限の剣制
- 梦石
- 0
- 星屑
- 10014
- 在线时间
- 5019 小时
- 注册时间
- 2013-2-28
- 帖子
- 5030
 
|
- class Spriteset_Map
- alias create_shadow_20140808 create_shadow
- def create_shadow
- create_shadow_20140808
- @mapinfo_sprite = Sprite.new
- @mapinfo_sprite.bitmap = Bitmap.new(128,24)
- @mapinfo_sprite.bitmap.font.size = 20
- @mapinfo_sprite.x = 418
- @mapinfo_sprite.y = 384
- end
-
- alias update_shadow_20140808 update_shadow
- def update_shadow
- update_shadow_20140808
- @mapinfo_sprite.visible = $game_switches[23]
- if @mapinfo_to_draw != mapinfo_to_draw
- @mapinfo_to_draw = mapinfo_to_draw
- b = @mapinfo_sprite.bitmap
- b.clear
- b.draw_text(- 48,2,b.width,20,$game_party.gold,2)
- b.draw_text(0,2,b.width,20,$data_system.currency_unit,2)
- end
- end
-
- alias dispose_shadow_20140808 dispose_shadow
- def dispose_shadow
- dispose_shadow_20140808
- @mapinfo_sprite.bitmap.dispose
- @mapinfo_sprite.dispose
- end
- # 啊,新技能Get
- def mapinfo_to_draw
- $game_party.gold
- end
- end
复制代码 |
评分
-
查看全部评分
|