• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Original Starter Selection

2
Posts
3
Years
  • Original Starter Selection in pokeemerald​

    Youll want to go to data\maps\mapyouwant and open scripts.inc, scroll to the bottom then copy and paste this script.
    Code:
    @LordDebinos Original Select Satrter (OgSS)
    
    @-Grass Type--------------------------------------------------------
    @--Change SPECIES_BULBASAUR to what ever pokemon you want-------------------
    @---Change "setflag FLAG_UNUSED_0x2B9" to whatever flag you want----
    Script_OgSS_1::                                       
    	lock											 
    	faceplayer	
    	goto_if_set FLAG_UNUSED_0x2BB , Script_OgSS_Off
    	goto_if_set FLAG_UNUSED_0x2BA , Script_OgSS_Off
    	showmonpic SPECIES_BULBASAUR, 10, 3
    	msgbox Text_OgSS_1_YN, MSGBOX_YESNO				 
    	compare VAR_RESULT, 0							  
    	goto_if_eq Script_TakePkmn_1_No                   
    	goto_if_ne Script_TakePkmn_1_Yes 
    	release                                           
    	end                                                
    
    Script_TakePkmn_1_No::  
    	hidemonpic
    	release                                        
    	end                                              
    
    Script_TakePkmn_1_Yes::                                
    	setflag FLAG_SYS_POKEMON_GET                       
    	givemon SPECIES_BULBASAUR, 5, ITEM_NONE               
    	msgbox Text_TakePkmn_1_Yes                                                    
    	playfanfare MUS_FANFA4 
    	waitfanfare      
    	removeobject 7
    	setflag FLAG_UNUSED_0x2B9  
    	hidemonpic
    	release                                            
    	end                                                
    
    Text_OgSS_1_YN:                                        
    	.string "I see! BULBASAUR is your choice.\n"
    	.string "It's very easy to raise.$"
    	.string "So, {PLAYER}, you want to go with\n"
    	.string "the GRASS POKéMON BULBASAUR?$"
    
    Text_TakePkmn_1_Yes:                                   
    	.string "{PLAYER} recieved a BULBASAUR!$"            
    
    @-Water Type--------------------------------------------------------
    @--Change SPECIES_SQUIRTLE to what ever pokemon you want--------------------
    @---Change "setflag FLAG_UNUSED_0x2BA" to whatever flag you want----
    Script_OgSS_2::                                       
    	lock											 
    	faceplayer	
    	goto_if_set FLAG_UNUSED_0x2BB , Script_OgSS_Off
    	goto_if_set FLAG_UNUSED_0x2B9 , Script_OgSS_Off
    	showmonpic SPECIES_SQUIRTLE, 10, 3
    	msgbox Text_OgSS_2_YN, MSGBOX_YESNO				 
    	compare VAR_RESULT, 0							  
    	goto_if_eq Script_TakePkmn_2_No                   
    	goto_if_ne Script_TakePkmn_2_Yes 
    	release                                           
    	end                                                
    
    Script_TakePkmn_2_No::  
    	hidemonpic
    	release                                        
    	end                                              
    
    Script_TakePkmn_2_Yes::                                
    	setflag FLAG_SYS_POKEMON_GET                       
    	givemon SPECIES_SQUIRTLE, 5, ITEM_NONE               
    	msgbox Text_TakePkmn_2_Yes                                                    
    	playfanfare MUS_FANFA4 
    	waitfanfare      
    	removeobject 8
    	setflag FLAG_UNUSED_0x2BA   
    	hidemonpic
    	release                                            
    	end                                                
    
    Text_OgSS_2_YN:                                        
    	.string "Hm! SQUIRTLE is your choice.\n"
    	.string "It's one worth raising.$"
    	.string "So, {PLAYER}, you want to go with\n"
    	.string "the WATER POKéMON SQUIRTLE?$"
    
    Text_TakePkmn_2_Yes:                                   
    	.string "{PLAYER} recieved a SQUIRTLE!$" 
    
    @-Fire Type---------------------------------------------------------
    @--Change SPECIES_CHARMANDER to what ever pokemon you want------------------
    @---Change "setflag FLAG_UNUSED_0x2BB" to whatever flag you want----
    Script_OgSS_3::                                       
    	lock											 
    	faceplayer		
    	goto_if_set FLAG_UNUSED_0x2BA , Script_OgSS_Off
    	goto_if_set FLAG_UNUSED_0x2B9 , Script_OgSS_Off
    	showmonpic SPECIES_CHARMANDER, 10, 3
    	msgbox Text_OgSS_3_YN, MSGBOX_YESNO				 
    	compare VAR_RESULT, 0							  
    	goto_if_eq Script_TakePkmn_3_No                   
    	goto_if_ne Script_TakePkmn_3_Yes 
    	release                                           
    	end                                                
    
    Script_TakePkmn_3_No:: 
    	hidemonpic
    	release                                        
    	end                                              
    
    Script_TakePkmn_3_Yes::                                
    	setflag FLAG_SYS_POKEMON_GET                       
    	givemon SPECIES_CHARMANDER, 5, ITEM_NONE               
    	msgbox Text_TakePkmn_3_Yes                                                    
    	playfanfare MUS_FANFA4 
    	waitfanfare      
    	removeobject 9
    	setflag FLAG_UNUSED_0x2BB  
    	hidemonpic
    	release                                            
    	end                                                
    
    Text_OgSS_3_YN:                                        
    	.string "Ah! CHARMANDER is your choice.\n"
    	.string "You should raise it patiently.$"
    	.string "So, {PLAYER}, you're claiming the\n"
    	.string "FIRE POKéMON CHARMANDER?$"
    
    Text_TakePkmn_3_Yes:                                   
    	.string "{PLAYER} recieved a CHARMANDER!$" 
    
    @-Others----------------------------------------------------------
    @--you can chnage the text box to your liking---------------------
    Script_OgSS_Off::
    	msgbox Text_OgSS_Off
    	release
    	end
    
    Text_OgSS_Off:
    	.string "You already picked a POKéMON!$"
    This is what it should look like.
    Capture.PNG


    Now save and open PoryMap.
    Go to the same map that you pasted the script into.
    Now go to the Events tab.
    Add 3 new Objects and place them where you want. (Make sure they are in order from 7 to 9 or else you'll have to modify the script)
    On the first one you'll want to give it the script.
    while you are here you can give it the sprite you want.
    Code:
    Script_OgSS_1
    Now for the Event Flag
    Code:
    FLAG_UNUSED_0x2B9
    Now for the second objects script.
    you can also set the sprite.
    Code:
    Script_OgSS_2
    And the seconds Event Flag.
    Code:
    FLAG_UNUSED_0x2BA
    Now for the last objects script and sprite.
    Code:
    Script_OgSS_3
    And the thirds Event Flag
    Code:
    FLAG_UNUSED_0x2BB

    Now you should be good to go!
    If you dont understand something or if something doesnt work properly let me know so i can try and fix it.
    Also feel free to modify my script to your liking.
     
    Back
    Top