Jump to content
Rpg²S Forum
  • 0

[RISOLTO] Modifica a script banca in menu


friday666
 Share

Question

giorno...una domanda...

io ho inserito la banca nel menu, vorrei sapere se è possibile che si attivi solo quando si possiede un oggetto....

(\__/)

(='.'=)

(")_(")

Questo è Bunny. Ho deciso di aiutarlo nella sua missione di conquista del mondo.

Compagni di Bunny unitevi a me!

 

http://img170.imageshack.us/img170/1858/pizzelartzzennm9.png

I chara da me postati: CLICCA QUI! PER XP - CLICCA QUI! PER XP(2) - CLICCA QUI! PER VX - CLICCA QUI! PER 2K/2K3!

I tileset da me postati:CLICCA QUI! PER XP

I Personaggi Completi da me postati: CLICCA QUI! PER XP

I Face da me postati: CLICCA QUI! PER XP

I Battlers da me postati: CLICCA QUI! PER XP!

Le Windowskin da me postate: CLICCA QUI! PER XP!

Risorse sonore da me postate: CLICCA QUI! PER SCARICARLE!

Guida al Ruby: CLICCA QUI! PER SCARICARLA!

Vi prego di inserirmi nei crediti...Grazie!

Link to comment
Share on other sites

Recommended Posts

  • 0

certo che è possibile.

ma non chiedere a me come farlo. con gli script sono negato.

"Quarantadue!" urlò Loonquawl. "Questo è tutto ciò che sai dire dopo un lavoro di sette milioni e mezzo di anni?"

"Ho controllato molto approfonditamente," disse il computer, "e questa è sicuramente la risposta. Ad essere sinceri, penso che il problema sia che voi non abbiate mai saputo veramente qual è la domanda."

 

 

 

Gioco disponibile: Prophecy of Last Era - OPEN SOURCE

 

http://www.mediafire.com/?u6aut42ks12ixgf

 

Puoi utilizzare qualsiasi evento, mappa, chara, grafica, e programmazione contenuta nel gioco-demo.

Nessun diritto di copia.

Hope you enjoy.

http://www.rpg2s.net/awards/bestmusician3.jpg

Link to comment
Share on other sites

  • 0
e qualcuno che sa aiutarmi c'è????

(\__/)

(='.'=)

(")_(")

Questo è Bunny. Ho deciso di aiutarlo nella sua missione di conquista del mondo.

Compagni di Bunny unitevi a me!

 

http://img170.imageshack.us/img170/1858/pizzelartzzennm9.png

I chara da me postati: CLICCA QUI! PER XP - CLICCA QUI! PER XP(2) - CLICCA QUI! PER VX - CLICCA QUI! PER 2K/2K3!

I tileset da me postati:CLICCA QUI! PER XP

I Personaggi Completi da me postati: CLICCA QUI! PER XP

I Face da me postati: CLICCA QUI! PER XP

I Battlers da me postati: CLICCA QUI! PER XP!

Le Windowskin da me postate: CLICCA QUI! PER XP!

Risorse sonore da me postate: CLICCA QUI! PER SCARICARLE!

Guida al Ruby: CLICCA QUI! PER SCARICARLA!

Vi prego di inserirmi nei crediti...Grazie!

Link to comment
Share on other sites

  • 0

beh..crea un oggetto usabile solo nel menù e non consumabile, il quale attivi un evento comune che chiamerai ad esempio: "attivazione banca". dopodichè imposti l'evento comune con un "call script" che attivi la banca.

 

Edit: questo solo se la banca la vuoi attivare dall'oggetto, altrimenti vedi sotto ^^

Edited by Eikichi

Finrod, GDR PBF

2PV e 1PAEquip: - faretra con 20 frecce- arco lungo- pugnale comune- Armatura di cuoio- Torcia- Cappuccio

Mi sa che è ora di vincere qualche premio per rinnovare questa firma! :3Posizioni raggiunte nei contest

http://rpg2s.net/gif/SCContest3Oct.gifhttp://www.rpg2s.net/awards/bestresourCSist3.jpghttp://www.rpg2s.net/awards/mosthelpful2.jpghttp://www.rpg2s.net/awards/mostpresent2.jpg

 

 

 

Link to comment
Share on other sites

  • 0
Da: palemmmo
io ho inserito la banca nel menu, vorrei sapere se è possibile che si attivi solo quando si possiede un oggetto....

 

se tu non fossi un terrone lo sapresti :wink: ,comunque non ho ben capito,cioè tu vorresti che la banca nel menù sia accessibile solo dopo aver ottenuto un determinato oggetto raro vero?

 

in questo caso dovresti mettere (da notare che "s7" l'ho messo a caso)

 

if

oggetto ID è posseduto

s7 = "Banca"

else

s7 = "??????"

end

 

poi

 

when 6 (6 perchè và dallo 0 e quindi s1 corrisponde a when 0 , s2 a when 1 e così via)

if

oggetto ID è posseduto

codici della banca

else

end

 

 

essendo anche io un terrone il codice dell'oggetto non lo so mi spiace

Io sono ciò che voi non siete e voi siete ciò che io sono.
Link to comment
Share on other sites

  • 0
Grazie ed evviva la terronia

(\__/)

(='.'=)

(")_(")

Questo è Bunny. Ho deciso di aiutarlo nella sua missione di conquista del mondo.

Compagni di Bunny unitevi a me!

 

http://img170.imageshack.us/img170/1858/pizzelartzzennm9.png

I chara da me postati: CLICCA QUI! PER XP - CLICCA QUI! PER XP(2) - CLICCA QUI! PER VX - CLICCA QUI! PER 2K/2K3!

I tileset da me postati:CLICCA QUI! PER XP

I Personaggi Completi da me postati: CLICCA QUI! PER XP

I Face da me postati: CLICCA QUI! PER XP

I Battlers da me postati: CLICCA QUI! PER XP!

Le Windowskin da me postate: CLICCA QUI! PER XP!

Risorse sonore da me postate: CLICCA QUI! PER SCARICARLE!

Guida al Ruby: CLICCA QUI! PER SCARICARLA!

Vi prego di inserirmi nei crediti...Grazie!

Link to comment
Share on other sites

  • 0

ok!

dmn provo poi ti farò sapere...

(\__/)

(='.'=)

(")_(")

Questo è Bunny. Ho deciso di aiutarlo nella sua missione di conquista del mondo.

Compagni di Bunny unitevi a me!

 

http://img170.imageshack.us/img170/1858/pizzelartzzennm9.png

I chara da me postati: CLICCA QUI! PER XP - CLICCA QUI! PER XP(2) - CLICCA QUI! PER VX - CLICCA QUI! PER 2K/2K3!

I tileset da me postati:CLICCA QUI! PER XP

I Personaggi Completi da me postati: CLICCA QUI! PER XP

I Face da me postati: CLICCA QUI! PER XP

I Battlers da me postati: CLICCA QUI! PER XP!

Le Windowskin da me postate: CLICCA QUI! PER XP!

Risorse sonore da me postate: CLICCA QUI! PER SCARICARLE!

Guida al Ruby: CLICCA QUI! PER SCARICARLA!

Vi prego di inserirmi nei crediti...Grazie!

Link to comment
Share on other sites

  • 0
una cosa...l' ID dell'oggetto cosa è???

(\__/)

(='.'=)

(")_(")

Questo è Bunny. Ho deciso di aiutarlo nella sua missione di conquista del mondo.

Compagni di Bunny unitevi a me!

 

http://img170.imageshack.us/img170/1858/pizzelartzzennm9.png

I chara da me postati: CLICCA QUI! PER XP - CLICCA QUI! PER XP(2) - CLICCA QUI! PER VX - CLICCA QUI! PER 2K/2K3!

I tileset da me postati:CLICCA QUI! PER XP

I Personaggi Completi da me postati: CLICCA QUI! PER XP

I Face da me postati: CLICCA QUI! PER XP

I Battlers da me postati: CLICCA QUI! PER XP!

Le Windowskin da me postate: CLICCA QUI! PER XP!

Risorse sonore da me postate: CLICCA QUI! PER SCARICARLE!

Guida al Ruby: CLICCA QUI! PER SCARICARLA!

Vi prego di inserirmi nei crediti...Grazie!

Link to comment
Share on other sites

  • 0

database: ogni lista, sia essa eroi,oggetti,magie,animazioni ecc... accanto al nome dell'oggetto ci sono tre numeri inseriti tra [] es: [001] pozione

 

quei tre numeri sono l'id dell'oggetto/arma/armatura/eroe ecc...

Finrod, GDR PBF

2PV e 1PAEquip: - faretra con 20 frecce- arco lungo- pugnale comune- Armatura di cuoio- Torcia- Cappuccio

Mi sa che è ora di vincere qualche premio per rinnovare questa firma! :3Posizioni raggiunte nei contest

http://rpg2s.net/gif/SCContest3Oct.gifhttp://www.rpg2s.net/awards/bestresourCSist3.jpghttp://www.rpg2s.net/awards/mosthelpful2.jpghttp://www.rpg2s.net/awards/mostpresent2.jpg

 

 

 

Link to comment
Share on other sites

  • 0
ah ok grazie mille!!!

(\__/)

(='.'=)

(")_(")

Questo è Bunny. Ho deciso di aiutarlo nella sua missione di conquista del mondo.

Compagni di Bunny unitevi a me!

 

http://img170.imageshack.us/img170/1858/pizzelartzzennm9.png

I chara da me postati: CLICCA QUI! PER XP - CLICCA QUI! PER XP(2) - CLICCA QUI! PER VX - CLICCA QUI! PER 2K/2K3!

I tileset da me postati:CLICCA QUI! PER XP

I Personaggi Completi da me postati: CLICCA QUI! PER XP

I Face da me postati: CLICCA QUI! PER XP

I Battlers da me postati: CLICCA QUI! PER XP!

Le Windowskin da me postate: CLICCA QUI! PER XP!

Risorse sonore da me postate: CLICCA QUI! PER SCARICARLE!

Guida al Ruby: CLICCA QUI! PER SCARICARLA!

Vi prego di inserirmi nei crediti...Grazie!

Link to comment
Share on other sites

  • 0
Guarda, mio caro REu, che la regione di provenienza non implica un'intelligenza fissa, sia essa bassa o alta. Se vieni dal Nord puoi benissimo essere stupido quanto quelli del Sud, e la tua affermazione non va certo a tuo vantaggio. :wink:

"Quarantadue!" urlò Loonquawl. "Questo è tutto ciò che sai dire dopo un lavoro di sette milioni e mezzo di anni?"

"Ho controllato molto approfonditamente," disse il computer, "e questa è sicuramente la risposta. Ad essere sinceri, penso che il problema sia che voi non abbiate mai saputo veramente qual è la domanda."

 

 

 

Gioco disponibile: Prophecy of Last Era - OPEN SOURCE

 

http://www.mediafire.com/?u6aut42ks12ixgf

 

Puoi utilizzare qualsiasi evento, mappa, chara, grafica, e programmazione contenuta nel gioco-demo.

Nessun diritto di copia.

Hope you enjoy.

http://www.rpg2s.net/awards/bestmusician3.jpg

Link to comment
Share on other sites

  • 0
Guarda, mio caro REu, che la regione di provenienza non implica un'intelligenza fissa, sia essa bassa o alta. Se vieni dal Nord puoi benissimo essere stupido quanto quelli del Sud, e la tua affermazione non va certo a tuo vantaggio.

 

xD non si è capito che stavo scherzando?

Io sono ciò che voi non siete e voi siete ciò che io sono.
Link to comment
Share on other sites

  • 0
Ehmm....no. :wink:

"Quarantadue!" urlò Loonquawl. "Questo è tutto ciò che sai dire dopo un lavoro di sette milioni e mezzo di anni?"

"Ho controllato molto approfonditamente," disse il computer, "e questa è sicuramente la risposta. Ad essere sinceri, penso che il problema sia che voi non abbiate mai saputo veramente qual è la domanda."

 

 

 

Gioco disponibile: Prophecy of Last Era - OPEN SOURCE

 

http://www.mediafire.com/?u6aut42ks12ixgf

 

Puoi utilizzare qualsiasi evento, mappa, chara, grafica, e programmazione contenuta nel gioco-demo.

Nessun diritto di copia.

Hope you enjoy.

http://www.rpg2s.net/awards/bestmusician3.jpg

Link to comment
Share on other sites

  • 0
comunque io lo avevo capito che scherzavi..però il codice non funzina....c'è qualcun altro che sa come fare???

(\__/)

(='.'=)

(")_(")

Questo è Bunny. Ho deciso di aiutarlo nella sua missione di conquista del mondo.

Compagni di Bunny unitevi a me!

 

http://img170.imageshack.us/img170/1858/pizzelartzzennm9.png

I chara da me postati: CLICCA QUI! PER XP - CLICCA QUI! PER XP(2) - CLICCA QUI! PER VX - CLICCA QUI! PER 2K/2K3!

I tileset da me postati:CLICCA QUI! PER XP

I Personaggi Completi da me postati: CLICCA QUI! PER XP

I Face da me postati: CLICCA QUI! PER XP

I Battlers da me postati: CLICCA QUI! PER XP!

Le Windowskin da me postate: CLICCA QUI! PER XP!

Risorse sonore da me postate: CLICCA QUI! PER SCARICARLE!

Guida al Ruby: CLICCA QUI! PER SCARICARLA!

Vi prego di inserirmi nei crediti...Grazie!

Link to comment
Share on other sites

  • 0

ehi anch'io sono terrone!

forse ti posso aiutare, però non ho capito che devi fare...

la banca la chiami solo da un oggetto, o la banca è tipo nel menu però se c'hai l'oggetto è attiva e se non ce l'hai ti spunta grigia e se ci munci non fa?

Script!

 

Roba scritta, guide:

 

Applicazioni:

 

Progetti!

http://img69.imageshack.us/img69/2143/userbarctaf.png http://img641.imageshack.us/img641/5227/userbartemplateb.pnghttp://i46.tinypic.com/ac6id0.png

Link to comment
Share on other sites

  • 0
la banca è tipo nel menu però se c'hai l'oggetto è attiva e se non ce l'hai ti spunta grigia e se ci munci non fa?

 

 

 

questa!!!!!!!!!!

(\__/)

(='.'=)

(")_(")

Questo è Bunny. Ho deciso di aiutarlo nella sua missione di conquista del mondo.

Compagni di Bunny unitevi a me!

 

http://img170.imageshack.us/img170/1858/pizzelartzzennm9.png

I chara da me postati: CLICCA QUI! PER XP - CLICCA QUI! PER XP(2) - CLICCA QUI! PER VX - CLICCA QUI! PER 2K/2K3!

I tileset da me postati:CLICCA QUI! PER XP

I Personaggi Completi da me postati: CLICCA QUI! PER XP

I Face da me postati: CLICCA QUI! PER XP

I Battlers da me postati: CLICCA QUI! PER XP!

Le Windowskin da me postate: CLICCA QUI! PER XP!

Risorse sonore da me postate: CLICCA QUI! PER SCARICARLE!

Guida al Ruby: CLICCA QUI! PER SCARICARLA!

Vi prego di inserirmi nei crediti...Grazie!

Link to comment
Share on other sites

  • 0

allora dimmi il numero dell'oggetto ^^

 

la banca nel menu ce l'hai già o si deve mettere?

Script!

 

Roba scritta, guide:

 

Applicazioni:

 

Progetti!

http://img69.imageshack.us/img69/2143/userbarctaf.png http://img641.imageshack.us/img641/5227/userbartemplateb.pnghttp://i46.tinypic.com/ac6id0.png

Link to comment
Share on other sites

  • 0
ce l'ho gia e l'oggetto è 050

(\__/)

(='.'=)

(")_(")

Questo è Bunny. Ho deciso di aiutarlo nella sua missione di conquista del mondo.

Compagni di Bunny unitevi a me!

 

http://img170.imageshack.us/img170/1858/pizzelartzzennm9.png

I chara da me postati: CLICCA QUI! PER XP - CLICCA QUI! PER XP(2) - CLICCA QUI! PER VX - CLICCA QUI! PER 2K/2K3!

I tileset da me postati:CLICCA QUI! PER XP

I Personaggi Completi da me postati: CLICCA QUI! PER XP

I Face da me postati: CLICCA QUI! PER XP

I Battlers da me postati: CLICCA QUI! PER XP!

Le Windowskin da me postate: CLICCA QUI! PER XP!

Risorse sonore da me postate: CLICCA QUI! PER SCARICARLE!

Guida al Ruby: CLICCA QUI! PER SCARICARLA!

Vi prego di inserirmi nei crediti...Grazie!

Link to comment
Share on other sites

  • 0

allora vai nel Scene_Menu e dentro la def main, proprio sopra questo

if $game_system.save_disabled
  # セーブを無効にする
  @command_window.disable_item(4)
end

metti

if $game_party.item_number(50) > 0
@command_window.disable_item(6)
end

 

poi sotto questo

when 6

 

aggiungi

if $game_party.item_number(50) > 0

 

e al primo 'end' che vedi scorrendo sotto, ti ci posizioni di sopra e ci incolli què

else
$game_system.se_play($data_system.buzzer_se)
end

 

Questo codice dovrebbe funzionare se nel menù la banca è l'ultimo elemento, altrimenti tutti i 6 che ci sono in questo messaggio considerali la posizione nel menu della banca meno 1 (quindi se è al 4° posto metti 3, al 5° metti 4 e così via) e se il numero non è 6, scorrendo non devi cercare 'end' ma 'when'. Se non funziona o hai problemi posta la Scene_Menu qui e la sistemo. oppure inviala via pm se non vuoi postarla

Script!

 

Roba scritta, guide:

 

Applicazioni:

 

Progetti!

http://img69.imageshack.us/img69/2143/userbarctaf.png http://img641.imageshack.us/img641/5227/userbartemplateb.pnghttp://i46.tinypic.com/ac6id0.png

Link to comment
Share on other sites

  • 0
funzionare funzia...però al contrari, ovvero quando è attiva è grigia la scritta, quando nn è attiva la banca la scritta è bianca............

(\__/)

(='.'=)

(")_(")

Questo è Bunny. Ho deciso di aiutarlo nella sua missione di conquista del mondo.

Compagni di Bunny unitevi a me!

 

http://img170.imageshack.us/img170/1858/pizzelartzzennm9.png

I chara da me postati: CLICCA QUI! PER XP - CLICCA QUI! PER XP(2) - CLICCA QUI! PER VX - CLICCA QUI! PER 2K/2K3!

I tileset da me postati:CLICCA QUI! PER XP

I Personaggi Completi da me postati: CLICCA QUI! PER XP

I Face da me postati: CLICCA QUI! PER XP

I Battlers da me postati: CLICCA QUI! PER XP!

Le Windowskin da me postate: CLICCA QUI! PER XP!

Risorse sonore da me postate: CLICCA QUI! PER SCARICARLE!

Guida al Ruby: CLICCA QUI! PER SCARICARLA!

Vi prego di inserirmi nei crediti...Grazie!

Link to comment
Share on other sites

  • 0

Ops scusa ho sbajato

 

sostituisci dove ti trovi qst

if $game_party.item_number(50) > 0

 

con qst

if $game_party.item_number(50) < 0

 

sono 2 volte, uno in def main e uno in def update_command mi sembra

Script!

 

Roba scritta, guide:

 

Applicazioni:

 

Progetti!

http://img69.imageshack.us/img69/2143/userbarctaf.png http://img641.imageshack.us/img641/5227/userbartemplateb.pnghttp://i46.tinypic.com/ac6id0.png

Link to comment
Share on other sites

  • 0
ora non funzia proprio +....la scritta rimane sempre bianca ma non mi entra nella funzine banca,,,

(\__/)

(='.'=)

(")_(")

Questo è Bunny. Ho deciso di aiutarlo nella sua missione di conquista del mondo.

Compagni di Bunny unitevi a me!

 

http://img170.imageshack.us/img170/1858/pizzelartzzennm9.png

I chara da me postati: CLICCA QUI! PER XP - CLICCA QUI! PER XP(2) - CLICCA QUI! PER VX - CLICCA QUI! PER 2K/2K3!

I tileset da me postati:CLICCA QUI! PER XP

I Personaggi Completi da me postati: CLICCA QUI! PER XP

I Face da me postati: CLICCA QUI! PER XP

I Battlers da me postati: CLICCA QUI! PER XP!

Le Windowskin da me postate: CLICCA QUI! PER XP!

Risorse sonore da me postate: CLICCA QUI! PER SCARICARLE!

Guida al Ruby: CLICCA QUI! PER SCARICARLA!

Vi prego di inserirmi nei crediti...Grazie!

Link to comment
Share on other sites

  • 0

mmm forse è l'orario........

 

allora al posto di què

if $game_party.item_number(50) < 0

 

metti què

if $game_party.item_number(50) = 0

Script!

 

Roba scritta, guide:

 

Applicazioni:

 

Progetti!

http://img69.imageshack.us/img69/2143/userbarctaf.png http://img641.imageshack.us/img641/5227/userbartemplateb.pnghttp://i46.tinypic.com/ac6id0.png

Link to comment
Share on other sites

  • 0
mi dice sintax error... con l' = non ne vuole sapere

(\__/)

(='.'=)

(")_(")

Questo è Bunny. Ho deciso di aiutarlo nella sua missione di conquista del mondo.

Compagni di Bunny unitevi a me!

 

http://img170.imageshack.us/img170/1858/pizzelartzzennm9.png

I chara da me postati: CLICCA QUI! PER XP - CLICCA QUI! PER XP(2) - CLICCA QUI! PER VX - CLICCA QUI! PER 2K/2K3!

I tileset da me postati:CLICCA QUI! PER XP

I Personaggi Completi da me postati: CLICCA QUI! PER XP

I Face da me postati: CLICCA QUI! PER XP

I Battlers da me postati: CLICCA QUI! PER XP!

Le Windowskin da me postate: CLICCA QUI! PER XP!

Risorse sonore da me postate: CLICCA QUI! PER SCARICARLE!

Guida al Ruby: CLICCA QUI! PER SCARICARLA!

Vi prego di inserirmi nei crediti...Grazie!

Link to comment
Share on other sites

  • 0

Ti posto il code del menu...Vedi se riesci a fare qualche cosa per favore????

 

 

#======================================================================

========

 

# ¦ Scene_Menu

 

#------------------------------------------------------------------------------

 

# ??????????????????

 

#==============================================================================

 

 

 

class Scene_Menu

 

#--------------------------------------------------------------------------

 

# ? ?????????

 

# menu_index : ?????????????

 

#--------------------------------------------------------------------------

 

 

 

#

 

# ????????????

 

def initialize(menu_index = 0)

 

@menu_index = menu_index

 

end

 

#--------------------------------------------------------------------------

 

# ? ?????

 

#--------------------------------------------------------------------------

 

 

 

 

 

 

 

def main

 

 

 

# ????????????

 

s1 = $data_system.words.item

 

s2 = $data_system.words.skill

 

s3 = $data_system.words.equip

 

s4 = "Banca"

 

s5 = "Status"

 

s6 = "Salva"

 

s7 = "Carica"

 

s8 = "Esci dal gioco"

 

@command_window = Window_Command.new(180, [s1, s2, s3, s4, s5, s6,s7,s8])

 

@command_window.index = @menu_index

 

# ??????? 0 ????

 

# ????????

 

 

 

# ????????

 

if $game_party.actors.size == 0

 

# ?????????????????????

 

@command_window.disable_item(0)

 

@command_window.disable_item(1)

 

@command_window.disable_item(2)

 

@command_window.disable_item(3)

 

end

 

# ????????

if $game_party.item_number(50) < 0

@command_window.disable_item(6)

end

 

if $game_system.save_disabled

 

# ?????????

 

@command_window.disable_item(4)

 

end

 

# ?????????????

 

 

 

# ??????????

 

@playtime_window = Window_PlayTime.new

 

@playtime_window.x = 0

 

@playtime_window.y = 320

 

# ??????????

 

 

 

# ????????????

 

@gold_window = Window_Gold.new

 

@gold_window.x = 0

 

@gold_window.y = 416

 

# ?????????????

 

@status_window = Window_MenuStatus.new

 

@status_window.x = 160

 

@status_window.y = 0

 

# ?????????

 

Graphics.transition

 

# ??????

 

loop do

 

# ????????

 

Graphics.update

 

# ???????

 

Input.update

 

# ??????

 

update

 

# ????????????????

 

if $scene != self

 

break

 

end

 

end

 

# ?????????

 

Graphics.freeze

 

# ????????

 

@command_window.dispose

 

@playtime_window.dispose

 

 

 

@gold_window.dispose

 

@status_window.dispose

 

end

 

 

 

#--------------------------------------------------------------------------

 

# ? ??????

 

#--------------------------------------------------------------------------

 

def update

 

# ????????

 

@command_window.update

 

@playtime_window.update

 

 

 

@gold_window.update

 

@status_window.update

 

# ??????????????????: update_command ???

 

if @command_window.active

 

update_command

 

return

 

end

 

# ???????????????????: update_status ???

 

if @status_window.active

 

update_status

 

return

 

end

 

end

 

#--------------------------------------------------------------------------

 

# ? ?????? (??????????????????)

 

#--------------------------------------------------------------------------

 

def update_command

 

# B ??????????

 

if Input.trigger?(Input::B)

 

# ????? SE ???

 

$game_system.se_play($data_system.cancel_se)

 

# ??????????

 

$scene = Scene_Map.new

 

return

 

end

 

# C ??????????

 

if Input.trigger?(Input::C)

 

# ??????? 0 ??????????????????????

 

if $game_party.actors.size == 0 and @command_window.index < 4

 

# ??? SE ???

 

$game_system.se_play($data_system.buzzer_se)

 

return

 

end

 

# ???????????????????

 

case @command_window.index

 

when 0 # ????

 

# ?? SE ???

 

$game_system.se_play($data_system.decision_se)

 

# ???????????

 

$scene = Scene_Item.new

 

when 1 # ???

 

# ?? SE ???

 

$game_system.se_play($data_system.decision_se)

 

# ???????????????????

 

@command_window.active = false

 

@status_window.active = true

 

@status_window.index = 0

 

when 2 # ??

 

# ?? SE ???

 

$game_system.se_play($data_system.decision_se)

 

# ???????????????????

 

@command_window.active = false

 

@status_window.active = true

 

@status_window.index = 0

 

when 4 # ?????

 

# ?? SE ???

 

$game_system.se_play($data_system.decision_se)

 

# ???????????????????

 

@command_window.active = false

 

@status_window.active = true

 

@status_window.index = 0

 

when 5 # ???

 

# ????????

 

if $game_system.save_disabled

 

# ??? SE ???

 

$game_system.se_play($data_system.buzzer_se)

 

return

 

end

 

# ?? SE ???

 

$game_system.se_play($data_system.decision_se)

 

# ??????????

 

$scene = Scene_Save.new

 

when 7 # ?????

 

# ?? SE ???

 

$game_system.se_play($data_system.decision_se)

 

# ????????????

 

$scene = Scene_End.new

 

when 6 # ?????

 

# ?? SE ???

 

$game_system.se_play($data_system.decision_se)

 

# ??????????

 

$scene = Scene_Load.new

 

return

 

when 3 # ?????

 

if $game_party.item_number(50) >= 0

 

# ?? SE ???

 

$game_system.se_play($data_system.decision_se)

 

# ??????????

 

$scene = chiama_banca

 

@command_window.disable_item(3)

else

$game_system.se_play($data_system.buzzer_se)

end

 

 

end

 

end

 

return

 

end

 

end

 

#--------------------------------------------------------------------------

 

# ? ?????? (???????????????????)

 

#--------------------------------------------------------------------------

 

def update_status

 

# B ??????????

 

if Input.trigger?(Input::B)

 

# ????? SE ???

 

$game_system.se_play($data_system.cancel_se)

 

# ??????????????????

 

@command_window.active = true

 

@status_window.active = false

 

@status_window.index = -1

 

return

 

end

 

# C ??????????

 

if Input.trigger?(Input::C)

 

# ???????????????????

 

case @command_window.index

 

when 1 # ???

 

# ???????????? 2 ?????

 

if $game_party.actors[@status_window.index].restriction >= 2

 

# ??? SE ???

 

$game_system.se_play($data_system.buzzer_se)

 

return

 

end

 

# ?? SE ???

 

$game_system.se_play($data_system.decision_se)

 

# ??????????

 

$scene = Scene_Skill.new(@status_window.index)

 

when 2 # ??

 

# ?? SE ???

 

$game_system.se_play($data_system.decision_se)

 

# ?????????

 

$scene = Scene_Equip.new(@status_window.index)

 

when 4 # ?????

 

# ?? SE ???

 

$game_system.se_play($data_system.decision_se)

 

# ????????????

 

$scene = Scene_Status.new(@status_window.index)

 

end

 

return

 

end

 

end

 

 

(\__/)

(='.'=)

(")_(")

Questo è Bunny. Ho deciso di aiutarlo nella sua missione di conquista del mondo.

Compagni di Bunny unitevi a me!

 

http://img170.imageshack.us/img170/1858/pizzelartzzennm9.png

I chara da me postati: CLICCA QUI! PER XP - CLICCA QUI! PER XP(2) - CLICCA QUI! PER VX - CLICCA QUI! PER 2K/2K3!

I tileset da me postati:CLICCA QUI! PER XP

I Personaggi Completi da me postati: CLICCA QUI! PER XP

I Face da me postati: CLICCA QUI! PER XP

I Battlers da me postati: CLICCA QUI! PER XP!

Le Windowskin da me postate: CLICCA QUI! PER XP!

Risorse sonore da me postate: CLICCA QUI! PER SCARICARLE!

Guida al Ruby: CLICCA QUI! PER SCARICARLA!

Vi prego di inserirmi nei crediti...Grazie!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...