I saw another post about this but it didn't help. I was wondering if I could make it so pushing the shift button has no effect at all until I get the Bestiary Book. https://yanflychannel.wordpress.com/rmvxa/battle-scripts/ace-battle-engine/enemy-target-info/
Having issue with Yanfly Engine Ace - Enemy Target Info v1.02
RGSSx Script SupportWhat script are you using for the bestiary book?
This might work
Untested*
This might work
Untested*
Ruby:
module R2_Compare_Book_Found
ITEM_ID = 25
end
class Window_Comparison < Window_Base
def process_enemy_window_input
return unless SceneManager.scene_is?(Scene_Battle)
return unless SceneManager.scene.enemy_window.active
return if SceneManager.scene.enemy_window.select_all?
return unless $game_party.items.include?($data_items[R2_Compare_Book_Found::ITEM_ID])
SceneManager.scene.toggle_enemy_info if Input.trigger?(@button) unless self.visible
return unless self.visible
SceneManager.scene.enemy_info_page_up if Input.trigger?(:L)
SceneManager.scene.enemy_info_page_down if Input.trigger?(:R)
end
end
class Window_ComparisonHelp < Window_Base
def update_text
return unless self.visible
return unless $game_party.items.include?($data_items[R2_Compare_Book_Found::ITEM_ID])
if @info_window.visible
text = YEA::ENEMY_INFO::HELP_INFO_SWITCH
else
text = YEA::ENEMY_INFO::HELP_INFO_SHOW
end
return if @text == text
@text = text
refresh
end
end
Moved to: RGSSx Script Support
I've added a pic for the book. Which line do I add this snippet?
OK, so you're just using an item, not a bestiary script that need an item.
Just change the item number to 37 for your book.
What do you mean by which line? Place it below enemy target info script.
Just change the item number to 37 for your book.
What do you mean by which line? Place it below enemy target info script.
Ok, I got it working. Thank you. But now I want the bestiary script.
Take your pic, although these do not require an item.
Venka - Bestiary
ShadowMaster - Fantasy Bestiary
Envelon - Bestiary
Modern Algebra - Monster catalogue
CSCA - Encyclopedia
Venka - Bestiary
ShadowMaster - Fantasy Bestiary
Envelon - Bestiary
Modern Algebra - Monster catalogue
CSCA - Encyclopedia
Original thread: https://forums.rpgmakerweb.com/threads/having-issue-with-yanfly-engine-ace-enemy-target-info-v1-02.143141/