Game Dev Resources

Status
Not open for further replies.
Apparantly they won't approve the topic, so here is what I found. That pokemon Start kit everyone has been fiending to find for RMXP

Pokemon Start Kit
 
budgie boy, you got too many global variables ($)
here's a script which is kinda new though but you can use it if you know how it works. It's pretty big, 1190 lines of script,
so here's my gift for you all
Spoiler:

it uses 2 global variables ($)
it's not very usefull, but it's a good base to work with

just a quick note that the trainercard isnt ready.... so don't test it :P
 
Last edited:
You can't post here if you don't have resources to share.

The script below is Blizzy's. So simple yet so useful (Y)

Code:
#================================================================
#BEGIN CLASS
#================================================================
# This class is an add-on for the built-in Array class.
#================================================================
class Array
  #==============================================================
  #SWITCH
  #==============================================================
  def switch(index1, index2)
    # Temporarily store index1 value:
    temp_var = self[index1]
    # Change index1 for index2:
    self[index1] = self[index2]
    # Change index2 for temp_var:
    self[index2] = temp_var
  end
#================================================================
#END CLASS
#================================================================
end

It is used for swapping two values in any array. I still don't know WHY Ruby don't have this method as a native...

How to use?

Check this example:

Code:
# Create any array you want:
pokemon_array = ["Squirtle", "Snorlax", "Vulpix"]
# Squirtle is at index 0, Snorlax is at index 1 and Vulpix is at index 2.
# Swap Snorlax and Vulpix:
pokemon_array.switch(2,1)
p pokemon_array # ---> ["Squirtle", "Vulpix", "Snorlax"]

Useful for switching pokémons on a CBS or Status Screen.
 
Code:
#================================================================
#BEGIN CLASS
#================================================================
# This class is an add-on for the built-in Array class.
#================================================================
class Array
  #==============================================================
  #SWITCH
  #==============================================================
  def switch_by_value(value1, value2)
    # Temporarily store index2 value:
    temp_var = self.index(value2)
    # Change index1 for index2:
    self[self.index(value1)] = value2
    # Change index2 for temp_var:
    self[temp_var] = value1
  end
#================================================================
#END CLASS
#================================================================
end

Same as ^ but now by value.
 
I know this topic is dead but in the very first post of this topic is a download link to All Pokémon Cries. Now I was wondering, is it possible for anyone to give me a working download link for that file or at least direct me to where I could find the first 251 Pokémon cries because I have been looking for them for ages and I still haven't found them. If someone could please help, that'd be great.
 
Thanks very much. I don't know who Avatar is or what you mean by him not being impressed but it's no good having a dead topic if it's the only one of it's kind and even if it is dead, at least I can get something I really need from it. Although the old file wasn't available so thanks very much NytewolfAU2k7!
 
If you knew the thread was dead. Why did you revive it?

It's not prohibited to think before you act.
 
Status
Not open for further replies.
Back
Top