map_group is: 1 map_id is: 1 event header address is: 0x9c0e4 skipping event data... (oops) map_group is: 1 map_id is: 2 event header address is: 0x9c526 parsing signpost script.. signpost is at: x=3 y=13 parsing command byte 0x34 for map 1.2 at 0x9c1a9 info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map 1.2 at 0x9c1ac info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0xc for map 1.2 at 0x9c1af info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=6 y=13 parsing command byte 0x34 for map 1.2 at 0x9c1a9 info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map 1.2 at 0x9c1ac info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0xc for map 1.2 at 0x9c1af info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 1 map_id is: 3 event header address is: 0x9c566 parsing signpost script.. signpost is at: x=0 y=1 parsing command byte 0xc for map 1.3 at 0x9c563 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=1 y=1 parsing command byte 0xc for map 1.3 at 0x9c563 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 1 map_id is: 4 event header address is: 0x9c601 parsing signpost script.. signpost is at: x=0 y=1 parsing command byte 0xc for map 1.4 at 0x9c59c info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=1 y=1 parsing command byte 0xc for map 1.4 at 0x9c59f info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 1 map_id is: 5 event header address is: 0x9c6e5 parsing signpost script.. signpost is at: x=0 y=1 parsing command byte 0xc for map 1.5 at 0x9c640 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=1 y=1 parsing command byte 0xc for map 1.5 at 0x9c63d info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 1 map_id is: 6 event header address is: 0x9c8a2 skipping event data... (oops) map_group is: 1 map_id is: 7 event header address is: 0x9ca8e skipping event data... (oops) map_group is: 1 map_id is: 8 event header address is: 0x9cb9e skipping event data... (oops) map_group is: 1 map_id is: 9 event header address is: 0x9cc4d skipping event data... (oops) map_group is: 1 map_id is: 10 event header address is: 0x9ce7b skipping event data... (oops) map_group is: 1 map_id is: 11 event header address is: 0x9d242 parsing signpost script.. signpost is at: x=0 y=1 parsing command byte 0xc for map 1.11 at 0x9cf35 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=1 y=1 parsing command byte 0xc for map 1.11 at 0x9cf35 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 1 map_id is: 12 event header address is: 0x1a23bb parsing signpost script.. signpost is at: x=33 y=7 parsing command byte 0x53 for map 1.12 at 0x1a1f2d info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xfd for map 1.12 at 0x1a1f2e info: None long_info: None parsing signpost script.. signpost is at: x=5 y=13 parsing command byte 0x53 for map 1.12 at 0x1a1f30 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x24 for map 1.12 at 0x1a1f31 info: Check if HIRO/account has enough money [xxyyzzaa] long_info: Checks if HIRO/account has got zzyyxx money. feedback: 00 = enough money 01 = exact amount 02 = less money zzyyxx = amount of money (000000 - 0F423F) [24][00-HIRO/01-account][xxyyzz] parsing command byte 0x85 for map 1.12 at 0x1a1f36 info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0xab for map 1.12 at 0x1a1f37 info: None long_info: None skipping event data... (oops) map_group is: 1 map_id is: 13 event header address is: 0x1a60ba parsing signpost script.. signpost is at: x=5 y=31 parsing command byte 0x53 for map 1.13 at 0x1a5bf1 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x36 for map 1.13 at 0x1a5bf2 info: Set (to 1) a bit on bit table 2 [xxyy] long_info: Sets a bit of BitTable2 to value 1. [36][Bit no (2byte)] parsing command byte 0xf for map 1.13 at 0x1a5bf5 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x24 for map 1.13 at 0x1a5bf8 info: Check if HIRO/account has enough money [xxyyzzaa] long_info: Checks if HIRO/account has got zzyyxx money. feedback: 00 = enough money 01 = exact amount 02 = less money zzyyxx = amount of money (000000 - 0F423F) [24][00-HIRO/01-account][xxyyzz] parsing command byte 0x93 for map 1.13 at 0x1a5bfd info: Mart menu [dialog no][mart no 2b] long_info: Displays a whole mart menu, however, doesn't load font to ram. [93][Dialog no][Mart no (2byte)] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#AwBsp93 see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzB93 parsing command byte 0x9c for map 1.13 at 0x1a5c01 info: Check if/which a phone call is active long_info: Checks if a phone call is "in the line". feedback: 00 = no <>00 = call number [9C] parsing command byte 0x7f for map 1.13 at 0x1a5c02 info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0x8c for map 1.13 at 0x1a5c03 info: Priority jump to script by pointer [xxyy] long_info: The pointer acts like code 00, but with this higher functions like the bike etc. are not paid attention to, while the script is running. [8C][2byte pointer to script] parsing command byte 0xae for map 1.13 at 0x1a5c06 info: None long_info: None parsing signpost script.. signpost is at: x=9 y=5 parsing command byte 0x53 for map 1.13 at 0x1a5bee info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xa for map 1.13 at 0x1a5bef info: RAM check [00 = call number [9C] parsing command byte 0x7f for map 1.13 at 0x1a5c02 info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0x8c for map 1.13 at 0x1a5c03 info: Priority jump to script by pointer [xxyy] long_info: The pointer acts like code 00, but with this higher functions like the bike etc. are not paid attention to, while the script is running. [8C][2byte pointer to script] parsing command byte 0xae for map 1.13 at 0x1a5c06 info: None long_info: None parsing signpost script.. signpost is at: x=15 y=7 parsing command byte 0x53 for map 1.13 at 0x1a5beb info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xe3 for map 1.13 at 0x1a5bec info: None long_info: None parsing signpost script.. signpost is at: x=5 y=13 parsing command byte 0xaa for map 1.13 at 0x1a5bf6 info: None long_info: None skipping event data... (oops) map_group is: 1 map_id is: 14 event header address is: 0x1a8cce parsing xy trigger byte scripts... x=13 y=12 parsing command byte 0x76 for map 1.14 at 0x1a8833 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x75 for map 1.14 at 0x1a8836 info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0xf for map 1.14 at 0x1a8839 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x0 for map 1.14 at 0x1a883c info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x85 for map 1.14 at 0x1a883f info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0x1f for map 1.14 at 0x1a8840 info: Give item by id and quantity [xx][yy] long_info: Gives item (item no) amount times. feedback: 00 = bag full 01 = OK [1F][item no][amount] parsing command byte 0x5 for map 1.14 at 0x1a8843 info: pointer code long_info: 2byte pointer points to 3byte pointer; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x5 for map 1.14 at 0x1a8846 info: pointer code long_info: 2byte pointer points to 3byte pointer; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x7f for map 1.14 at 0x1a8849 info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0x1f for map 1.14 at 0x1a884a info: Give item by id and quantity [xx][yy] long_info: Gives item (item no) amount times. feedback: 00 = bag full 01 = OK [1F][item no][amount] parsing command byte 0x4c for map 1.14 at 0x1a884d info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 1.14 at 0x1a8850 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 1.14 at 0x1a8851 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x69 for map 1.14 at 0x1a8852 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x48 for map 1.14 at 0x1a8855 info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0x0 for map 1.14 at 0x1a8857 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x5 for map 1.14 at 0x1a885a info: pointer code long_info: 2byte pointer points to 3byte pointer; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x14 for map 1.14 at 0x1a885d info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0x6e for map 1.14 at 0x1a885f info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0xf for map 1.14 at 0x1a8861 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x6d for map 1.14 at 0x1a8864 info: Hide person by id [xx] long_info: Hides a person. [6D][person id] parsing command byte 0x31 for map 1.14 at 0x1a8866 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x0 for map 1.14 at 0x1a8869 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 1.14 at 0x1a886c info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 1.14 at 0x1a886f info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 1.14 at 0x1a8872 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x8b for map 1.14 at 0x1a8875 info: Deactive static facing after time [xx] long_info: Deactivates static facings on all persons on the screen after a time xx. [8B][xx] parsing command byte 0x85 for map 1.14 at 0x1a8877 info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0x1f for map 1.14 at 0x1a8878 info: Give item by id and quantity [xx][yy] long_info: Gives item (item no) amount times. feedback: 00 = bag full 01 = OK [1F][item no][amount] parsing command byte 0x5 for map 1.14 at 0x1a887b info: pointer code long_info: 2byte pointer points to 3byte pointer; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x5 for map 1.14 at 0x1a887e info: pointer code long_info: 2byte pointer points to 3byte pointer; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x7f for map 1.14 at 0x1a8881 info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0x1f for map 1.14 at 0x1a8882 info: Give item by id and quantity [xx][yy] long_info: Gives item (item no) amount times. feedback: 00 = bag full 01 = OK [1F][item no][amount] parsing command byte 0x4c for map 1.14 at 0x1a8885 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 1.14 at 0x1a8888 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 1.14 at 0x1a8889 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x69 for map 1.14 at 0x1a888a info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x48 for map 1.14 at 0x1a888d info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0x0 for map 1.14 at 0x1a888f info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x5 for map 1.14 at 0x1a8892 info: pointer code long_info: 2byte pointer points to 3byte pointer; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x6e for map 1.14 at 0x1a8895 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x14 for map 1.14 at 0x1a8897 info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0xf for map 1.14 at 0x1a8899 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x6d for map 1.14 at 0x1a889c info: Hide person by id [xx] long_info: Hides a person. [6D][person id] parsing command byte 0x31 for map 1.14 at 0x1a889e info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x0 for map 1.14 at 0x1a88a1 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x58 for map 1.14 at 0x1a88a4 info: Menu interpreter 2 (see menu loader) long_info: Interprets menu data loaded by 4F. see also http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke57 see also http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA58 parsing command byte 0x4a for map 1.14 at 0x1a88a5 info: Load specific byte to $C1CE [xx] long_info: Loads a byte to C1CE. Seems to have no function in the game. [4A][Byte] parsing command byte 0x47 for map 1.14 at 0x1a88a7 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x17 for map 1.14 at 0x1a88a8 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x6 for map 1.14 at 0x1a88aa info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x48 for map 1.14 at 0x1a88ad info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0x4 for map 1.14 at 0x1a88af info: pointer code long_info: 3byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x91 for map 1.14 at 0x1a88b3 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing xy trigger byte scripts... x=13 y=13 parsing command byte 0x76 for map 1.14 at 0x1a886b info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x75 for map 1.14 at 0x1a886e info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0xf for map 1.14 at 0x1a8871 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x0 for map 1.14 at 0x1a8874 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x85 for map 1.14 at 0x1a8877 info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0x1f for map 1.14 at 0x1a8878 info: Give item by id and quantity [xx][yy] long_info: Gives item (item no) amount times. feedback: 00 = bag full 01 = OK [1F][item no][amount] parsing command byte 0x5 for map 1.14 at 0x1a887b info: pointer code long_info: 2byte pointer points to 3byte pointer; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x5 for map 1.14 at 0x1a887e info: pointer code long_info: 2byte pointer points to 3byte pointer; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x7f for map 1.14 at 0x1a8881 info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0x1f for map 1.14 at 0x1a8882 info: Give item by id and quantity [xx][yy] long_info: Gives item (item no) amount times. feedback: 00 = bag full 01 = OK [1F][item no][amount] parsing command byte 0x4c for map 1.14 at 0x1a8885 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 1.14 at 0x1a8888 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 1.14 at 0x1a8889 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x69 for map 1.14 at 0x1a888a info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x48 for map 1.14 at 0x1a888d info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0x0 for map 1.14 at 0x1a888f info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x5 for map 1.14 at 0x1a8892 info: pointer code long_info: 2byte pointer points to 3byte pointer; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x6e for map 1.14 at 0x1a8895 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x14 for map 1.14 at 0x1a8897 info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0xf for map 1.14 at 0x1a8899 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x6d for map 1.14 at 0x1a889c info: Hide person by id [xx] long_info: Hides a person. [6D][person id] parsing command byte 0x31 for map 1.14 at 0x1a889e info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x0 for map 1.14 at 0x1a88a1 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x58 for map 1.14 at 0x1a88a4 info: Menu interpreter 2 (see menu loader) long_info: Interprets menu data loaded by 4F. see also http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke57 see also http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA58 parsing command byte 0x4a for map 1.14 at 0x1a88a5 info: Load specific byte to $C1CE [xx] long_info: Loads a byte to C1CE. Seems to have no function in the game. [4A][Byte] parsing command byte 0x47 for map 1.14 at 0x1a88a7 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x17 for map 1.14 at 0x1a88a8 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x6 for map 1.14 at 0x1a88aa info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x48 for map 1.14 at 0x1a88ad info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0x4 for map 1.14 at 0x1a88af info: pointer code long_info: 3byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x91 for map 1.14 at 0x1a88b3 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=17 y=11 parsing command byte 0x53 for map 1.14 at 0x1a88bd info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xd0 for map 1.14 at 0x1a88be info: None long_info: None parsing signpost script.. signpost is at: x=20 y=24 parsing command byte 0x53 for map 1.14 at 0x1a88c0 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x0 for map 1.14 at 0x1a88c1 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x1d for map 1.14 at 0x1a88c4 info: Write to pre-ID-mapped RAM location [xx] long_info: Writes variable from RAM to special game-technical value offsets. [1D][following part] where [following part] is the same as 0x1C parsing command byte 0x53 for map 1.14 at 0x1a88c6 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x60 for map 1.14 at 0x1a88c7 info: Pokemon catching tutorial [xx] long_info: Starts a learn-how-to-catch battle with a Pokémon, whose data needs to be loaded beforehand see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke5C Player has to have at least 1 Pokémon for it to work. Items that are statically used: 1xPotion, 5xPoké ball. [60][xx] xx: Between 01 and 03. If <> 03 then HIRO sprite instead of dude sprite and kills itself when using the item system. parsing command byte 0x53 for map 1.14 at 0x1a88c9 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x99 for map 1.14 at 0x1a88ca info: Set monologue decoration [xx] long_info: Displays monologues according to the selected ornament. [99][xx] xx values: 00 = Map/Poster 01 = Ornament left 02 = Ornament right 03 = Huge doll 04 = Console parsing command byte 0xc for map 1.14 at 0x1a88cc info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=7 y=11 parsing command byte 0x53 for map 1.14 at 0x1a88c3 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x1d for map 1.14 at 0x1a88c4 info: Write to pre-ID-mapped RAM location [xx] long_info: Writes variable from RAM to special game-technical value offsets. [1D][following part] where [following part] is the same as 0x1C parsing command byte 0x53 for map 1.14 at 0x1a88c6 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x60 for map 1.14 at 0x1a88c7 info: Pokemon catching tutorial [xx] long_info: Starts a learn-how-to-catch battle with a Pokémon, whose data needs to be loaded beforehand see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke5C Player has to have at least 1 Pokémon for it to work. Items that are statically used: 1xPotion, 5xPoké ball. [60][xx] xx: Between 01 and 03. If <> 03 then HIRO sprite instead of dude sprite and kills itself when using the item system. parsing command byte 0x53 for map 1.14 at 0x1a88c9 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x99 for map 1.14 at 0x1a88ca info: Set monologue decoration [xx] long_info: Displays monologues according to the selected ornament. [99][xx] xx values: 00 = Map/Poster 01 = Ornament left 02 = Ornament right 03 = Huge doll 04 = Console parsing command byte 0xc for map 1.14 at 0x1a88cc info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=30 y=28 parsing command byte 0x53 for map 1.14 at 0x1a88c6 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x60 for map 1.14 at 0x1a88c7 info: Pokemon catching tutorial [xx] long_info: Starts a learn-how-to-catch battle with a Pokémon, whose data needs to be loaded beforehand see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke5C Player has to have at least 1 Pokémon for it to work. Items that are statically used: 1xPotion, 5xPoké ball. [60][xx] xx: Between 01 and 03. If <> 03 then HIRO sprite instead of dude sprite and kills itself when using the item system. parsing command byte 0x53 for map 1.14 at 0x1a88c9 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x99 for map 1.14 at 0x1a88ca info: Set monologue decoration [xx] long_info: Displays monologues according to the selected ornament. [99][xx] xx values: 00 = Map/Poster 01 = Ornament left 02 = Ornament right 03 = Huge doll 04 = Console parsing command byte 0xc for map 1.14 at 0x1a88cc info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=3 y=23 parsing command byte 0x53 for map 1.14 at 0x1a88c9 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x99 for map 1.14 at 0x1a88ca info: Set monologue decoration [xx] long_info: Displays monologues according to the selected ornament. [99][xx] xx values: 00 = Map/Poster 01 = Ornament left 02 = Ornament right 03 = Huge doll 04 = Console parsing command byte 0xc for map 1.14 at 0x1a88cc info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=14 y=21 parsing command byte 0xc for map 1.14 at 0x1a88cc info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=20 y=17 parsing command byte 0xc for map 1.14 at 0x1a88cf info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) parsing command byte 0x91 for map 1.14 at 0x1a882d info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 1.14 at 0x1a882e info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x36 for map None.None at 0x1a882f info: Set (to 1) a bit on bit table 2 [xxyy] long_info: Sets a bit of BitTable2 to value 1. [36][Bit no (2byte)] parsing command byte 0x90 for map None.None at 0x1a8832 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 2 map_id is: 1 event header address is: 0x199a72 skipping event data... (oops) map_group is: 2 map_id is: 2 event header address is: 0x19a2df parsing signpost script.. signpost is at: x=3 y=15 parsing command byte 0x34 for map 2.2 at 0x199b7d info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map 2.2 at 0x199b80 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0xc for map 2.2 at 0x199b83 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=6 y=15 parsing command byte 0x34 for map 2.2 at 0x199b7d info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map 2.2 at 0x199b80 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0xc for map 2.2 at 0x199b83 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 2 map_id is: 3 event header address is: 0x19a46a skipping event data... (oops) map_group is: 2 map_id is: 4 event header address is: 0x19a4fe skipping event data... (oops) map_group is: 2 map_id is: 5 event header address is: 0x1a95c9 parsing xy trigger byte scripts... x=24 y=14 parsing command byte 0x75 for map 2.5 at 0x1a9218 info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0xf for map 2.5 at 0x1a921b info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x85 for map 2.5 at 0x1a921e info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0x14 for map 2.5 at 0x1a921f info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0x69 for map 2.5 at 0x1a9221 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x53 for map 2.5 at 0x1a9224 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x6e for map 2.5 at 0x1a9225 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x8b for map 2.5 at 0x1a9227 info: Deactive static facing after time [xx] long_info: Deactivates static facings on all persons on the screen after a time xx. [8B][xx] parsing command byte 0x14 for map 2.5 at 0x1a9229 info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0x32 for map 2.5 at 0x1a922b info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x12 for map 2.5 at 0x1a922e info: Activate trigger event from afar [xx][yy][zz] long_info: Changes trigger event number on map (map bank/map no) to xx. xx = trigger event number that should be activated [12][MapBank][MapNo][xx] parsing command byte 0x91 for map 2.5 at 0x1a9232 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=4 y=10 parsing command byte 0x53 for map 2.5 at 0x1a933d info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x37 for map 2.5 at 0x1a933e info: Turn off wild pokemon battles long_info: This code turns all wild PKMN battles off. [37] parsing command byte 0x55 for map 2.5 at 0x1a933f info: Display a pokemon picture in a box by pokemon id [xx] long_info: Opens a box and puts a Pokémon picture into it. [55][xx] xx: <>00 : Pokémon no =00 : Pokémon no gets read from RAM parsing command byte 0x5f for map 2.5 at 0x1a9341 info: Return to in-game engine after battle long_info: Returns to ingame engine and evaluates battle. When lost then return to last Pokémon Center etc. parsing command byte 0x55 for map 2.5 at 0x1a9342 info: Display a pokemon picture in a box by pokemon id [xx] long_info: Opens a box and puts a Pokémon picture into it. [55][xx] xx: <>00 : Pokémon no =00 : Pokémon no gets read from RAM parsing command byte 0x80 for map 2.5 at 0x1a9344 info: Music fade-out then play next [xxyy][time] long_info: The current music is faded out and the new music is played afterwards. [80][Music no (2byte)][Time to fade out (00-7F)] parsing command byte 0x55 for map 2.5 at 0x1a9348 info: Display a pokemon picture in a box by pokemon id [xx] long_info: Opens a box and puts a Pokémon picture into it. [55][xx] xx: <>00 : Pokémon no =00 : Pokémon no gets read from RAM parsing command byte 0x1 for map 2.5 at 0x1a934a info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x15 for map 2.5 at 0x1a934e info: Load variable into RAM [xx] long_info: [15][xx] parsing command byte 0x16 for map 2.5 at 0x1a9350 info: Add variables [xx] long_info: Adds xx and the variable in RAM. [16][xx] parsing command byte 0x17 for map 2.5 at 0x1a9352 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x0 for map 2.5 at 0x1a9354 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x35 for map 2.5 at 0x1a9357 info: Reset (to 0) a bit on bit table 2 [xxyy] long_info: Sets a bit of BitTable2 to value 0. [35][Bit no (2byte)] parsing command byte 0x37 for map 2.5 at 0x1a935a info: Turn off wild pokemon battles long_info: This code turns all wild PKMN battles off. [37] parsing command byte 0x37 for map 2.5 at 0x1a935b info: Turn off wild pokemon battles long_info: This code turns all wild PKMN battles off. [37] parsing command byte 0x37 for map 2.5 at 0x1a935c info: Turn off wild pokemon battles long_info: This code turns all wild PKMN battles off. [37] parsing command byte 0x38 for map 2.5 at 0x1a935d info: Turn no wild pokemon battles long_info: This code turns all wild PKMN battles on. parsing command byte 0x47 for map 2.5 at 0x1a935e info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x0 for map 2.5 at 0x1a935f info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xb3 for map 2.5 at 0x1a9362 info: None long_info: None parsing signpost script.. signpost is at: x=7 y=5 parsing command byte 0x53 for map 2.5 at 0x1a9340 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x5f for map 2.5 at 0x1a9341 info: Return to in-game engine after battle long_info: Returns to ingame engine and evaluates battle. When lost then return to last Pokémon Center etc. parsing command byte 0x55 for map 2.5 at 0x1a9342 info: Display a pokemon picture in a box by pokemon id [xx] long_info: Opens a box and puts a Pokémon picture into it. [55][xx] xx: <>00 : Pokémon no =00 : Pokémon no gets read from RAM parsing command byte 0x80 for map 2.5 at 0x1a9344 info: Music fade-out then play next [xxyy][time] long_info: The current music is faded out and the new music is played afterwards. [80][Music no (2byte)][Time to fade out (00-7F)] parsing command byte 0x55 for map 2.5 at 0x1a9348 info: Display a pokemon picture in a box by pokemon id [xx] long_info: Opens a box and puts a Pokémon picture into it. [55][xx] xx: <>00 : Pokémon no =00 : Pokémon no gets read from RAM parsing command byte 0x1 for map 2.5 at 0x1a934a info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x15 for map 2.5 at 0x1a934e info: Load variable into RAM [xx] long_info: [15][xx] parsing command byte 0x16 for map 2.5 at 0x1a9350 info: Add variables [xx] long_info: Adds xx and the variable in RAM. [16][xx] parsing command byte 0x17 for map 2.5 at 0x1a9352 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x0 for map 2.5 at 0x1a9354 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x35 for map 2.5 at 0x1a9357 info: Reset (to 0) a bit on bit table 2 [xxyy] long_info: Sets a bit of BitTable2 to value 0. [35][Bit no (2byte)] parsing command byte 0x37 for map 2.5 at 0x1a935a info: Turn off wild pokemon battles long_info: This code turns all wild PKMN battles off. [37] parsing command byte 0x37 for map 2.5 at 0x1a935b info: Turn off wild pokemon battles long_info: This code turns all wild PKMN battles off. [37] parsing command byte 0x37 for map 2.5 at 0x1a935c info: Turn off wild pokemon battles long_info: This code turns all wild PKMN battles off. [37] parsing command byte 0x38 for map 2.5 at 0x1a935d info: Turn no wild pokemon battles long_info: This code turns all wild PKMN battles on. parsing command byte 0x47 for map 2.5 at 0x1a935e info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x0 for map 2.5 at 0x1a935f info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xb3 for map 2.5 at 0x1a9362 info: None long_info: None parsing signpost script.. signpost is at: x=45 y=9 parsing command byte 0x53 for map 2.5 at 0x1a9343 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x80 for map 2.5 at 0x1a9344 info: Music fade-out then play next [xxyy][time] long_info: The current music is faded out and the new music is played afterwards. [80][Music no (2byte)][Time to fade out (00-7F)] parsing command byte 0x55 for map 2.5 at 0x1a9348 info: Display a pokemon picture in a box by pokemon id [xx] long_info: Opens a box and puts a Pokémon picture into it. [55][xx] xx: <>00 : Pokémon no =00 : Pokémon no gets read from RAM parsing command byte 0x1 for map 2.5 at 0x1a934a info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x15 for map 2.5 at 0x1a934e info: Load variable into RAM [xx] long_info: [15][xx] parsing command byte 0x16 for map 2.5 at 0x1a9350 info: Add variables [xx] long_info: Adds xx and the variable in RAM. [16][xx] parsing command byte 0x17 for map 2.5 at 0x1a9352 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x0 for map 2.5 at 0x1a9354 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x35 for map 2.5 at 0x1a9357 info: Reset (to 0) a bit on bit table 2 [xxyy] long_info: Sets a bit of BitTable2 to value 0. [35][Bit no (2byte)] parsing command byte 0x37 for map 2.5 at 0x1a935a info: Turn off wild pokemon battles long_info: This code turns all wild PKMN battles off. [37] parsing command byte 0x37 for map 2.5 at 0x1a935b info: Turn off wild pokemon battles long_info: This code turns all wild PKMN battles off. [37] parsing command byte 0x37 for map 2.5 at 0x1a935c info: Turn off wild pokemon battles long_info: This code turns all wild PKMN battles off. [37] parsing command byte 0x38 for map 2.5 at 0x1a935d info: Turn no wild pokemon battles long_info: This code turns all wild PKMN battles on. parsing command byte 0x47 for map 2.5 at 0x1a935e info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x0 for map 2.5 at 0x1a935f info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xb3 for map 2.5 at 0x1a9362 info: None long_info: None parsing signpost script.. signpost is at: x=54 y=8 parsing command byte 0x53 for map 2.5 at 0x1a9346 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xa1 for map 2.5 at 0x1a9347 info: Warp-to and set facing direction [Facing (00-03)][Map bank][Map no][X][Y] long_info: Acts like code 0x3C but defines the desired facing of HIRO. [A1][Facing (00-03)][Map bank][Map no][X][Y] parsing command byte 0x9b for map 2.5 at 0x1a934d info: Cell phone call [call id][00] long_info: Initiates with the next step on a outer world map (permission byte) a phone call. [9B][Call no][00] call no: 01 = PokéRus 02 = Pokémon stolen 03 = Egg examined/ Assistant in Viola City 04 = Team Rocket on the radio 05 = PROF. ELM has got something for HIRO 06 = Bike shop gives bike away 07 = Mother is unhappy that HIRO didn't talk to her before leaving 08 = PROF. ELM has got something for HIRO a second time parsing command byte 0x16 for map 2.5 at 0x1a9350 info: Add variables [xx] long_info: Adds xx and the variable in RAM. [16][xx] parsing command byte 0x17 for map 2.5 at 0x1a9352 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x0 for map 2.5 at 0x1a9354 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x35 for map 2.5 at 0x1a9357 info: Reset (to 0) a bit on bit table 2 [xxyy] long_info: Sets a bit of BitTable2 to value 0. [35][Bit no (2byte)] parsing command byte 0x37 for map 2.5 at 0x1a935a info: Turn off wild pokemon battles long_info: This code turns all wild PKMN battles off. [37] parsing command byte 0x37 for map 2.5 at 0x1a935b info: Turn off wild pokemon battles long_info: This code turns all wild PKMN battles off. [37] parsing command byte 0x37 for map 2.5 at 0x1a935c info: Turn off wild pokemon battles long_info: This code turns all wild PKMN battles off. [37] parsing command byte 0x38 for map 2.5 at 0x1a935d info: Turn no wild pokemon battles long_info: This code turns all wild PKMN battles on. parsing command byte 0x47 for map 2.5 at 0x1a935e info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x0 for map 2.5 at 0x1a935f info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xb3 for map 2.5 at 0x1a9362 info: None long_info: None parsing signpost script.. signpost is at: x=16 y=11 parsing command byte 0xad for map 2.5 at 0x1a9353 info: None long_info: None skipping event data... (oops) parsing command byte 0x91 for map 2.5 at 0x1a9216 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 2.5 at 0x1a9217 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 2 map_id is: 6 event header address is: 0x19dff6 parsing signpost script.. signpost is at: x=53 y=7 parsing command byte 0x53 for map 2.6 at 0x19da3a info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xb3 for map 2.6 at 0x19da3b info: None long_info: None parsing signpost script.. signpost is at: x=6 y=10 parsing command byte 0x53 for map 2.6 at 0x19da3d info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xcc for map 2.6 at 0x19da3e info: None long_info: None parsing signpost script.. signpost is at: x=32 y=9 parsing command byte 0xae for map 2.6 at 0x19da48 info: None long_info: None skipping event data... (oops) map_group is: 2 map_id is: 7 event header address is: 0x1903d8 parsing xy trigger byte scripts... x=19 y=8 parsing command byte 0x75 for map 2.7 at 0x190013 info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0xf for map 2.7 at 0x190016 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0xa9 for map 2.7 at 0x190019 info: None long_info: None parsing xy trigger byte scripts... x=19 y=9 parsing command byte 0x75 for map 2.7 at 0x190013 info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0xf for map 2.7 at 0x190016 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0xa9 for map 2.7 at 0x190019 info: None long_info: None parsing signpost script.. signpost is at: x=1 y=5 parsing command byte 0x53 for map 2.7 at 0x190098 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x2e for map 2.7 at 0x190099 info: Give egg [xx][yy] long_info: Gives egg if there's space. feedback: 00 = OK 02 = transaction not complete [2E][PKMN][PKMNlvl] parsing command byte 0x5e for map 2.7 at 0x19009c info: Start pre-configured battle long_info: Starts trainer or Pokémon battle. BattleRAM: 80 = Poké battle; 81 = Trainer battle. feedback: 00 = win 01 = lose parsing command byte 0x43 for map 2.7 at 0x19009d info: Copy trainer name (by id&group) to memZ [xx][yy][zz] long_info: Writes trainer name to MEMORY1, 2 or 3 for later use in text. [43][Trainer number][Trainer group][00-02 MEMORY] parsing command byte 0xc for map 2.7 at 0x1900a1 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=9 y=7 parsing command byte 0x53 for map 2.7 at 0x19009b info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x5e for map 2.7 at 0x19009c info: Start pre-configured battle long_info: Starts trainer or Pokémon battle. BattleRAM: 80 = Poké battle; 81 = Trainer battle. feedback: 00 = win 01 = lose parsing command byte 0x43 for map 2.7 at 0x19009d info: Copy trainer name (by id&group) to memZ [xx][yy][zz] long_info: Writes trainer name to MEMORY1, 2 or 3 for later use in text. [43][Trainer number][Trainer group][00-02 MEMORY] parsing command byte 0xc for map 2.7 at 0x1900a1 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=3 y=13 parsing command byte 0x53 for map 2.7 at 0x19009e info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x91 for map 2.7 at 0x19009f info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=16 y=13 parsing command byte 0xc for map 2.7 at 0x1900a1 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) parsing command byte 0x91 for map 2.7 at 0x19000d info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 2.7 at 0x19000e info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x36 for map None.None at 0x19000f info: Set (to 1) a bit on bit table 2 [xxyy] long_info: Sets a bit of BitTable2 to value 1. [36][Bit no (2byte)] parsing command byte 0x90 for map None.None at 0x190012 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 3 map_id is: 1 event header address is: 0x184703 parsing signpost script.. signpost is at: x=7 y=15 parsing command byte 0x53 for map 3.1 at 0x184520 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xd6 for map 3.1 at 0x184521 info: None long_info: None parsing signpost script.. signpost is at: x=12 y=15 parsing command byte 0x53 for map 3.1 at 0x184520 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xd6 for map 3.1 at 0x184521 info: None long_info: None skipping event data... (oops) map_group is: 3 map_id is: 2 event header address is: 0x1848f5 parsing signpost script.. signpost is at: x=12 y=15 parsing command byte 0x53 for map 3.2 at 0x1847a4 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xc8 for map 3.2 at 0x1847a5 info: None long_info: None skipping event data... (oops) map_group is: 3 map_id is: 3 event header address is: 0x184f8e parsing xy trigger byte scripts... x=11 y=9 parsing command byte 0x76 for map 3.3 at 0x184947 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x75 for map 3.3 at 0x18494a info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0xf for map 3.3 at 0x18494d info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x0 for map 3.3 at 0x184950 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 3.3 at 0x184953 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 3.3 at 0x184956 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x8b for map 3.3 at 0x184959 info: Deactive static facing after time [xx] long_info: Deactivates static facings on all persons on the screen after a time xx. [8B][xx] parsing command byte 0x85 for map 3.3 at 0x18495b info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0x41 for map 3.3 at 0x18495c info: Copy item name (by id) to memX [id][xx] long_info: Writes item name to MEMORY1, 2 or 3 for later use in text. [41][Item no][00-02 MEMORY] parsing command byte 0x6e for map 3.3 at 0x18495f info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x78 for map 3.3 at 0x184961 info: Draw map data over current map [bank][pointer] long_info: This code draws another whole map as wide and high as the current map over the current map. The 3byte pointer points to the new map. [78][3byte pointer to new map data] parsing command byte 0x1d for map 3.3 at 0x184965 info: Write to pre-ID-mapped RAM location [xx] long_info: Writes variable from RAM to special game-technical value offsets. [1D][following part] where [following part] is the same as 0x1C parsing command byte 0x69 for map 3.3 at 0x184967 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x4a for map 3.3 at 0x18496a info: Load specific byte to $C1CE [xx] long_info: Loads a byte to C1CE. Seems to have no function in the game. [4A][Byte] parsing command byte 0x4c for map 3.3 at 0x18496c info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 3.3 at 0x18496f info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 3.3 at 0x184970 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x75 for map 3.3 at 0x184971 info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0xf for map 3.3 at 0x184974 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x0 for map 3.3 at 0x184977 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x69 for map 3.3 at 0x18497a info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x4a for map 3.3 at 0x18497d info: Load specific byte to $C1CE [xx] long_info: Loads a byte to C1CE. Seems to have no function in the game. [4A][Byte] parsing command byte 0x1f for map 3.3 at 0x18497f info: Give item by id and quantity [xx][yy] long_info: Gives item (item no) amount times. feedback: 00 = bag full 01 = OK [1F][item no][amount] parsing command byte 0x4c for map 3.3 at 0x184982 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 3.3 at 0x184985 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 3.3 at 0x184986 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x76 for map 3.3 at 0x184987 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x47 for map 3.3 at 0x18498a info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 3.3 at 0x18498b info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x8b for map 3.3 at 0x18498e info: Deactive static facing after time [xx] long_info: Deactivates static facings on all persons on the screen after a time xx. [8B][xx] parsing command byte 0x49 for map 3.3 at 0x184990 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x85 for map 3.3 at 0x184991 info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0x13 for map 3.3 at 0x184992 info: Trigger event check long_info: Checks the number of the trigger events on the current map. [13] parsing command byte 0x0 for map 3.3 at 0x184993 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 3.3 at 0x184996 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 3.3 at 0x184999 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x86 for map 3.3 at 0x18499c info: Warp sound long_info: Evaluates which sound is played when HIRO enters a Warp field. Usage via script ingame is rather not useful. [86] parsing command byte 0xf for map 3.3 at 0x18499d info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x14 for map 3.3 at 0x1849a0 info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0xf for map 3.3 at 0x1849a2 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x91 for map 3.3 at 0x1849a5 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=8 y=1 parsing command byte 0x53 for map 3.3 at 0x184a16 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x61 for map 3.3 at 0x184a17 info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0x12 for map 3.3 at 0x184a19 info: Activate trigger event from afar [xx][yy][zz] long_info: Changes trigger event number on map (map bank/map no) to xx. xx = trigger event number that should be activated [12][MapBank][MapNo][xx] parsing command byte 0xd for map 3.3 at 0x184a1d info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0xd for map 3.3 at 0x184a20 info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0x47 for map 3.3 at 0x184a23 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0xf for map 3.3 at 0x184a24 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x0 for map 3.3 at 0x184a27 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x83 for map 3.3 at 0x184a2a info: Play cry by id or RAM [cry][00] long_info: Plays the Pokémon's cry. [83][Cry no][00] If the cry no = 00 then the number is taken from RAM. parsing command byte 0x9c for map 3.3 at 0x184a2d info: Check if/which a phone call is active long_info: Checks if a phone call is "in the line". feedback: 00 = no <>00 = call number [9C] parsing command byte 0x7f for map 3.3 at 0x184a2e info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0x98 for map 3.3 at 0x184a2f info: Hang-up phone long_info: Simulates the hanging-up. [98] parsing command byte 0xae for map 3.3 at 0x184a30 info: None long_info: None parsing signpost script.. signpost is at: x=11 y=1 parsing command byte 0x53 for map 3.3 at 0x184a16 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x61 for map 3.3 at 0x184a17 info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0x12 for map 3.3 at 0x184a19 info: Activate trigger event from afar [xx][yy][zz] long_info: Changes trigger event number on map (map bank/map no) to xx. xx = trigger event number that should be activated [12][MapBank][MapNo][xx] parsing command byte 0xd for map 3.3 at 0x184a1d info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0xd for map 3.3 at 0x184a20 info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0x47 for map 3.3 at 0x184a23 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0xf for map 3.3 at 0x184a24 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x0 for map 3.3 at 0x184a27 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x83 for map 3.3 at 0x184a2a info: Play cry by id or RAM [cry][00] long_info: Plays the Pokémon's cry. [83][Cry no][00] If the cry no = 00 then the number is taken from RAM. parsing command byte 0x9c for map 3.3 at 0x184a2d info: Check if/which a phone call is active long_info: Checks if a phone call is "in the line". feedback: 00 = no <>00 = call number [9C] parsing command byte 0x7f for map 3.3 at 0x184a2e info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0x98 for map 3.3 at 0x184a2f info: Hang-up phone long_info: Simulates the hanging-up. [98] parsing command byte 0xae for map 3.3 at 0x184a30 info: None long_info: None parsing signpost script.. signpost is at: x=9 y=0 parsing command byte 0x53 for map 3.3 at 0x184a13 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x37 for map 3.3 at 0x184a14 info: Turn off wild pokemon battles long_info: This code turns all wild PKMN battles off. [37] parsing command byte 0x4f for map 3.3 at 0x184a15 info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x4f for map 3.3 at 0x184a18 info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x13 for map 3.3 at 0x184a1b info: Trigger event check long_info: Checks the number of the trigger events on the current map. [13] parsing command byte 0x1 for map 3.3 at 0x184a1c info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0xd for map 3.3 at 0x184a20 info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0x47 for map 3.3 at 0x184a23 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0xf for map 3.3 at 0x184a24 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x0 for map 3.3 at 0x184a27 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x83 for map 3.3 at 0x184a2a info: Play cry by id or RAM [cry][00] long_info: Plays the Pokémon's cry. [83][Cry no][00] If the cry no = 00 then the number is taken from RAM. parsing command byte 0x9c for map 3.3 at 0x184a2d info: Check if/which a phone call is active long_info: Checks if a phone call is "in the line". feedback: 00 = no <>00 = call number [9C] parsing command byte 0x7f for map 3.3 at 0x184a2e info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0x98 for map 3.3 at 0x184a2f info: Hang-up phone long_info: Simulates the hanging-up. [98] parsing command byte 0xae for map 3.3 at 0x184a30 info: None long_info: None parsing signpost script.. signpost is at: x=10 y=0 parsing command byte 0x53 for map 3.3 at 0x184a13 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x37 for map 3.3 at 0x184a14 info: Turn off wild pokemon battles long_info: This code turns all wild PKMN battles off. [37] parsing command byte 0x4f for map 3.3 at 0x184a15 info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x4f for map 3.3 at 0x184a18 info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x13 for map 3.3 at 0x184a1b info: Trigger event check long_info: Checks the number of the trigger events on the current map. [13] parsing command byte 0x1 for map 3.3 at 0x184a1c info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0xd for map 3.3 at 0x184a20 info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0x47 for map 3.3 at 0x184a23 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0xf for map 3.3 at 0x184a24 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x0 for map 3.3 at 0x184a27 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x83 for map 3.3 at 0x184a2a info: Play cry by id or RAM [cry][00] long_info: Plays the Pokémon's cry. [83][Cry no][00] If the cry no = 00 then the number is taken from RAM. parsing command byte 0x9c for map 3.3 at 0x184a2d info: Check if/which a phone call is active long_info: Checks if a phone call is "in the line". feedback: 00 = no <>00 = call number [9C] parsing command byte 0x7f for map 3.3 at 0x184a2e info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0x98 for map 3.3 at 0x184a2f info: Hang-up phone long_info: Simulates the hanging-up. [98] parsing command byte 0xae for map 3.3 at 0x184a30 info: None long_info: None parsing signpost script.. signpost is at: x=5 y=15 parsing command byte 0x53 for map 3.3 at 0x184a16 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x61 for map 3.3 at 0x184a17 info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0x12 for map 3.3 at 0x184a19 info: Activate trigger event from afar [xx][yy][zz] long_info: Changes trigger event number on map (map bank/map no) to xx. xx = trigger event number that should be activated [12][MapBank][MapNo][xx] parsing command byte 0xd for map 3.3 at 0x184a1d info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0xd for map 3.3 at 0x184a20 info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0x47 for map 3.3 at 0x184a23 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0xf for map 3.3 at 0x184a24 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x0 for map 3.3 at 0x184a27 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x83 for map 3.3 at 0x184a2a info: Play cry by id or RAM [cry][00] long_info: Plays the Pokémon's cry. [83][Cry no][00] If the cry no = 00 then the number is taken from RAM. parsing command byte 0x9c for map 3.3 at 0x184a2d info: Check if/which a phone call is active long_info: Checks if a phone call is "in the line". feedback: 00 = no <>00 = call number [9C] parsing command byte 0x7f for map 3.3 at 0x184a2e info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0x98 for map 3.3 at 0x184a2f info: Hang-up phone long_info: Simulates the hanging-up. [98] parsing command byte 0xae for map 3.3 at 0x184a30 info: None long_info: None parsing signpost script.. signpost is at: x=14 y=15 parsing command byte 0x53 for map 3.3 at 0x184a16 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x61 for map 3.3 at 0x184a17 info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0x12 for map 3.3 at 0x184a19 info: Activate trigger event from afar [xx][yy][zz] long_info: Changes trigger event number on map (map bank/map no) to xx. xx = trigger event number that should be activated [12][MapBank][MapNo][xx] parsing command byte 0xd for map 3.3 at 0x184a1d info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0xd for map 3.3 at 0x184a20 info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0x47 for map 3.3 at 0x184a23 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0xf for map 3.3 at 0x184a24 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x0 for map 3.3 at 0x184a27 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x83 for map 3.3 at 0x184a2a info: Play cry by id or RAM [cry][00] long_info: Plays the Pokémon's cry. [83][Cry no][00] If the cry no = 00 then the number is taken from RAM. parsing command byte 0x9c for map 3.3 at 0x184a2d info: Check if/which a phone call is active long_info: Checks if a phone call is "in the line". feedback: 00 = no <>00 = call number [9C] parsing command byte 0x7f for map 3.3 at 0x184a2e info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0x98 for map 3.3 at 0x184a2f info: Hang-up phone long_info: Simulates the hanging-up. [98] parsing command byte 0xae for map 3.3 at 0x184a30 info: None long_info: None skipping event data... (oops) parsing command byte 0x91 for map 3.3 at 0x184945 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 3.3 at 0x184946 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 3 map_id is: 4 event header address is: 0x18598c skipping event data... (oops) parsing command byte 0x8d for map 3.4 at 0x18502a info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0x8f for map 3.4 at 0x18502b info: Return code 1 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions are not affected and run like before the code. This code is mostly used for scripts called by the 2nd part of the script header, because else malfunctions occur. [8F] parsing command byte 0x91 for map 3.4 at 0x18502e info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x31 for map None.None at 0x18502f info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map None.None at 0x185032 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x31 for map None.None at 0x185035 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x8 for map None.None at 0x185038 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0xf for map None.None at 0x18503b info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x8 for map None.None at 0x18503e info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x32 for map None.None at 0x185041 info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x33 for map None.None at 0x185044 info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x31 for map None.None at 0x185047 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x8 for map None.None at 0x18504a info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x6f for map None.None at 0x18504d info: Following code1 [leader id][follower id] long_info: A person1 follows another person2. The person1 that follows just repeats the movement of person2, even if the persons are not directly next to each other. [6F][Leader Person2][Follower Person1] parsing command byte 0x31 for map None.None at 0x185050 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map None.None at 0x185053 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x6f for map None.None at 0x185056 info: Following code1 [leader id][follower id] long_info: A person1 follows another person2. The person1 that follows just repeats the movement of person2, even if the persons are not directly next to each other. [6F][Leader Person2][Follower Person1] parsing command byte 0xf3 for map None.None at 0x185059 info: None long_info: None parsing command byte 0x31 for map None.None at 0x185084 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map None.None at 0x185087 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x7a for map None.None at 0x18508a info: Reload/redisplay map long_info: Reloads and re-displays the map completely. Loads tileset and all map data anew. Screen gets light. [7A] parsing command byte 0xa for map None.None at 0x18508b info: RAM check [ return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x5e for map 3.7 at 0x185a7d info: Start pre-configured battle long_info: Starts trainer or Pokémon battle. BattleRAM: 80 = Poké battle; 81 = Trainer battle. feedback: 00 = win 01 = lose parsing command byte 0x5a for map 3.7 at 0x185a7e info: ? Disable fleeing from battle long_info: Deletes the value in BattleRAM. Turns off the check if the battle was started by entering a trainer's area of view. parsing command byte 0x3 for map 3.7 at 0x185a7f info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x12 for map 3.7 at 0x185a82 info: Activate trigger event from afar [xx][yy][zz] long_info: Changes trigger event number on map (map bank/map no) to xx. xx = trigger event number that should be activated [12][MapBank][MapNo][xx] parsing command byte 0xff for map 3.7 at 0x185a86 info: None long_info: None skipping event data... (oops) map_group is: 3 map_id is: 8 event header address is: 0x185ab1 parsing signpost script.. signpost is at: x=16 y=14 parsing command byte 0x7e for map 3.8 at 0x185aab info: Play music by number [xxyy] long_info: Immediately plays the music. [7E][Music no (2byte)] Music no: See the music archive that should accompany this document Thanks to Filb. He dumped all the songs via gameboy player and gave them to me. parsing command byte 0x7f for map 3.8 at 0x185aae info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0x0 for map 3.8 at 0x185aaf info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 3.8 at 0x185ab2 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xb for map 3.8 at 0x185ab5 info: RAM check [>byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x9 for map 3.8 at 0x185ab8 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x1 for map 3.8 at 0x185abb info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x2 for map 3.8 at 0x185abf info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x7 for map 3.8 at 0x185ac2 info: RAM check [<>byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4 for map 3.8 at 0x185ac5 info: pointer code long_info: 3byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x2 for map 3.8 at 0x185ac9 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x7 for map 3.8 at 0x185acc info: RAM check [<>byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0xf for map 3.8 at 0x185acf info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0xae for map 3.8 at 0x185ad2 info: None long_info: None parsing signpost script.. signpost is at: x=3 y=15 parsing command byte 0x7f for map 3.8 at 0x185aae info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0x0 for map 3.8 at 0x185aaf info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 3.8 at 0x185ab2 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xb for map 3.8 at 0x185ab5 info: RAM check [>byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x9 for map 3.8 at 0x185ab8 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x1 for map 3.8 at 0x185abb info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x2 for map 3.8 at 0x185abf info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x7 for map 3.8 at 0x185ac2 info: RAM check [<>byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4 for map 3.8 at 0x185ac5 info: pointer code long_info: 3byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x2 for map 3.8 at 0x185ac9 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x7 for map 3.8 at 0x185acc info: RAM check [<>byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0xf for map 3.8 at 0x185acf info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0xae for map 3.8 at 0x185ad2 info: None long_info: None skipping event data... (oops) map_group is: 3 map_id is: 9 event header address is: 0x185ae6 skipping event data... (oops) map_group is: 3 map_id is: 10 event header address is: 0x185b07 skipping event data... (oops) map_group is: 3 map_id is: 11 event header address is: 0x185b3b skipping event data... (oops) map_group is: 3 map_id is: 12 event header address is: 0x185bab skipping event data... (oops) map_group is: 3 map_id is: 13 event header address is: 0x1860b2 parsing xy trigger byte scripts... x=11 y=9 parsing command byte 0x75 for map 3.13 at 0x185c25 info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0xf for map 3.13 at 0x185c28 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x0 for map 3.13 at 0x185c2b info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x76 for map 3.13 at 0x185c2e info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x8b for map 3.13 at 0x185c31 info: Deactive static facing after time [xx] long_info: Deactivates static facings on all persons on the screen after a time xx. [8B][xx] parsing command byte 0x69 for map 3.13 at 0x185c33 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x5c for map 3.13 at 0x185c36 info: Loads pokemon by id and level for BattleRAM [xx][yy] long_info: Loads Pokémon data. Writes 80 to BattleRAM. [5C][Poke no][Level] parsing command byte 0xcf for map 3.13 at 0x185c39 info: None long_info: None parsing signpost script.. signpost is at: x=8 y=7 parsing command byte 0x80 for map 3.13 at 0x185cc5 info: Music fade-out then play next [xxyy][time] long_info: The current music is faded out and the new music is played afterwards. [80][Music no (2byte)][Time to fade out (00-7F)] parsing command byte 0x0 for map 3.13 at 0x185cc9 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x1 for map 3.13 at 0x185ccc info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x47 for map 3.13 at 0x185cd0 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x59 for map 3.13 at 0x185cd1 info: Load pikachu data long_info: Loads 0x19 (Pikachu) to PokéRAM and level 5 to LevelRAM. parsing command byte 0x47 for map 3.13 at 0x185cd2 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0xc for map 3.13 at 0x185cd3 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=13 y=11 parsing command byte 0xff for map 3.13 at 0x185cc8 info: None long_info: None skipping event data... (oops) parsing command byte 0x8d for map 3.13 at 0x185bf2 info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0xd for map 3.13 at 0x185bf3 info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0x91 for map 3.13 at 0x185bf6 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 3.13 at 0x185bf6 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 3.13 at 0x185bf7 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x31 for map None.None at 0x185bf8 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map None.None at 0x185bfb info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x7a for map None.None at 0x185bfe info: Reload/redisplay map long_info: Reloads and re-displays the map completely. Loads tileset and all map data anew. Screen gets light. [7A] parsing command byte 0xa for map None.None at 0x185bff info: RAM check [0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x7a for map None.None at 0x185c08 info: Reload/redisplay map long_info: Reloads and re-displays the map completely. Loads tileset and all map data anew. Screen gets light. [7A] parsing command byte 0x6 for map None.None at 0x185c09 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x90 for map None.None at 0x185c0c info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 3 map_id is: 14 event header address is: 0x1863de parsing xy trigger byte scripts... x=10 y=6 parsing command byte 0x7f for map 3.14 at 0x18616b info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0x0 for map 3.14 at 0x18616c info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x1e for map 3.14 at 0x18616f info: Write byte value to pre-ID-mapped RAM location [aa][xx] long_info: Writes variable xx to special game-technical value offsets. [1E][following part][xx] where [following part] is the same as 0x1C parsing command byte 0x76 for map 3.14 at 0x186172 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x8b for map 3.14 at 0x186175 info: Deactive static facing after time [xx] long_info: Deactivates static facings on all persons on the screen after a time xx. [8B][xx] parsing command byte 0x6e for map 3.14 at 0x186177 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x8b for map 3.14 at 0x186179 info: Deactive static facing after time [xx] long_info: Deactivates static facings on all persons on the screen after a time xx. [8B][xx] parsing command byte 0x84 for map 3.14 at 0x18617b info: Play sound by sound number [xxyy] long_info: Plays the sound. [84][Sound no (2byte)] Sound no: See the music archive that should accompany this document Thanks to philb for this matter. He helped me to record a big part of these sounds. parsing command byte 0x6f for map 3.14 at 0x18617e info: Following code1 [leader id][follower id] long_info: A person1 follows another person2. The person1 that follows just repeats the movement of person2, even if the persons are not directly next to each other. [6F][Leader Person2][Follower Person1] parsing command byte 0x0 for map 3.14 at 0x186181 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x5 for map 3.14 at 0x186184 info: pointer code long_info: 2byte pointer points to 3byte pointer; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x8b for map 3.14 at 0x186187 info: Deactive static facing after time [xx] long_info: Deactivates static facings on all persons on the screen after a time xx. [8B][xx] parsing command byte 0x84 for map 3.14 at 0x186189 info: Play sound by sound number [xxyy] long_info: Plays the sound. [84][Sound no (2byte)] Sound no: See the music archive that should accompany this document Thanks to philb for this matter. He helped me to record a big part of these sounds. parsing command byte 0x6f for map 3.14 at 0x18618c info: Following code1 [leader id][follower id] long_info: A person1 follows another person2. The person1 that follows just repeats the movement of person2, even if the persons are not directly next to each other. [6F][Leader Person2][Follower Person1] parsing command byte 0x0 for map 3.14 at 0x18618f info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x5 for map 3.14 at 0x186192 info: pointer code long_info: 2byte pointer points to 3byte pointer; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x8b for map 3.14 at 0x186195 info: Deactive static facing after time [xx] long_info: Deactivates static facings on all persons on the screen after a time xx. [8B][xx] parsing command byte 0x84 for map 3.14 at 0x186197 info: Play sound by sound number [xxyy] long_info: Plays the sound. [84][Sound no (2byte)] Sound no: See the music archive that should accompany this document Thanks to philb for this matter. He helped me to record a big part of these sounds. parsing command byte 0x8b for map 3.14 at 0x18619a info: Deactive static facing after time [xx] long_info: Deactivates static facings on all persons on the screen after a time xx. [8B][xx] parsing command byte 0x85 for map 3.14 at 0x18619c info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0x14 for map 3.14 at 0x18619d info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0x76 for map 3.14 at 0x18619f info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x69 for map 3.14 at 0x1861a2 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x62 for map 3.14 at 0x1861a5 info: ? Check trainer status [xx] long_info: Checks/changes the status of a in the event structure defined trainer. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau [62][xx] xx is: 00 = deactivate 01 = activate 02 = check parsing command byte 0x3 for map 3.14 at 0x1861a7 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x14 for map 3.14 at 0x1861aa info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0x76 for map 3.14 at 0x1861ac info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x69 for map 3.14 at 0x1861af info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x62 for map 3.14 at 0x1861b2 info: ? Check trainer status [xx] long_info: Checks/changes the status of a in the event structure defined trainer. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau [62][xx] xx is: 00 = deactivate 01 = activate 02 = check parsing command byte 0x4 for map 3.14 at 0x1861b4 info: pointer code long_info: 3byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x85 for map 3.14 at 0x1861b8 info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0x14 for map 3.14 at 0x1861b9 info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0x76 for map 3.14 at 0x1861bb info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x69 for map 3.14 at 0x1861be info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x62 for map 3.14 at 0x1861c1 info: ? Check trainer status [xx] long_info: Checks/changes the status of a in the event structure defined trainer. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau [62][xx] xx is: 00 = deactivate 01 = activate 02 = check parsing command byte 0x14 for map 3.14 at 0x1861c3 info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0x76 for map 3.14 at 0x1861c5 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x69 for map 3.14 at 0x1861c8 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x62 for map 3.14 at 0x1861cb info: ? Check trainer status [xx] long_info: Checks/changes the status of a in the event structure defined trainer. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau [62][xx] xx is: 00 = deactivate 01 = activate 02 = check parsing command byte 0x0 for map 3.14 at 0x1861cd info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x14 for map 3.14 at 0x1861d0 info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0xf5 for map 3.14 at 0x1861d2 info: None long_info: None skipping event data... (oops) parsing command byte 0x91 for map 3.14 at 0x18615e info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 3.14 at 0x18615f info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x31 for map None.None at 0x186160 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map None.None at 0x186163 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x7a for map None.None at 0x186166 info: Reload/redisplay map long_info: Reloads and re-displays the map completely. Loads tileset and all map data anew. Screen gets light. [7A] parsing command byte 0x6 for map None.None at 0x186167 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x90 for map None.None at 0x18616a info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 3 map_id is: 15 event header address is: 0x5c806 parsing signpost script.. signpost is at: x=14 y=44 parsing command byte 0x53 for map 3.15 at 0x5c1c3 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x50 for map 3.15 at 0x5c1c4 info: Write screen backup long_info: Writes backup of parts of the screen the box was overlapping. parsing command byte 0x47 for map 3.15 at 0x5c1c5 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x53 for map 3.15 at 0x5c1c6 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x71 for map 3.15 at 0x5c1c7 info: Move person by id to xy [id][xx][yy] long_info: Sets the X/Y values of a person anew. The person doesn't get shown immediately. Use hide&show. [71][Person][X][Y] parsing command byte 0x47 for map 3.15 at 0x5c1cb info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0xd for map 3.15 at 0x5c1cc info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0x1 for map 3.15 at 0x5c1cf info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x0 for map 3.15 at 0x5c1d3 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xae for map 3.15 at 0x5c1d6 info: None long_info: None parsing signpost script.. signpost is at: x=27 y=31 parsing command byte 0x53 for map 3.15 at 0x5c1c6 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x71 for map 3.15 at 0x5c1c7 info: Move person by id to xy [id][xx][yy] long_info: Sets the X/Y values of a person anew. The person doesn't get shown immediately. Use hide&show. [71][Person][X][Y] parsing command byte 0x47 for map 3.15 at 0x5c1cb info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0xd for map 3.15 at 0x5c1cc info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0x1 for map 3.15 at 0x5c1cf info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x0 for map 3.15 at 0x5c1d3 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xae for map 3.15 at 0x5c1d6 info: None long_info: None parsing signpost script.. signpost is at: x=6 y=47 parsing command byte 0x84 for map 3.15 at 0x5c1d0 info: Play sound by sound number [xxyy] long_info: Plays the sound. [84][Sound no (2byte)] Sound no: See the music archive that should accompany this document Thanks to philb for this matter. He helped me to record a big part of these sounds. parsing command byte 0x0 for map 3.15 at 0x5c1d3 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xae for map 3.15 at 0x5c1d6 info: None long_info: None parsing signpost script.. signpost is at: x=12 y=4 parsing command byte 0x53 for map 3.15 at 0x5c1c9 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xc6 for map 3.15 at 0x5c1ca info: None long_info: None skipping event data... (oops) map_group is: 3 map_id is: 16 event header address is: 0x5cc5d parsing signpost script.. signpost is at: x=14 y=44 parsing command byte 0x53 for map 3.16 at 0x5c93c info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xa7 for map 3.16 at 0x5c93d info: None long_info: None parsing signpost script.. signpost is at: x=27 y=31 parsing command byte 0x53 for map 3.16 at 0x5c93f info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xc8 for map 3.16 at 0x5c940 info: None long_info: None parsing signpost script.. signpost is at: x=6 y=47 parsing command byte 0x84 for map 3.16 at 0x5c949 info: Play sound by sound number [xxyy] long_info: Plays the sound. [84][Sound no (2byte)] Sound no: See the music archive that should accompany this document Thanks to philb for this matter. He helped me to record a big part of these sounds. parsing command byte 0x0 for map 3.16 at 0x5c94c info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x8d for map 3.16 at 0x5c94f info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0x9c for map 3.16 at 0x5c950 info: Check if/which a phone call is active long_info: Checks if a phone call is "in the line". feedback: 00 = no <>00 = call number [9C] parsing command byte 0x7f for map 3.16 at 0x5c951 info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0x88 for map 3.16 at 0x5c952 info: Engine remote control [bb][xxyy] long_info: This code controls the engine via "data stream". [88][3byte pointer to control structure] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA88 parsing command byte 0xae for map 3.16 at 0x5c956 info: None long_info: None parsing signpost script.. signpost is at: x=12 y=4 parsing command byte 0x53 for map 3.16 at 0x5c942 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x1d for map 3.16 at 0x5c943 info: Write to pre-ID-mapped RAM location [xx] long_info: Writes variable from RAM to special game-technical value offsets. [1D][following part] where [following part] is the same as 0x1C parsing command byte 0xd for map 3.16 at 0x5c945 info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0x1 for map 3.16 at 0x5c948 info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x0 for map 3.16 at 0x5c94c info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x8d for map 3.16 at 0x5c94f info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0x9c for map 3.16 at 0x5c950 info: Check if/which a phone call is active long_info: Checks if a phone call is "in the line". feedback: 00 = no <>00 = call number [9C] parsing command byte 0x7f for map 3.16 at 0x5c951 info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0x88 for map 3.16 at 0x5c952 info: Engine remote control [bb][xxyy] long_info: This code controls the engine via "data stream". [88][3byte pointer to control structure] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA88 parsing command byte 0xae for map 3.16 at 0x5c956 info: None long_info: None skipping event data... (oops) map_group is: 3 map_id is: 17 event header address is: 0x5d68e parsing signpost script.. signpost is at: x=3 y=0 parsing command byte 0x53 for map 3.17 at 0x5ce6b info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xe7 for map 3.17 at 0x5ce6c info: None long_info: None parsing signpost script.. signpost is at: x=13 y=0 parsing command byte 0x53 for map 3.17 at 0x5ce6e info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x31 for map 3.17 at 0x5ce6f info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x1 for map 3.17 at 0x5ce72 info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x47 for map 3.17 at 0x5ce76 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x0 for map 3.17 at 0x5ce77 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xab for map 3.17 at 0x5ce7a info: None long_info: None skipping event data... (oops) map_group is: 3 map_id is: 18 event header address is: 0x5e481 parsing signpost script.. signpost is at: x=3 y=0 parsing command byte 0x53 for map 3.18 at 0x5d915 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x26 for map 3.18 at 0x5d916 info: Take coins from HIRO [xxyy] long_info: Takes coins away from HIRO. yyxx = amount of coins (0000 - 270F) [26][xxyy] parsing command byte 0x30 for map 3.18 at 0x5d919 info: Check letter against known letter [xxyy] long_info: Opens a PKMN list. Selected PKMN must have the right letter + the right contents. If OK, then PKMN is taken away feedback: 00 = wrong letter 01 = OK 02 = Cancelled 03 = Chosen PKMN has no letter 04 = Chosen PKMN is the only one in the list. [30][2byte pointer to letter item no + 0x20 bytes letter text] parsing command byte 0x63 for map 3.18 at 0x5d91c info: Set win/lose pointers for battle [xxyy][xxyy] long_info: Writes the win/lose pointer of a battle into the ram. [63][2byte pointer to text Win][2byte pointer to text Loss*] * When pointer = 0000 then "Blackout" instead of return to gameplay. parsing command byte 0x8 for map 3.18 at 0x5d921 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x0 for map 3.18 at 0x5d924 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xb4 for map 3.18 at 0x5d927 info: None long_info: None parsing signpost script.. signpost is at: x=5 y=0 parsing command byte 0x53 for map 3.18 at 0x5d918 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x30 for map 3.18 at 0x5d919 info: Check letter against known letter [xxyy] long_info: Opens a PKMN list. Selected PKMN must have the right letter + the right contents. If OK, then PKMN is taken away feedback: 00 = wrong letter 01 = OK 02 = Cancelled 03 = Chosen PKMN has no letter 04 = Chosen PKMN is the only one in the list. [30][2byte pointer to letter item no + 0x20 bytes letter text] parsing command byte 0x63 for map 3.18 at 0x5d91c info: Set win/lose pointers for battle [xxyy][xxyy] long_info: Writes the win/lose pointer of a battle into the ram. [63][2byte pointer to text Win][2byte pointer to text Loss*] * When pointer = 0000 then "Blackout" instead of return to gameplay. parsing command byte 0x8 for map 3.18 at 0x5d921 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x0 for map 3.18 at 0x5d924 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xb4 for map 3.18 at 0x5d927 info: None long_info: None parsing signpost script.. signpost is at: x=9 y=1 parsing command byte 0xc for map 3.18 at 0x5d91e info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=10 y=1 parsing command byte 0xc for map 3.18 at 0x5d91e info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=11 y=1 parsing command byte 0xc for map 3.18 at 0x5d91e info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=13 y=0 parsing command byte 0x53 for map 3.18 at 0x5d91b info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x63 for map 3.18 at 0x5d91c info: Set win/lose pointers for battle [xxyy][xxyy] long_info: Writes the win/lose pointer of a battle into the ram. [63][2byte pointer to text Win][2byte pointer to text Loss*] * When pointer = 0000 then "Blackout" instead of return to gameplay. parsing command byte 0x8 for map 3.18 at 0x5d921 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x0 for map 3.18 at 0x5d924 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xb4 for map 3.18 at 0x5d927 info: None long_info: None skipping event data... (oops) map_group is: 3 map_id is: 19 event header address is: 0x5eb01 parsing signpost script.. signpost is at: x=3 y=0 parsing command byte 0x53 for map 3.19 at 0x5e61b info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xd6 for map 3.19 at 0x5e61c info: None long_info: None parsing signpost script.. signpost is at: x=9 y=0 parsing command byte 0x53 for map 3.19 at 0x5e61e info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xe4 for map 3.19 at 0x5e61f info: None long_info: None parsing signpost script.. signpost is at: x=14 y=2 parsing command byte 0x47 for map 3.19 at 0x5e5f3 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 3.19 at 0x5e5f4 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 3.19 at 0x5e5f7 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x31 for map 3.19 at 0x5e5f8 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.19 at 0x5e5fb info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x21 for map 3.19 at 0x5e5fe info: Check if player has item [xx] long_info: Checks if item is possessed. feedback: 00 = does not have item 01 = has item [21][item no] parsing command byte 0x9 for map 3.19 at 0x5e600 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x49 for map 3.19 at 0x5e603 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 3.19 at 0x5e604 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 skipping event data... (oops) parsing command byte 0x31 for map None.None at 0x5e543 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map None.None at 0x5e546 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x90 for map None.None at 0x5e549 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 3 map_id is: 20 event header address is: 0x5f01a parsing signpost script.. signpost is at: x=7 y=0 parsing command byte 0x53 for map 3.20 at 0x5ec0c info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xfe for map 3.20 at 0x5ec0d info: None long_info: None parsing signpost script.. signpost is at: x=15 y=0 parsing command byte 0x53 for map 3.20 at 0x5ec0f info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xd for map 3.20 at 0x5ec10 info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0x88 for map 3.20 at 0x5ec13 info: Engine remote control [bb][xxyy] long_info: This code controls the engine via "data stream". [88][3byte pointer to control structure] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA88 parsing command byte 0xb2 for map 3.20 at 0x5ec17 info: None long_info: None skipping event data... (oops) map_group is: 3 map_id is: 21 event header address is: 0x60906 parsing xy trigger byte scripts... x=0 y=3 parsing command byte 0x76 for map 3.21 at 0x60011 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x75 for map 3.21 at 0x60014 info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0xf for map 3.21 at 0x60017 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x28 for map 3.21 at 0x6001a info: Give cell phone number [xx] long_info: Gives number to HIRO. feedback: 00 = number was added successfully 01 = Number already added, or no memory xx = number of person [28][xx] 01 = mother 02 = bike store 03 = bll 04 = elm parsing command byte 0x54 for map 3.21 at 0x6001c info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 3.21 at 0x6001d info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x69 for map 3.21 at 0x6001e info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x41 for map 3.21 at 0x60021 info: Copy item name (by id) to memX [id][xx] long_info: Writes item name to MEMORY1, 2 or 3 for later use in text. [41][Item no][00-02 MEMORY] parsing command byte 0x0 for map 3.21 at 0x60024 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x47 for map 3.21 at 0x60027 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x41 for map 3.21 at 0x60028 info: Copy item name (by id) to memX [id][xx] long_info: Writes item name to MEMORY1, 2 or 3 for later use in text. [41][Item no][00-02 MEMORY] parsing command byte 0x64 for map 3.21 at 0x6002b info: ? Load the trainer talk-after script long_info: Interprets which script is going to be run, when a in the event-structure-defined trainer is talked to again. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau [64] parsing command byte 0x23 for map 3.21 at 0x6002c info: Take money from HIRO/account [xxyyzzaa] long_info: Takes zzyyxx money from HIRO/account. zzyyxx = amount of money (000000 - 0F423F) [23][00-HIRO/01-account][xxyyzz] parsing command byte 0x2 for map 3.21 at 0x60031 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x3 for map 3.21 at 0x60034 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x47 for map 3.21 at 0x60037 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 3.21 at 0x60038 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x55 for map 3.21 at 0x6003b info: Display a pokemon picture in a box by pokemon id [xx] long_info: Opens a box and puts a Pokémon picture into it. [55][xx] xx: <>00 : Pokémon no =00 : Pokémon no gets read from RAM parsing command byte 0x85 for map 3.21 at 0x6003d info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0x1 for map 3.21 at 0x6003e info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x33 for map 3.21 at 0x60042 info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x91 for map 3.21 at 0x60045 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing xy trigger byte scripts... x=16 y=5 parsing command byte 0x69 for map 3.21 at 0x6006e info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x41 for map 3.21 at 0x60071 info: Copy item name (by id) to memX [id][xx] long_info: Writes item name to MEMORY1, 2 or 3 for later use in text. [41][Item no][00-02 MEMORY] parsing command byte 0x0 for map 3.21 at 0x60074 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x3 for map 3.21 at 0x60077 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0xd1 for map 3.21 at 0x6007a info: None long_info: None parsing signpost script.. signpost is at: x=3 y=0 parsing command byte 0x53 for map 3.21 at 0x60100 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xe0 for map 3.21 at 0x60101 info: None long_info: None parsing signpost script.. signpost is at: x=11 y=0 parsing command byte 0x53 for map 3.21 at 0x60103 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xf9 for map 3.21 at 0x60104 info: None long_info: None parsing signpost script.. signpost is at: x=15 y=0 parsing command byte 0x53 for map 3.21 at 0x60103 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xf9 for map 3.21 at 0x60104 info: None long_info: None parsing signpost script.. signpost is at: x=16 y=1 parsing command byte 0xc for map 3.21 at 0x60106 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=17 y=1 parsing command byte 0xc for map 3.21 at 0x60106 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) parsing command byte 0x91 for map 3.21 at 0x6000e info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 3.21 at 0x6000f info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 3.21 at 0x60010 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 3 map_id is: 22 event header address is: 0x584c3 parsing xy trigger byte scripts... x=11 y=14 parsing command byte 0x76 for map 3.22 at 0x58031 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x76 for map 3.22 at 0x58034 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x3 for map 3.22 at 0x58037 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x76 for map 3.22 at 0x5803a info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x76 for map 3.22 at 0x5803d info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x3 for map 3.22 at 0x58040 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x6b for map 3.22 at 0x58043 info: Move facing direction of person1 to look at person2 [2][1] long_info: Turns the head of person1 to another person2. [6B][Person2][Person1] Person2 = If number is greater than 0xFD, then use number of talked-to person. Person1 = If number equals 0xFE, then take number of talked-to person. parsing command byte 0xc7 for map 3.22 at 0x58046 info: None long_info: None parsing xy trigger byte scripts... x=10 y=15 parsing command byte 0x76 for map 3.22 at 0x5803a info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x76 for map 3.22 at 0x5803d info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x3 for map 3.22 at 0x58040 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x6b for map 3.22 at 0x58043 info: Move facing direction of person1 to look at person2 [2][1] long_info: Turns the head of person1 to another person2. [6B][Person2][Person1] Person2 = If number is greater than 0xFD, then use number of talked-to person. Person1 = If number equals 0xFE, then take number of talked-to person. parsing command byte 0xc7 for map 3.22 at 0x58046 info: None long_info: None parsing signpost script.. signpost is at: x=16 y=8 parsing command byte 0x53 for map 3.22 at 0x580b1 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x25 for map 3.22 at 0x580b2 info: Give coins to HIRO [xxyy] long_info: Gives coins to HIRO. yyxx = amount of coins (0000 - 270F) [25][xxyy] parsing command byte 0x42 for map 3.22 at 0x580b5 info: Copy map name to memX [xx] long_info: Writes current location's name to MEMORY1, 2 or 3 for later use in text. [42][00-02 MEMORY] parsing command byte 0x53 for map 3.22 at 0x580b7 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x62 for map 3.22 at 0x580b8 info: ? Check trainer status [xx] long_info: Checks/changes the status of a in the event structure defined trainer. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau [62][xx] xx is: 00 = deactivate 01 = activate 02 = check parsing command byte 0xf for map 3.22 at 0x580ba info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0xf for map 3.22 at 0x580bd info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0xf for map 3.22 at 0x580c0 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0xd for map 3.22 at 0x580c3 info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0x47 for map 3.22 at 0x580c6 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x0 for map 3.22 at 0x580c7 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xe6 for map 3.22 at 0x580ca info: None long_info: None parsing signpost script.. signpost is at: x=12 y=16 parsing command byte 0x53 for map 3.22 at 0x580b4 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x42 for map 3.22 at 0x580b5 info: Copy map name to memX [xx] long_info: Writes current location's name to MEMORY1, 2 or 3 for later use in text. [42][00-02 MEMORY] parsing command byte 0x53 for map 3.22 at 0x580b7 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x62 for map 3.22 at 0x580b8 info: ? Check trainer status [xx] long_info: Checks/changes the status of a in the event structure defined trainer. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau [62][xx] xx is: 00 = deactivate 01 = activate 02 = check parsing command byte 0xf for map 3.22 at 0x580ba info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0xf for map 3.22 at 0x580bd info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0xf for map 3.22 at 0x580c0 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0xd for map 3.22 at 0x580c3 info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0x47 for map 3.22 at 0x580c6 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x0 for map 3.22 at 0x580c7 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xe6 for map 3.22 at 0x580ca info: None long_info: None parsing signpost script.. signpost is at: x=18 y=12 parsing command byte 0x53 for map 3.22 at 0x580b7 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x62 for map 3.22 at 0x580b8 info: ? Check trainer status [xx] long_info: Checks/changes the status of a in the event structure defined trainer. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau [62][xx] xx is: 00 = deactivate 01 = activate 02 = check parsing command byte 0xf for map 3.22 at 0x580ba info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0xf for map 3.22 at 0x580bd info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0xf for map 3.22 at 0x580c0 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0xd for map 3.22 at 0x580c3 info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0x47 for map 3.22 at 0x580c6 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x0 for map 3.22 at 0x580c7 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xe6 for map 3.22 at 0x580ca info: None long_info: None skipping event data... (oops) parsing command byte 0x91 for map 3.22 at 0x5800d info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 3.22 at 0x5800e info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x34 for map None.None at 0x5800f info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map None.None at 0x58012 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x31 for map None.None at 0x58015 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map None.None at 0x58018 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x3 for map None.None at 0x5801b info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x1c for map None.None at 0x5801e info: Check pre-ID-mapped RAM location [xx] long_info: Checks special game-technical values and writes then into RAM. [1C][following part][Ram check (when <> 08/09 see „numbers“ in list of following parts)] following part (and then hex values) 01 = PKMN count in party 00 - 06 02 = ??? 03 = Battle type of wild PKMN 04 = ??? 05 = PokéDex caught 00 - FA 06 = PokéDex seen 00 - FA 07 = Badge count 00 - 10 08 = Movement 00 = walk 01 = bike 02 = slipping 04 = surfer 08 = surfing pikachu 09 = HIRO direction 00 (d) 01 (u) 02 (l) 03 (r) 0A = Time in hours 00 - 18 0B = Day 00 (Mo) - 06 (Su) 0C = Map bank of current map 0D = Map no of current map 0E = Num. of diff. unowns seen 00 - 1A 0F = Action byte of map 10 = Amount of free spaces in pkmn box 00 - 14 11 = Minutes until end bug contest 00 - 14 12 = X position of HIRO 13 = Y position of HIRO 14 = phone call number parsing command byte 0xa for map None.None at 0x58020 info: RAM check [0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x91 for map 3.23 at 0x585b9 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=4 y=2 parsing command byte 0x53 for map 3.23 at 0x585ea info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xaa for map 3.23 at 0x585eb info: None long_info: None parsing signpost script.. signpost is at: x=3 y=0 parsing command byte 0x47 for map 3.23 at 0x585ed info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 3.23 at 0x585ee info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x15 for map 3.23 at 0x585f1 info: Load variable into RAM [xx] long_info: [15][xx] parsing command byte 0xf for map 3.23 at 0x585f3 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 3.23 at 0x585f6 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 3.23 at 0x585f7 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=4 y=0 parsing command byte 0x31 for map 3.23 at 0x585f8 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.23 at 0x585fb info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x47 for map 3.23 at 0x585fe info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 3.23 at 0x585ff info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x15 for map 3.23 at 0x58602 info: Load variable into RAM [xx] long_info: [15][xx] parsing command byte 0xf for map 3.23 at 0x58604 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 3.23 at 0x58607 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 3.23 at 0x58608 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 skipping event data... (oops) parsing command byte 0xf for map 3.23 at 0x5856d info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x31 for map 3.23 at 0x58570 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.23 at 0x58573 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x91 for map 3.23 at 0x58576 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 3.23 at 0x5857b info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x31 for map None.None at 0x5857c info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map None.None at 0x5857f info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x7a for map None.None at 0x58582 info: Reload/redisplay map long_info: Reloads and re-displays the map completely. Loads tileset and all map data anew. Screen gets light. [7A] parsing command byte 0x4 for map None.None at 0x58583 info: pointer code long_info: 3byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0xa0 for map None.None at 0x58587 info: Credits long_info: Shows the credits and HIRO is located on the Silver mountain plateau. [A0] parsing command byte 0x2 for map None.None at 0x58588 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x45 for map None.None at 0x5858b info: Show HIRO put the ITEMNAME in the ITEMPOCKET text box long_info: Text box: "HIRO put the ITEMNAME in the ITEMPOCKET." The item number has to have been loaded beforehand (e.g. by Give item code). parsing command byte 0x90 for map None.None at 0x5858c info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 3 map_id is: 24 event header address is: 0x58b85 parsing signpost script.. signpost is at: x=2 y=3 parsing command byte 0x53 for map 3.24 at 0x587d5 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x1a for map 3.24 at 0x587d6 info: Write variable from script RAM variable to actual RAM address [xxyy] long_info: Writes variable from RAM to actual RAM address. [1A][2-byte RAM address] parsing command byte 0x3f for map 3.24 at 0x587d9 info: Copy script RAM value into memX [xx] long_info: Reads RAM value and writes it to MEMORY1, 2 or 3 for later use in text. [3F][00-02 MEMORY] parsing command byte 0x47 for map 3.24 at 0x587db info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 3.24 at 0x587dc info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x15 for map 3.24 at 0x587df info: Load variable into RAM [xx] long_info: [15][xx] parsing command byte 0xf for map 3.24 at 0x587e1 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 3.24 at 0x587e4 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 3.24 at 0x587e5 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=5 y=3 parsing command byte 0x53 for map 3.24 at 0x587d5 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x1a for map 3.24 at 0x587d6 info: Write variable from script RAM variable to actual RAM address [xxyy] long_info: Writes variable from RAM to actual RAM address. [1A][2-byte RAM address] parsing command byte 0x3f for map 3.24 at 0x587d9 info: Copy script RAM value into memX [xx] long_info: Reads RAM value and writes it to MEMORY1, 2 or 3 for later use in text. [3F][00-02 MEMORY] parsing command byte 0x47 for map 3.24 at 0x587db info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 3.24 at 0x587dc info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x15 for map 3.24 at 0x587df info: Load variable into RAM [xx] long_info: [15][xx] parsing command byte 0xf for map 3.24 at 0x587e1 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 3.24 at 0x587e4 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 3.24 at 0x587e5 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=3 y=2 parsing command byte 0x48 for map 3.24 at 0x5876c info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0x15 for map 3.24 at 0x5876e info: Load variable into RAM [xx] long_info: [15][xx] parsing command byte 0xf for map 3.24 at 0x58770 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 3.24 at 0x58773 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x9 for map 3.24 at 0x58774 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x91 for map 3.24 at 0x58777 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=4 y=2 parsing command byte 0x53 for map 3.24 at 0x587d8 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x3f for map 3.24 at 0x587d9 info: Copy script RAM value into memX [xx] long_info: Reads RAM value and writes it to MEMORY1, 2 or 3 for later use in text. [3F][00-02 MEMORY] parsing command byte 0x47 for map 3.24 at 0x587db info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 3.24 at 0x587dc info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x15 for map 3.24 at 0x587df info: Load variable into RAM [xx] long_info: [15][xx] parsing command byte 0xf for map 3.24 at 0x587e1 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 3.24 at 0x587e4 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 3.24 at 0x587e5 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=3 y=0 parsing command byte 0x47 for map 3.24 at 0x587db info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 3.24 at 0x587dc info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x15 for map 3.24 at 0x587df info: Load variable into RAM [xx] long_info: [15][xx] parsing command byte 0xf for map 3.24 at 0x587e1 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 3.24 at 0x587e4 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 3.24 at 0x587e5 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=4 y=0 parsing command byte 0x31 for map 3.24 at 0x587e6 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.24 at 0x587e9 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x47 for map 3.24 at 0x587ec info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 3.24 at 0x587ed info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x15 for map 3.24 at 0x587f0 info: Load variable into RAM [xx] long_info: [15][xx] parsing command byte 0xf for map 3.24 at 0x587f2 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 3.24 at 0x587f5 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 3.24 at 0x587f6 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 skipping event data... (oops) parsing command byte 0x31 for map 3.24 at 0x5872b info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.24 at 0x5872e info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x91 for map 3.24 at 0x58731 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 3.24 at 0x58736 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x31 for map None.None at 0x58737 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map None.None at 0x5873a info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x7a for map None.None at 0x5873d info: Reload/redisplay map long_info: Reloads and re-displays the map completely. Loads tileset and all map data anew. Screen gets light. [7A] parsing command byte 0x4 for map None.None at 0x5873e info: pointer code long_info: 3byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0xa1 for map None.None at 0x58742 info: Warp-to and set facing direction [Facing (00-03)][Map bank][Map no][X][Y] long_info: Acts like code 0x3C but defines the desired facing of HIRO. [A1][Facing (00-03)][Map bank][Map no][X][Y] parsing command byte 0x7a for map None.None at 0x58748 info: Reload/redisplay map long_info: Reloads and re-displays the map completely. Loads tileset and all map data anew. Screen gets light. [7A] parsing command byte 0x2 for map None.None at 0x58749 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x7a for map None.None at 0x5874c info: Reload/redisplay map long_info: Reloads and re-displays the map completely. Loads tileset and all map data anew. Screen gets light. [7A] parsing command byte 0x4 for map None.None at 0x5874d info: pointer code long_info: 3byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x8b for map None.None at 0x58751 info: Deactive static facing after time [xx] long_info: Deactivates static facings on all persons on the screen after a time xx. [8B][xx] parsing command byte 0x78 for map None.None at 0x58753 info: Draw map data over current map [bank][pointer] long_info: This code draws another whole map as wide and high as the current map over the current map. The 3byte pointer points to the new map. [78][3byte pointer to new map data] parsing command byte 0x0 for map None.None at 0x58757 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x1e for map None.None at 0x5875a info: Write byte value to pre-ID-mapped RAM location [aa][xx] long_info: Writes variable xx to special game-technical value offsets. [1E][following part][xx] where [following part] is the same as 0x1C parsing command byte 0x0 for map None.None at 0x5875d info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map None.None at 0x58760 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x78 for map None.None at 0x58763 info: Draw map data over current map [bank][pointer] long_info: This code draws another whole map as wide and high as the current map over the current map. The 3byte pointer points to the new map. [78][3byte pointer to new map data] parsing command byte 0x49 for map None.None at 0x58767 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map None.None at 0x58768 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 3 map_id is: 25 event header address is: 0x58d63 parsing signpost script.. signpost is at: x=2 y=3 parsing command byte 0x53 for map 3.25 at 0x58c63 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x1 for map 3.25 at 0x58c64 info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x4d for map 3.25 at 0x58c68 info: Repeat text [FF][FF] long_info: Opens a text box and writes the text written latest resp. whose address was put statically to D175-D177. Doesn't load font. [4D][FF][FF] Without FF for both bytes, no operation occurs parsing command byte 0x8e for map 3.25 at 0x58c6b info: Priority jump to script by pointer (after 1st cycle) [xxyy] long_info: The pointer acts like code 03, but with this code all higher functions wait for a cycle before the script gets interpreted. [8E][2byte pointer to script] parsing command byte 0x2 for map 3.25 at 0x58c6e info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x0 for map 3.25 at 0x58c71 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x31 for map 3.25 at 0x58c74 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.25 at 0x58c77 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x47 for map 3.25 at 0x58c7a info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 3.25 at 0x58c7b info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x15 for map 3.25 at 0x58c7e info: Load variable into RAM [xx] long_info: [15][xx] parsing command byte 0xf for map 3.25 at 0x58c80 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 3.25 at 0x58c83 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 3.25 at 0x58c84 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=5 y=3 parsing command byte 0x53 for map 3.25 at 0x58c63 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x1 for map 3.25 at 0x58c64 info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x4d for map 3.25 at 0x58c68 info: Repeat text [FF][FF] long_info: Opens a text box and writes the text written latest resp. whose address was put statically to D175-D177. Doesn't load font. [4D][FF][FF] Without FF for both bytes, no operation occurs parsing command byte 0x8e for map 3.25 at 0x58c6b info: Priority jump to script by pointer (after 1st cycle) [xxyy] long_info: The pointer acts like code 03, but with this code all higher functions wait for a cycle before the script gets interpreted. [8E][2byte pointer to script] parsing command byte 0x2 for map 3.25 at 0x58c6e info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x0 for map 3.25 at 0x58c71 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x31 for map 3.25 at 0x58c74 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.25 at 0x58c77 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x47 for map 3.25 at 0x58c7a info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 3.25 at 0x58c7b info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x15 for map 3.25 at 0x58c7e info: Load variable into RAM [xx] long_info: [15][xx] parsing command byte 0xf for map 3.25 at 0x58c80 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 3.25 at 0x58c83 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 3.25 at 0x58c84 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=3 y=2 parsing command byte 0x48 for map 3.25 at 0x58c2a info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0x15 for map 3.25 at 0x58c2c info: Load variable into RAM [xx] long_info: [15][xx] parsing command byte 0xf for map 3.25 at 0x58c2e info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 3.25 at 0x58c31 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x9 for map 3.25 at 0x58c32 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x91 for map 3.25 at 0x58c35 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=4 y=2 parsing command byte 0x53 for map 3.25 at 0x58c66 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x26 for map 3.25 at 0x58c67 info: Take coins from HIRO [xxyy] long_info: Takes coins away from HIRO. yyxx = amount of coins (0000 - 270F) [26][xxyy] parsing command byte 0x4c for map 3.25 at 0x58c6a info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x15 for map 3.25 at 0x58c6d info: Load variable into RAM [xx] long_info: [15][xx] parsing command byte 0xf for map 3.25 at 0x58c6f info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 3.25 at 0x58c72 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 3.25 at 0x58c73 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=3 y=0 parsing command byte 0x47 for map 3.25 at 0x58c69 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 3.25 at 0x58c6a info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x15 for map 3.25 at 0x58c6d info: Load variable into RAM [xx] long_info: [15][xx] parsing command byte 0xf for map 3.25 at 0x58c6f info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 3.25 at 0x58c72 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 3.25 at 0x58c73 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=4 y=0 parsing command byte 0x31 for map 3.25 at 0x58c74 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.25 at 0x58c77 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x47 for map 3.25 at 0x58c7a info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 3.25 at 0x58c7b info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x15 for map 3.25 at 0x58c7e info: Load variable into RAM [xx] long_info: [15][xx] parsing command byte 0xf for map 3.25 at 0x58c80 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 3.25 at 0x58c83 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 3.25 at 0x58c84 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 skipping event data... (oops) parsing command byte 0xf for map 3.25 at 0x58be9 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x31 for map 3.25 at 0x58bec info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.25 at 0x58bef info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x91 for map 3.25 at 0x58bf2 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 3.25 at 0x58bf7 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x31 for map None.None at 0x58bf8 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map None.None at 0x58bfb info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x7a for map None.None at 0x58bfe info: Reload/redisplay map long_info: Reloads and re-displays the map completely. Loads tileset and all map data anew. Screen gets light. [7A] parsing command byte 0x4 for map None.None at 0x58bff info: pointer code long_info: 3byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0xa2 for map None.None at 0x58c03 info: Set memX to a string by a pointer [aabb][bank][xx] long_info: MEMORY1, 2 or 3 can directly be filled with a string from a different rom bank. [A2][2byte pointer][Bank][00-02 MEMORY] parsing command byte 0x90 for map None.None at 0x58c08 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 3 map_id is: 26 event header address is: 0x58f22 parsing signpost script.. signpost is at: x=2 y=3 parsing command byte 0x53 for map 3.26 at 0x58e24 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xc2 for map 3.26 at 0x58e25 info: None long_info: None parsing signpost script.. signpost is at: x=5 y=3 parsing command byte 0x53 for map 3.26 at 0x58e24 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xc2 for map 3.26 at 0x58e25 info: None long_info: None parsing signpost script.. signpost is at: x=3 y=2 parsing command byte 0x48 for map 3.26 at 0x58deb info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0x15 for map 3.26 at 0x58ded info: Load variable into RAM [xx] long_info: [15][xx] parsing command byte 0xf for map 3.26 at 0x58def info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 3.26 at 0x58df2 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x9 for map 3.26 at 0x58df3 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x91 for map 3.26 at 0x58df6 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=4 y=2 parsing command byte 0x53 for map 3.26 at 0x58e27 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xe7 for map 3.26 at 0x58e28 info: None long_info: None parsing signpost script.. signpost is at: x=3 y=0 parsing command byte 0x47 for map 3.26 at 0x58e2a info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 3.26 at 0x58e2b info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x15 for map 3.26 at 0x58e2e info: Load variable into RAM [xx] long_info: [15][xx] parsing command byte 0xf for map 3.26 at 0x58e30 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 3.26 at 0x58e33 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 3.26 at 0x58e34 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=4 y=0 parsing command byte 0x31 for map 3.26 at 0x58e35 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.26 at 0x58e38 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x47 for map 3.26 at 0x58e3b info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 3.26 at 0x58e3c info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x15 for map 3.26 at 0x58e3f info: Load variable into RAM [xx] long_info: [15][xx] parsing command byte 0xf for map 3.26 at 0x58e41 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 3.26 at 0x58e44 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 3.26 at 0x58e45 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 skipping event data... (oops) parsing command byte 0x31 for map 3.26 at 0x58dad info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.26 at 0x58db0 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x91 for map 3.26 at 0x58db3 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 3.26 at 0x58db8 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x31 for map None.None at 0x58db9 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map None.None at 0x58dbc info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x7a for map None.None at 0x58dbf info: Reload/redisplay map long_info: Reloads and re-displays the map completely. Loads tileset and all map data anew. Screen gets light. [7A] parsing command byte 0x4 for map None.None at 0x58dc0 info: pointer code long_info: 3byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0xa3 for map None.None at 0x58dc4 info: Copy the name of a location (by id) to TEMPMEMORY1 long_info: By the location number the name of that location is written to TEMPMEMORY1. [A3][Location no] parsing command byte 0x8 for map None.None at 0x58dc6 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x90 for map None.None at 0x58dc9 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 3 map_id is: 27 event header address is: 0x59097 parsing signpost script.. signpost is at: x=2 y=3 parsing command byte 0x53 for map 3.27 at 0x58f86 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x72 for map 3.27 at 0x58f87 info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0x0 for map 3.27 at 0x58f89 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xa4 for map 3.27 at 0x58f8c info: None long_info: None parsing signpost script.. signpost is at: x=5 y=3 parsing command byte 0x53 for map 3.27 at 0x58f86 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x72 for map 3.27 at 0x58f87 info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0x0 for map 3.27 at 0x58f89 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xa4 for map 3.27 at 0x58f8c info: None long_info: None parsing signpost script.. signpost is at: x=8 y=3 parsing command byte 0x53 for map 3.27 at 0x58f86 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x72 for map 3.27 at 0x58f87 info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0x0 for map 3.27 at 0x58f89 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xa4 for map 3.27 at 0x58f8c info: None long_info: None parsing signpost script.. signpost is at: x=11 y=3 parsing command byte 0x53 for map 3.27 at 0x58f86 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x72 for map 3.27 at 0x58f87 info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0x0 for map 3.27 at 0x58f89 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xa4 for map 3.27 at 0x58f8c info: None long_info: None parsing signpost script.. signpost is at: x=14 y=3 parsing command byte 0x53 for map 3.27 at 0x58f86 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x72 for map 3.27 at 0x58f87 info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0x0 for map 3.27 at 0x58f89 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xa4 for map 3.27 at 0x58f8c info: None long_info: None parsing signpost script.. signpost is at: x=17 y=3 parsing command byte 0x53 for map 3.27 at 0x58f86 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x72 for map 3.27 at 0x58f87 info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0x0 for map 3.27 at 0x58f89 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xa4 for map 3.27 at 0x58f8c info: None long_info: None parsing signpost script.. signpost is at: x=2 y=8 parsing command byte 0x53 for map 3.27 at 0x58f86 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x72 for map 3.27 at 0x58f87 info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0x0 for map 3.27 at 0x58f89 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xa4 for map 3.27 at 0x58f8c info: None long_info: None parsing signpost script.. signpost is at: x=5 y=8 parsing command byte 0x53 for map 3.27 at 0x58f86 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x72 for map 3.27 at 0x58f87 info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0x0 for map 3.27 at 0x58f89 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xa4 for map 3.27 at 0x58f8c info: None long_info: None parsing signpost script.. signpost is at: x=8 y=8 parsing command byte 0x53 for map 3.27 at 0x58f86 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x72 for map 3.27 at 0x58f87 info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0x0 for map 3.27 at 0x58f89 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xa4 for map 3.27 at 0x58f8c info: None long_info: None parsing signpost script.. signpost is at: x=11 y=8 parsing command byte 0x53 for map 3.27 at 0x58f86 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x72 for map 3.27 at 0x58f87 info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0x0 for map 3.27 at 0x58f89 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xa4 for map 3.27 at 0x58f8c info: None long_info: None parsing signpost script.. signpost is at: x=14 y=8 parsing command byte 0x53 for map 3.27 at 0x58f86 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x72 for map 3.27 at 0x58f87 info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0x0 for map 3.27 at 0x58f89 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xa4 for map 3.27 at 0x58f8c info: None long_info: None parsing signpost script.. signpost is at: x=17 y=8 parsing command byte 0x53 for map 3.27 at 0x58f86 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x72 for map 3.27 at 0x58f87 info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0x0 for map 3.27 at 0x58f89 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xa4 for map 3.27 at 0x58f8c info: None long_info: None parsing signpost script.. signpost is at: x=2 y=13 parsing command byte 0x53 for map 3.27 at 0x58f86 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x72 for map 3.27 at 0x58f87 info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0x0 for map 3.27 at 0x58f89 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xa4 for map 3.27 at 0x58f8c info: None long_info: None parsing signpost script.. signpost is at: x=17 y=13 parsing command byte 0x53 for map 3.27 at 0x58f86 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x72 for map 3.27 at 0x58f87 info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0x0 for map 3.27 at 0x58f89 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xa4 for map 3.27 at 0x58f8c info: None long_info: None parsing signpost script.. signpost is at: x=2 y=18 parsing command byte 0x53 for map 3.27 at 0x58f86 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x72 for map 3.27 at 0x58f87 info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0x0 for map 3.27 at 0x58f89 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xa4 for map 3.27 at 0x58f8c info: None long_info: None parsing signpost script.. signpost is at: x=5 y=18 parsing command byte 0x53 for map 3.27 at 0x58f86 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x72 for map 3.27 at 0x58f87 info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0x0 for map 3.27 at 0x58f89 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xa4 for map 3.27 at 0x58f8c info: None long_info: None parsing signpost script.. signpost is at: x=8 y=18 parsing command byte 0x53 for map 3.27 at 0x58f86 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x72 for map 3.27 at 0x58f87 info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0x0 for map 3.27 at 0x58f89 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xa4 for map 3.27 at 0x58f8c info: None long_info: None parsing signpost script.. signpost is at: x=11 y=18 parsing command byte 0x53 for map 3.27 at 0x58f86 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x72 for map 3.27 at 0x58f87 info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0x0 for map 3.27 at 0x58f89 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xa4 for map 3.27 at 0x58f8c info: None long_info: None parsing signpost script.. signpost is at: x=14 y=18 parsing command byte 0x53 for map 3.27 at 0x58f86 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x72 for map 3.27 at 0x58f87 info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0x0 for map 3.27 at 0x58f89 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xa4 for map 3.27 at 0x58f8c info: None long_info: None parsing signpost script.. signpost is at: x=17 y=18 parsing command byte 0x53 for map 3.27 at 0x58f86 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x72 for map 3.27 at 0x58f87 info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0x0 for map 3.27 at 0x58f89 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xa4 for map 3.27 at 0x58f8c info: None long_info: None parsing signpost script.. signpost is at: x=2 y=24 parsing command byte 0x53 for map 3.27 at 0x58f86 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x72 for map 3.27 at 0x58f87 info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0x0 for map 3.27 at 0x58f89 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xa4 for map 3.27 at 0x58f8c info: None long_info: None parsing signpost script.. signpost is at: x=5 y=24 parsing command byte 0x53 for map 3.27 at 0x58f86 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x72 for map 3.27 at 0x58f87 info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0x0 for map 3.27 at 0x58f89 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xa4 for map 3.27 at 0x58f8c info: None long_info: None parsing signpost script.. signpost is at: x=8 y=24 parsing command byte 0x53 for map 3.27 at 0x58f86 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x72 for map 3.27 at 0x58f87 info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0x0 for map 3.27 at 0x58f89 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xa4 for map 3.27 at 0x58f8c info: None long_info: None parsing signpost script.. signpost is at: x=11 y=24 parsing command byte 0x53 for map 3.27 at 0x58f86 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x72 for map 3.27 at 0x58f87 info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0x0 for map 3.27 at 0x58f89 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xa4 for map 3.27 at 0x58f8c info: None long_info: None parsing signpost script.. signpost is at: x=14 y=24 parsing command byte 0x53 for map 3.27 at 0x58f86 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x72 for map 3.27 at 0x58f87 info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0x0 for map 3.27 at 0x58f89 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xa4 for map 3.27 at 0x58f8c info: None long_info: None parsing signpost script.. signpost is at: x=17 y=24 parsing command byte 0x53 for map 3.27 at 0x58f86 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x72 for map 3.27 at 0x58f87 info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0x0 for map 3.27 at 0x58f89 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xa4 for map 3.27 at 0x58f8c info: None long_info: None skipping event data... (oops) parsing command byte 0x91 for map 3.27 at 0x58f69 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x8d for map 3.27 at 0x58f6a info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0x6e for map 3.27 at 0x58f6b info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x91 for map 3.27 at 0x58f6d info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 3 map_id is: 28 event header address is: 0x598d0 parsing signpost script.. signpost is at: x=6 y=5 parsing command byte 0x53 for map 3.28 at 0x5926c info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x86 for map 3.28 at 0x5926d info: Warp sound long_info: Evaluates which sound is played when HIRO enters a Warp field. Usage via script ingame is rather not useful. [86] parsing command byte 0x58 for map 3.28 at 0x5926e info: Menu interpreter 2 (see menu loader) long_info: Interprets menu data loaded by 4F. see also http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke57 see also http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA58 parsing command byte 0xd for map 3.28 at 0x5926f info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0x1 for map 3.28 at 0x59272 info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0xd for map 3.28 at 0x59276 info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0x83 for map 3.28 at 0x59279 info: Play cry by id or RAM [cry][00] long_info: Plays the Pokémon's cry. [83][Cry no][00] If the cry no = 00 then the number is taken from RAM. parsing command byte 0xa4 for map 3.28 at 0x5927c info: None long_info: None parsing signpost script.. signpost is at: x=3 y=4 parsing command byte 0x47 for map 3.28 at 0x59234 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x31 for map 3.28 at 0x59235 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.28 at 0x59238 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x1c for map 3.28 at 0x5923b info: Check pre-ID-mapped RAM location [xx] long_info: Checks special game-technical values and writes then into RAM. [1C][following part][Ram check (when <> 08/09 see „numbers“ in list of following parts)] following part (and then hex values) 01 = PKMN count in party 00 - 06 02 = ??? 03 = Battle type of wild PKMN 04 = ??? 05 = PokéDex caught 00 - FA 06 = PokéDex seen 00 - FA 07 = Badge count 00 - 10 08 = Movement 00 = walk 01 = bike 02 = slipping 04 = surfer 08 = surfing pikachu 09 = HIRO direction 00 (d) 01 (u) 02 (l) 03 (r) 0A = Time in hours 00 - 18 0B = Day 00 (Mo) - 06 (Su) 0C = Map bank of current map 0D = Map no of current map 0E = Num. of diff. unowns seen 00 - 1A 0F = Action byte of map 10 = Amount of free spaces in pkmn box 00 - 14 11 = Minutes until end bug contest 00 - 14 12 = X position of HIRO 13 = Y position of HIRO 14 = phone call number parsing command byte 0x6 for map 3.28 at 0x5923d info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x52 for map 3.28 at 0x59240 info: Display text (by pointer) and end [xxyy] long_info: Displays a text. Afterwards there is no other script interpreted. Corresponds to 47 + 4C + 53 + 49 + 90 [52][2byte textpointer] parsing signpost script.. signpost is at: x=7 y=1 parsing command byte 0x47 for map 3.28 at 0x5924d info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x31 for map 3.28 at 0x5924e info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.28 at 0x59251 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x1c for map 3.28 at 0x59254 info: Check pre-ID-mapped RAM location [xx] long_info: Checks special game-technical values and writes then into RAM. [1C][following part][Ram check (when <> 08/09 see „numbers“ in list of following parts)] following part (and then hex values) 01 = PKMN count in party 00 - 06 02 = ??? 03 = Battle type of wild PKMN 04 = ??? 05 = PokéDex caught 00 - FA 06 = PokéDex seen 00 - FA 07 = Badge count 00 - 10 08 = Movement 00 = walk 01 = bike 02 = slipping 04 = surfer 08 = surfing pikachu 09 = HIRO direction 00 (d) 01 (u) 02 (l) 03 (r) 0A = Time in hours 00 - 18 0B = Day 00 (Mo) - 06 (Su) 0C = Map bank of current map 0D = Map no of current map 0E = Num. of diff. unowns seen 00 - 1A 0F = Action byte of map 10 = Amount of free spaces in pkmn box 00 - 14 11 = Minutes until end bug contest 00 - 14 12 = X position of HIRO 13 = Y position of HIRO 14 = phone call number parsing command byte 0x6 for map 3.28 at 0x59256 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x52 for map 3.28 at 0x59259 info: Display text (by pointer) and end [xxyy] long_info: Displays a text. Afterwards there is no other script interpreted. Corresponds to 47 + 4C + 53 + 49 + 90 [52][2byte textpointer] skipping event data... (oops) parsing command byte 0x91 for map 3.28 at 0x59180 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x8d for map 3.28 at 0x59181 info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0x92 for map 3.28 at 0x59182 info: Reset sophisticated functions long_info: Resets all sophisticated functions to 0. [92] parsing command byte 0x51 for map 3.28 at 0x59183 info: Display text (by pointer), turn to HIRO, end [xxyy] long_info: Displays a text and lets person turn to HIRO. Afterwards there is no other script interpreted. Corresponds to 6A + 47 + 4C + 53 + 49 + 90 [51][2byte textpointer] parsing command byte 0x13 for map None.None at 0x59185 info: Trigger event check long_info: Checks the number of the trigger events on the current map. [13] parsing command byte 0x6 for map None.None at 0x59186 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x51 for map None.None at 0x59189 info: Display text (by pointer), turn to HIRO, end [xxyy] long_info: Displays a text and lets person turn to HIRO. Afterwards there is no other script interpreted. Corresponds to 6A + 47 + 4C + 53 + 49 + 90 [51][2byte textpointer] map_group is: 3 map_id is: 29 event header address is: 0x59948 parsing signpost script.. signpost is at: x=2 y=1 parsing command byte 0x53 for map 3.29 at 0x59920 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x23 for map 3.29 at 0x59921 info: Take money from HIRO/account [xxyyzzaa] long_info: Takes zzyyxx money from HIRO/account. zzyyxx = amount of money (000000 - 0F423F) [23][00-HIRO/01-account][xxyyzz] parsing command byte 0xd4 for map 3.29 at 0x59926 info: None long_info: None parsing signpost script.. signpost is at: x=5 y=1 parsing command byte 0x53 for map 3.29 at 0x59920 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x23 for map 3.29 at 0x59921 info: Take money from HIRO/account [xxyyzzaa] long_info: Takes zzyyxx money from HIRO/account. zzyyxx = amount of money (000000 - 0F423F) [23][00-HIRO/01-account][xxyyzz] parsing command byte 0xd4 for map 3.29 at 0x59926 info: None long_info: None skipping event data... (oops) map_group is: 3 map_id is: 30 event header address is: 0x599d2 parsing signpost script.. signpost is at: x=2 y=1 parsing command byte 0x53 for map 3.30 at 0x599aa info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xad for map 3.30 at 0x599ab info: None long_info: None parsing signpost script.. signpost is at: x=5 y=1 parsing command byte 0x53 for map 3.30 at 0x599aa info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xad for map 3.30 at 0x599ab info: None long_info: None skipping event data... (oops) map_group is: 3 map_id is: 31 event header address is: 0x59a5c parsing signpost script.. signpost is at: x=2 y=1 parsing command byte 0x53 for map 3.31 at 0x59a34 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x37 for map 3.31 at 0x59a35 info: Turn off wild pokemon battles long_info: This code turns all wild PKMN battles off. [37] parsing command byte 0x5a for map 3.31 at 0x59a36 info: ? Disable fleeing from battle long_info: Deletes the value in BattleRAM. Turns off the check if the battle was started by entering a trainer's area of view. parsing command byte 0x0 for map 3.31 at 0x59a37 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xd4 for map 3.31 at 0x59a3a info: None long_info: None parsing signpost script.. signpost is at: x=5 y=1 parsing command byte 0x53 for map 3.31 at 0x59a34 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x37 for map 3.31 at 0x59a35 info: Turn off wild pokemon battles long_info: This code turns all wild PKMN battles off. [37] parsing command byte 0x5a for map 3.31 at 0x59a36 info: ? Disable fleeing from battle long_info: Deletes the value in BattleRAM. Turns off the check if the battle was started by entering a trainer's area of view. parsing command byte 0x0 for map 3.31 at 0x59a37 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xd4 for map 3.31 at 0x59a3a info: None long_info: None skipping event data... (oops) map_group is: 3 map_id is: 32 event header address is: 0x59ae6 parsing signpost script.. signpost is at: x=2 y=1 parsing command byte 0x53 for map 3.32 at 0x59abe info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xc1 for map 3.32 at 0x59abf info: None long_info: None parsing signpost script.. signpost is at: x=5 y=1 parsing command byte 0x53 for map 3.32 at 0x59abe info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xc1 for map 3.32 at 0x59abf info: None long_info: None skipping event data... (oops) map_group is: 3 map_id is: 33 event header address is: 0x59b40 skipping event data... (oops) map_group is: 3 map_id is: 34 event header address is: 0x59b57 skipping event data... (oops) map_group is: 3 map_id is: 35 event header address is: 0x59b6e skipping event data... (oops) map_group is: 3 map_id is: 36 event header address is: 0x59b85 skipping event data... (oops) map_group is: 3 map_id is: 37 event header address is: 0x59f35 skipping event data... (oops) map_group is: 3 map_id is: 38 event header address is: 0x5a28e skipping event data... (oops) map_group is: 3 map_id is: 39 event header address is: 0x5a57a skipping event data... (oops) parsing command byte 0x34 for map None.None at 0x5a30d info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map None.None at 0x5a310 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x1c for map None.None at 0x5a313 info: Check pre-ID-mapped RAM location [xx] long_info: Checks special game-technical values and writes then into RAM. [1C][following part][Ram check (when <> 08/09 see „numbers“ in list of following parts)] following part (and then hex values) 01 = PKMN count in party 00 - 06 02 = ??? 03 = Battle type of wild PKMN 04 = ??? 05 = PokéDex caught 00 - FA 06 = PokéDex seen 00 - FA 07 = Badge count 00 - 10 08 = Movement 00 = walk 01 = bike 02 = slipping 04 = surfer 08 = surfing pikachu 09 = HIRO direction 00 (d) 01 (u) 02 (l) 03 (r) 0A = Time in hours 00 - 18 0B = Day 00 (Mo) - 06 (Su) 0C = Map bank of current map 0D = Map no of current map 0E = Num. of diff. unowns seen 00 - 1A 0F = Action byte of map 10 = Amount of free spaces in pkmn box 00 - 14 11 = Minutes until end bug contest 00 - 14 12 = X position of HIRO 13 = Y position of HIRO 14 = phone call number parsing command byte 0x6 for map None.None at 0x5a315 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x63 for map None.None at 0x5a318 info: Set win/lose pointers for battle [xxyy][xxyy] long_info: Writes the win/lose pointer of a battle into the ram. [63][2byte pointer to text Win][2byte pointer to text Loss*] * When pointer = 0000 then "Blackout" instead of return to gameplay. parsing command byte 0x7 for map None.None at 0x5a31d info: RAM check [<>byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x84 for map None.None at 0x5a320 info: Play sound by sound number [xxyy] long_info: Plays the sound. [84][Sound no (2byte)] Sound no: See the music archive that should accompany this document Thanks to philb for this matter. He helped me to record a big part of these sounds. parsing command byte 0x5d for map None.None at 0x5a323 info: Load trainer by group/id for BattleRAM [xx][yy] long_info: Loads trainer data. Trainer group --> TrRAM1, trainer number --> TrRAM2. Writes 81 to BattleRAM. [5D][Trainer group][Trainer no] parsing command byte 0x5f for map None.None at 0x5a326 info: Return to in-game engine after battle long_info: Returns to ingame engine and evaluates battle. When lost then return to last Pokémon Center etc. parsing command byte 0x6e for map None.None at 0x5a327 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x36 for map None.None at 0x5a329 info: Set (to 1) a bit on bit table 2 [xxyy] long_info: Sets a bit of BitTable2 to value 1. [36][Bit no (2byte)] parsing command byte 0x60 for map None.None at 0x5a32c info: Pokemon catching tutorial [xx] long_info: Starts a learn-how-to-catch battle with a Pokémon, whose data needs to be loaded beforehand see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke5C Player has to have at least 1 Pokémon for it to work. Items that are statically used: 1xPotion, 5xPoké ball. [60][xx] xx: Between 01 and 03. If <> 03 then HIRO sprite instead of dude sprite and kills itself when using the item system. parsing command byte 0x48 for map None.None at 0x5a32e info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0x1b for map None.None at 0x5a330 info: Load variable [xxyy][zz] long_info: Writes zz to ram address. [1B][2-byte RAM address][zz] parsing command byte 0xd5 for map None.None at 0x5a334 info: None long_info: None map_group is: 3 map_id is: 40 event header address is: 0x5ac84 skipping event data... (oops) map_group is: 3 map_id is: 41 event header address is: 0x5ae40 skipping event data... (oops) map_group is: 3 map_id is: 42 event header address is: 0x5af36 skipping event data... (oops) map_group is: 3 map_id is: 43 event header address is: 0x5b1fd skipping event data... (oops) map_group is: 3 map_id is: 44 event header address is: 0x5b481 skipping event data... (oops) map_group is: 3 map_id is: 45 event header address is: 0x5b6c0 skipping event data... (oops) map_group is: 3 map_id is: 46 event header address is: 0x60b20 parsing signpost script.. signpost is at: x=3 y=13 parsing command byte 0x85 for map 3.46 at 0x609b0 info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0x0 for map 3.46 at 0x609b1 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x88 for map 3.46 at 0x609b4 info: Engine remote control [bb][xxyy] long_info: This code controls the engine via "data stream". [88][3byte pointer to control structure] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA88 parsing command byte 0xad for map 3.46 at 0x609b8 info: None long_info: None skipping event data... (oops) map_group is: 3 map_id is: 47 event header address is: 0x60f53 skipping event data... (oops) map_group is: 3 map_id is: 48 event header address is: 0x6c5fb skipping event data... (oops) parsing command byte 0x91 for map 3.48 at 0x6c356 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x8d for map 3.48 at 0x6c357 info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0x8f for map 3.48 at 0x6c358 info: Return code 1 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions are not affected and run like before the code. This code is mostly used for scripts called by the 2nd part of the script header, because else malfunctions occur. [8F] parsing command byte 0x31 for map None.None at 0x6c35b info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map None.None at 0x6c35e info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x90 for map None.None at 0x6c361 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 3 map_id is: 49 event header address is: 0x6cdeb parsing xy trigger byte scripts... x=24 y=2 parsing command byte 0x31 for map 3.49 at 0x6c65e info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.49 at 0x6c661 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x0 for map 3.49 at 0x6c664 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x31 for map 3.49 at 0x6c667 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.49 at 0x6c66a info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x75 for map 3.49 at 0x6c66d info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0xf for map 3.49 at 0x6c670 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x0 for map 3.49 at 0x6c673 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x13 for map 3.49 at 0x6c676 info: Trigger event check long_info: Checks the number of the trigger events on the current map. [13] parsing command byte 0x2 for map 3.49 at 0x6c677 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x76 for map 3.49 at 0x6c67a info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x69 for map 3.49 at 0x6c67d info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x4a for map 3.49 at 0x6c680 info: Load specific byte to $C1CE [xx] long_info: Loads a byte to C1CE. Seems to have no function in the game. [4A][Byte] parsing command byte 0xb9 for map 3.49 at 0x6c682 info: None long_info: None parsing xy trigger byte scripts... x=24 y=3 parsing command byte 0x31 for map 3.49 at 0x6c6a7 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.49 at 0x6c6aa info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x0 for map 3.49 at 0x6c6ad info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x31 for map 3.49 at 0x6c6b0 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.49 at 0x6c6b3 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x75 for map 3.49 at 0x6c6b6 info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0xf for map 3.49 at 0x6c6b9 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x0 for map 3.49 at 0x6c6bc info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x13 for map 3.49 at 0x6c6bf info: Trigger event check long_info: Checks the number of the trigger events on the current map. [13] parsing command byte 0x3 for map 3.49 at 0x6c6c0 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x76 for map 3.49 at 0x6c6c3 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x69 for map 3.49 at 0x6c6c6 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x4a for map 3.49 at 0x6c6c9 info: Load specific byte to $C1CE [xx] long_info: Loads a byte to C1CE. Seems to have no function in the game. [4A][Byte] parsing command byte 0xb9 for map 3.49 at 0x6c6cb info: None long_info: None parsing xy trigger byte scripts... x=6 y=2 parsing command byte 0x31 for map 3.49 at 0x6c6f0 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.49 at 0x6c6f3 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x0 for map 3.49 at 0x6c6f6 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x31 for map 3.49 at 0x6c6f9 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.49 at 0x6c6fc info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x75 for map 3.49 at 0x6c6ff info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0xf for map 3.49 at 0x6c702 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x0 for map 3.49 at 0x6c705 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x4 for map 3.49 at 0x6c708 info: pointer code long_info: 3byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x76 for map 3.49 at 0x6c70c info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x69 for map 3.49 at 0x6c70f info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x4a for map 3.49 at 0x6c712 info: Load specific byte to $C1CE [xx] long_info: Loads a byte to C1CE. Seems to have no function in the game. [4A][Byte] parsing command byte 0xb9 for map 3.49 at 0x6c714 info: None long_info: None parsing xy trigger byte scripts... x=6 y=3 parsing command byte 0x31 for map 3.49 at 0x6c73c info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.49 at 0x6c73f info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x0 for map 3.49 at 0x6c742 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x31 for map 3.49 at 0x6c745 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.49 at 0x6c748 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x75 for map 3.49 at 0x6c74b info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0xf for map 3.49 at 0x6c74e info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x0 for map 3.49 at 0x6c751 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x4 for map 3.49 at 0x6c754 info: pointer code long_info: 3byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x76 for map 3.49 at 0x6c758 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x69 for map 3.49 at 0x6c75b info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x4a for map 3.49 at 0x6c75e info: Load specific byte to $C1CE [xx] long_info: Loads a byte to C1CE. Seems to have no function in the game. [4A][Byte] parsing command byte 0xb9 for map 3.49 at 0x6c760 info: None long_info: None parsing xy trigger byte scripts... x=24 y=6 parsing command byte 0x31 for map 3.49 at 0x6c788 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.49 at 0x6c78b info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x0 for map 3.49 at 0x6c78e info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x31 for map 3.49 at 0x6c791 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.49 at 0x6c794 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x75 for map 3.49 at 0x6c797 info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0xf for map 3.49 at 0x6c79a info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x0 for map 3.49 at 0x6c79d info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x13 for map 3.49 at 0x6c7a0 info: Trigger event check long_info: Checks the number of the trigger events on the current map. [13] parsing command byte 0x6 for map 3.49 at 0x6c7a1 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x76 for map 3.49 at 0x6c7a4 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x69 for map 3.49 at 0x6c7a7 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x4a for map 3.49 at 0x6c7aa info: Load specific byte to $C1CE [xx] long_info: Loads a byte to C1CE. Seems to have no function in the game. [4A][Byte] parsing command byte 0xb9 for map 3.49 at 0x6c7ac info: None long_info: None parsing xy trigger byte scripts... x=24 y=7 parsing command byte 0x31 for map 3.49 at 0x6c7d4 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.49 at 0x6c7d7 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x0 for map 3.49 at 0x6c7da info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x31 for map 3.49 at 0x6c7dd info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.49 at 0x6c7e0 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x75 for map 3.49 at 0x6c7e3 info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0xf for map 3.49 at 0x6c7e6 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x0 for map 3.49 at 0x6c7e9 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x13 for map 3.49 at 0x6c7ec info: Trigger event check long_info: Checks the number of the trigger events on the current map. [13] parsing command byte 0x7 for map 3.49 at 0x6c7ed info: RAM check [<>byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x76 for map 3.49 at 0x6c7f0 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x69 for map 3.49 at 0x6c7f3 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x4a for map 3.49 at 0x6c7f6 info: Load specific byte to $C1CE [xx] long_info: Loads a byte to C1CE. Seems to have no function in the game. [4A][Byte] parsing command byte 0xb9 for map 3.49 at 0x6c7f8 info: None long_info: None parsing xy trigger byte scripts... x=22 y=16 parsing command byte 0x31 for map 3.49 at 0x6c820 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.49 at 0x6c823 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x0 for map 3.49 at 0x6c826 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x31 for map 3.49 at 0x6c829 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.49 at 0x6c82c info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x75 for map 3.49 at 0x6c82f info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0xf for map 3.49 at 0x6c832 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x0 for map 3.49 at 0x6c835 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x11 for map 3.49 at 0x6c838 info: Trigger event check1 [xx][yy] long_info: Check the current number of the trigger event on map (map group/map id). [11][map group][map number] parsing command byte 0x2 for map 3.49 at 0x6c83b info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x2 for map 3.49 at 0x6c83e info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0xcd for map 3.49 at 0x6c841 info: None long_info: None parsing xy trigger byte scripts... x=8 y=16 parsing command byte 0x31 for map 3.49 at 0x6c86c info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.49 at 0x6c86f info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x0 for map 3.49 at 0x6c872 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x31 for map 3.49 at 0x6c875 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.49 at 0x6c878 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x75 for map 3.49 at 0x6c87b info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0xf for map 3.49 at 0x6c87e info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x0 for map 3.49 at 0x6c881 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x3 for map 3.49 at 0x6c884 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x2 for map 3.49 at 0x6c887 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x2 for map 3.49 at 0x6c88a info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0xcd for map 3.49 at 0x6c88d info: None long_info: None parsing xy trigger byte scripts... x=2 y=7 parsing command byte 0x31 for map 3.49 at 0x6c900 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.49 at 0x6c903 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x0 for map 3.49 at 0x6c906 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x60 for map 3.49 at 0x6c909 info: Pokemon catching tutorial [xx] long_info: Starts a learn-how-to-catch battle with a Pokémon, whose data needs to be loaded beforehand see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke5C Player has to have at least 1 Pokémon for it to work. Items that are statically used: 1xPotion, 5xPoké ball. [60][xx] xx: Between 01 and 03. If <> 03 then HIRO sprite instead of dude sprite and kills itself when using the item system. parsing command byte 0xe9 for map 3.49 at 0x6c90b info: None long_info: None parsing xy trigger byte scripts... x=3 y=7 parsing command byte 0x31 for map 3.49 at 0x6c90e info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.49 at 0x6c911 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x0 for map 3.49 at 0x6c914 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x60 for map 3.49 at 0x6c917 info: Pokemon catching tutorial [xx] long_info: Starts a learn-how-to-catch battle with a Pokémon, whose data needs to be loaded beforehand see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke5C Player has to have at least 1 Pokémon for it to work. Items that are statically used: 1xPotion, 5xPoké ball. [60][xx] xx: Between 01 and 03. If <> 03 then HIRO sprite instead of dude sprite and kills itself when using the item system. parsing command byte 0xea for map 3.49 at 0x6c919 info: None long_info: None parsing xy trigger byte scripts... x=4 y=7 parsing command byte 0x31 for map 3.49 at 0x6c91c info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.49 at 0x6c91f info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x0 for map 3.49 at 0x6c922 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x60 for map 3.49 at 0x6c925 info: Pokemon catching tutorial [xx] long_info: Starts a learn-how-to-catch battle with a Pokémon, whose data needs to be loaded beforehand see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke5C Player has to have at least 1 Pokémon for it to work. Items that are statically used: 1xPotion, 5xPoké ball. [60][xx] xx: Between 01 and 03. If <> 03 then HIRO sprite instead of dude sprite and kills itself when using the item system. parsing command byte 0xeb for map 3.49 at 0x6c927 info: None long_info: None parsing xy trigger byte scripts... x=1 y=8 parsing command byte 0x31 for map 3.49 at 0x6c92a info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.49 at 0x6c92d info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x0 for map 3.49 at 0x6c930 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x60 for map 3.49 at 0x6c933 info: Pokemon catching tutorial [xx] long_info: Starts a learn-how-to-catch battle with a Pokémon, whose data needs to be loaded beforehand see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke5C Player has to have at least 1 Pokémon for it to work. Items that are statically used: 1xPotion, 5xPoké ball. [60][xx] xx: Between 01 and 03. If <> 03 then HIRO sprite instead of dude sprite and kills itself when using the item system. parsing command byte 0xec for map 3.49 at 0x6c935 info: None long_info: None parsing xy trigger byte scripts... x=3 y=8 parsing command byte 0x31 for map 3.49 at 0x6c938 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.49 at 0x6c93b info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x0 for map 3.49 at 0x6c93e info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x60 for map 3.49 at 0x6c941 info: Pokemon catching tutorial [xx] long_info: Starts a learn-how-to-catch battle with a Pokémon, whose data needs to be loaded beforehand see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke5C Player has to have at least 1 Pokémon for it to work. Items that are statically used: 1xPotion, 5xPoké ball. [60][xx] xx: Between 01 and 03. If <> 03 then HIRO sprite instead of dude sprite and kills itself when using the item system. parsing command byte 0xed for map 3.49 at 0x6c943 info: None long_info: None parsing xy trigger byte scripts... x=5 y=8 parsing command byte 0x31 for map 3.49 at 0x6c946 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.49 at 0x6c949 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x0 for map 3.49 at 0x6c94c info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x60 for map 3.49 at 0x6c94f info: Pokemon catching tutorial [xx] long_info: Starts a learn-how-to-catch battle with a Pokémon, whose data needs to be loaded beforehand see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke5C Player has to have at least 1 Pokémon for it to work. Items that are statically used: 1xPotion, 5xPoké ball. [60][xx] xx: Between 01 and 03. If <> 03 then HIRO sprite instead of dude sprite and kills itself when using the item system. parsing command byte 0xee for map 3.49 at 0x6c951 info: None long_info: None parsing xy trigger byte scripts... x=3 y=9 parsing command byte 0x31 for map 3.49 at 0x6c954 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.49 at 0x6c957 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x0 for map 3.49 at 0x6c95a info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x60 for map 3.49 at 0x6c95d info: Pokemon catching tutorial [xx] long_info: Starts a learn-how-to-catch battle with a Pokémon, whose data needs to be loaded beforehand see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke5C Player has to have at least 1 Pokémon for it to work. Items that are statically used: 1xPotion, 5xPoké ball. [60][xx] xx: Between 01 and 03. If <> 03 then HIRO sprite instead of dude sprite and kills itself when using the item system. parsing command byte 0xef for map 3.49 at 0x6c95f info: None long_info: None parsing xy trigger byte scripts... x=4 y=9 parsing command byte 0x31 for map 3.49 at 0x6c962 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.49 at 0x6c965 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x0 for map 3.49 at 0x6c968 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x60 for map 3.49 at 0x6c96b info: Pokemon catching tutorial [xx] long_info: Starts a learn-how-to-catch battle with a Pokémon, whose data needs to be loaded beforehand see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke5C Player has to have at least 1 Pokémon for it to work. Items that are statically used: 1xPotion, 5xPoké ball. [60][xx] xx: Between 01 and 03. If <> 03 then HIRO sprite instead of dude sprite and kills itself when using the item system. parsing command byte 0xf0 for map 3.49 at 0x6c96d info: None long_info: None parsing xy trigger byte scripts... x=1 y=10 parsing command byte 0x31 for map 3.49 at 0x6c970 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.49 at 0x6c973 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x0 for map 3.49 at 0x6c976 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x60 for map 3.49 at 0x6c979 info: Pokemon catching tutorial [xx] long_info: Starts a learn-how-to-catch battle with a Pokémon, whose data needs to be loaded beforehand see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke5C Player has to have at least 1 Pokémon for it to work. Items that are statically used: 1xPotion, 5xPoké ball. [60][xx] xx: Between 01 and 03. If <> 03 then HIRO sprite instead of dude sprite and kills itself when using the item system. parsing command byte 0xf1 for map 3.49 at 0x6c97b info: None long_info: None parsing xy trigger byte scripts... x=2 y=10 parsing command byte 0x31 for map 3.49 at 0x6c97e info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.49 at 0x6c981 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x0 for map 3.49 at 0x6c984 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x60 for map 3.49 at 0x6c987 info: Pokemon catching tutorial [xx] long_info: Starts a learn-how-to-catch battle with a Pokémon, whose data needs to be loaded beforehand see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke5C Player has to have at least 1 Pokémon for it to work. Items that are statically used: 1xPotion, 5xPoké ball. [60][xx] xx: Between 01 and 03. If <> 03 then HIRO sprite instead of dude sprite and kills itself when using the item system. parsing command byte 0xf2 for map 3.49 at 0x6c989 info: None long_info: None parsing xy trigger byte scripts... x=3 y=10 parsing command byte 0x31 for map 3.49 at 0x6c98c info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.49 at 0x6c98f info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x0 for map 3.49 at 0x6c992 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x60 for map 3.49 at 0x6c995 info: Pokemon catching tutorial [xx] long_info: Starts a learn-how-to-catch battle with a Pokémon, whose data needs to be loaded beforehand see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke5C Player has to have at least 1 Pokémon for it to work. Items that are statically used: 1xPotion, 5xPoké ball. [60][xx] xx: Between 01 and 03. If <> 03 then HIRO sprite instead of dude sprite and kills itself when using the item system. parsing command byte 0xf3 for map 3.49 at 0x6c997 info: None long_info: None parsing xy trigger byte scripts... x=5 y=10 parsing command byte 0x31 for map 3.49 at 0x6c99a info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.49 at 0x6c99d info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x0 for map 3.49 at 0x6c9a0 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x60 for map 3.49 at 0x6c9a3 info: Pokemon catching tutorial [xx] long_info: Starts a learn-how-to-catch battle with a Pokémon, whose data needs to be loaded beforehand see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke5C Player has to have at least 1 Pokémon for it to work. Items that are statically used: 1xPotion, 5xPoké ball. [60][xx] xx: Between 01 and 03. If <> 03 then HIRO sprite instead of dude sprite and kills itself when using the item system. parsing command byte 0xf4 for map 3.49 at 0x6c9a5 info: None long_info: None parsing xy trigger byte scripts... x=2 y=11 parsing command byte 0x31 for map 3.49 at 0x6c9a8 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.49 at 0x6c9ab info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x0 for map 3.49 at 0x6c9ae info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x60 for map 3.49 at 0x6c9b1 info: Pokemon catching tutorial [xx] long_info: Starts a learn-how-to-catch battle with a Pokémon, whose data needs to be loaded beforehand see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke5C Player has to have at least 1 Pokémon for it to work. Items that are statically used: 1xPotion, 5xPoké ball. [60][xx] xx: Between 01 and 03. If <> 03 then HIRO sprite instead of dude sprite and kills itself when using the item system. parsing command byte 0xf5 for map 3.49 at 0x6c9b3 info: None long_info: None parsing xy trigger byte scripts... x=4 y=11 parsing command byte 0x31 for map 3.49 at 0x6c9b6 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.49 at 0x6c9b9 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x0 for map 3.49 at 0x6c9bc info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x60 for map 3.49 at 0x6c9bf info: Pokemon catching tutorial [xx] long_info: Starts a learn-how-to-catch battle with a Pokémon, whose data needs to be loaded beforehand see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke5C Player has to have at least 1 Pokémon for it to work. Items that are statically used: 1xPotion, 5xPoké ball. [60][xx] xx: Between 01 and 03. If <> 03 then HIRO sprite instead of dude sprite and kills itself when using the item system. parsing command byte 0xf6 for map 3.49 at 0x6c9c1 info: None long_info: None parsing xy trigger byte scripts... x=1 y=12 parsing command byte 0x31 for map 3.49 at 0x6c9c4 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.49 at 0x6c9c7 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x0 for map 3.49 at 0x6c9ca info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x60 for map 3.49 at 0x6c9cd info: Pokemon catching tutorial [xx] long_info: Starts a learn-how-to-catch battle with a Pokémon, whose data needs to be loaded beforehand see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke5C Player has to have at least 1 Pokémon for it to work. Items that are statically used: 1xPotion, 5xPoké ball. [60][xx] xx: Between 01 and 03. If <> 03 then HIRO sprite instead of dude sprite and kills itself when using the item system. parsing command byte 0xf7 for map 3.49 at 0x6c9cf info: None long_info: None parsing xy trigger byte scripts... x=2 y=12 parsing command byte 0x31 for map 3.49 at 0x6c9d2 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.49 at 0x6c9d5 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x0 for map 3.49 at 0x6c9d8 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x60 for map 3.49 at 0x6c9db info: Pokemon catching tutorial [xx] long_info: Starts a learn-how-to-catch battle with a Pokémon, whose data needs to be loaded beforehand see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke5C Player has to have at least 1 Pokémon for it to work. Items that are statically used: 1xPotion, 5xPoké ball. [60][xx] xx: Between 01 and 03. If <> 03 then HIRO sprite instead of dude sprite and kills itself when using the item system. parsing command byte 0xf8 for map 3.49 at 0x6c9dd info: None long_info: None parsing xy trigger byte scripts... x=4 y=12 parsing command byte 0x31 for map 3.49 at 0x6c9e0 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.49 at 0x6c9e3 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x0 for map 3.49 at 0x6c9e6 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x60 for map 3.49 at 0x6c9e9 info: Pokemon catching tutorial [xx] long_info: Starts a learn-how-to-catch battle with a Pokémon, whose data needs to be loaded beforehand see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke5C Player has to have at least 1 Pokémon for it to work. Items that are statically used: 1xPotion, 5xPoké ball. [60][xx] xx: Between 01 and 03. If <> 03 then HIRO sprite instead of dude sprite and kills itself when using the item system. parsing command byte 0xf9 for map 3.49 at 0x6c9eb info: None long_info: None parsing xy trigger byte scripts... x=5 y=12 parsing command byte 0x31 for map 3.49 at 0x6c9ee info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.49 at 0x6c9f1 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x0 for map 3.49 at 0x6c9f4 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x60 for map 3.49 at 0x6c9f7 info: Pokemon catching tutorial [xx] long_info: Starts a learn-how-to-catch battle with a Pokémon, whose data needs to be loaded beforehand see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke5C Player has to have at least 1 Pokémon for it to work. Items that are statically used: 1xPotion, 5xPoké ball. [60][xx] xx: Between 01 and 03. If <> 03 then HIRO sprite instead of dude sprite and kills itself when using the item system. parsing command byte 0xfa for map 3.49 at 0x6c9f9 info: None long_info: None parsing xy trigger byte scripts... x=1 y=13 parsing command byte 0x31 for map 3.49 at 0x6c9fc info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.49 at 0x6c9ff info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x0 for map 3.49 at 0x6ca02 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x60 for map 3.49 at 0x6ca05 info: Pokemon catching tutorial [xx] long_info: Starts a learn-how-to-catch battle with a Pokémon, whose data needs to be loaded beforehand see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke5C Player has to have at least 1 Pokémon for it to work. Items that are statically used: 1xPotion, 5xPoké ball. [60][xx] xx: Between 01 and 03. If <> 03 then HIRO sprite instead of dude sprite and kills itself when using the item system. parsing command byte 0xfb for map 3.49 at 0x6ca07 info: None long_info: None parsing xy trigger byte scripts... x=3 y=13 parsing command byte 0x31 for map 3.49 at 0x6ca0a info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.49 at 0x6ca0d info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x0 for map 3.49 at 0x6ca10 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x60 for map 3.49 at 0x6ca13 info: Pokemon catching tutorial [xx] long_info: Starts a learn-how-to-catch battle with a Pokémon, whose data needs to be loaded beforehand see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke5C Player has to have at least 1 Pokémon for it to work. Items that are statically used: 1xPotion, 5xPoké ball. [60][xx] xx: Between 01 and 03. If <> 03 then HIRO sprite instead of dude sprite and kills itself when using the item system. parsing command byte 0xfc for map 3.49 at 0x6ca15 info: None long_info: None parsing xy trigger byte scripts... x=4 y=13 parsing command byte 0x31 for map 3.49 at 0x6ca18 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.49 at 0x6ca1b info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x0 for map 3.49 at 0x6ca1e info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x60 for map 3.49 at 0x6ca21 info: Pokemon catching tutorial [xx] long_info: Starts a learn-how-to-catch battle with a Pokémon, whose data needs to be loaded beforehand see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke5C Player has to have at least 1 Pokémon for it to work. Items that are statically used: 1xPotion, 5xPoké ball. [60][xx] xx: Between 01 and 03. If <> 03 then HIRO sprite instead of dude sprite and kills itself when using the item system. parsing command byte 0xfd for map 3.49 at 0x6ca23 info: None long_info: None parsing xy trigger byte scripts... x=5 y=13 parsing command byte 0x31 for map 3.49 at 0x6ca26 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.49 at 0x6ca29 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x0 for map 3.49 at 0x6ca2c info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x60 for map 3.49 at 0x6ca2f info: Pokemon catching tutorial [xx] long_info: Starts a learn-how-to-catch battle with a Pokémon, whose data needs to be loaded beforehand see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke5C Player has to have at least 1 Pokémon for it to work. Items that are statically used: 1xPotion, 5xPoké ball. [60][xx] xx: Between 01 and 03. If <> 03 then HIRO sprite instead of dude sprite and kills itself when using the item system. parsing command byte 0xfe for map 3.49 at 0x6ca31 info: None long_info: None parsing signpost script.. signpost is at: x=19 y=11 parsing command byte 0x47 for map 3.49 at 0x6ca9c info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x31 for map 3.49 at 0x6ca9d info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.49 at 0x6caa0 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4c for map 3.49 at 0x6caa3 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x85 for map 3.49 at 0x6caa6 info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0x21 for map 3.49 at 0x6caa7 info: Check if player has item [xx] long_info: Checks if item is possessed. feedback: 00 = does not have item 01 = has item [21][item no] parsing command byte 0x54 for map 3.49 at 0x6caa9 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 3.49 at 0x6caaa info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x33 for map 3.49 at 0x6caab info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x33 for map 3.49 at 0x6caae info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x33 for map 3.49 at 0x6cab1 info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x33 for map 3.49 at 0x6cab4 info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x33 for map 3.49 at 0x6cab7 info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x33 for map 3.49 at 0x6caba info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x91 for map 3.49 at 0x6cabd info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=24 y=1 parsing command byte 0x53 for map 3.49 at 0x6ca96 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x7c for map 3.49 at 0x6ca97 info: Write command queue [xxyy] long_info: Writes a command queue to the next free slot in ram. Max 4 command queues à 5 bytes. This code is buggy (bug fix: 25:7C74 --> 12). [7C][2byte pointer to 5byte command queue] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDok25_7CC9 parsing command byte 0x4 for map 3.49 at 0x6ca9a info: pointer code long_info: 3byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0xe3 for map 3.49 at 0x6ca9e info: None long_info: None parsing signpost script.. signpost is at: x=6 y=1 parsing command byte 0x53 for map 3.49 at 0x6ca96 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x7c for map 3.49 at 0x6ca97 info: Write command queue [xxyy] long_info: Writes a command queue to the next free slot in ram. Max 4 command queues à 5 bytes. This code is buggy (bug fix: 25:7C74 --> 12). [7C][2byte pointer to 5byte command queue] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDok25_7CC9 parsing command byte 0x4 for map 3.49 at 0x6ca9a info: pointer code long_info: 3byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0xe3 for map 3.49 at 0x6ca9e info: None long_info: None parsing signpost script.. signpost is at: x=8 y=15 parsing command byte 0x53 for map 3.49 at 0x6ca96 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x7c for map 3.49 at 0x6ca97 info: Write command queue [xxyy] long_info: Writes a command queue to the next free slot in ram. Max 4 command queues à 5 bytes. This code is buggy (bug fix: 25:7C74 --> 12). [7C][2byte pointer to 5byte command queue] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDok25_7CC9 parsing command byte 0x4 for map 3.49 at 0x6ca9a info: pointer code long_info: 3byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0xe3 for map 3.49 at 0x6ca9e info: None long_info: None parsing signpost script.. signpost is at: x=22 y=15 parsing command byte 0x53 for map 3.49 at 0x6ca96 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x7c for map 3.49 at 0x6ca97 info: Write command queue [xxyy] long_info: Writes a command queue to the next free slot in ram. Max 4 command queues à 5 bytes. This code is buggy (bug fix: 25:7C74 --> 12). [7C][2byte pointer to 5byte command queue] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDok25_7CC9 parsing command byte 0x4 for map 3.49 at 0x6ca9a info: pointer code long_info: 3byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0xe3 for map 3.49 at 0x6ca9e info: None long_info: None parsing signpost script.. signpost is at: x=24 y=5 parsing command byte 0x53 for map 3.49 at 0x6ca96 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x7c for map 3.49 at 0x6ca97 info: Write command queue [xxyy] long_info: Writes a command queue to the next free slot in ram. Max 4 command queues à 5 bytes. This code is buggy (bug fix: 25:7C74 --> 12). [7C][2byte pointer to 5byte command queue] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDok25_7CC9 parsing command byte 0x4 for map 3.49 at 0x6ca9a info: pointer code long_info: 3byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0xe3 for map 3.49 at 0x6ca9e info: None long_info: None parsing signpost script.. signpost is at: x=20 y=11 parsing command byte 0xc for map 3.49 at 0x6ca99 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=21 y=11 parsing command byte 0xc for map 3.49 at 0x6ca99 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=3 y=11 parsing command byte 0x86 for map 3.49 at 0x6caca info: Warp sound long_info: Evaluates which sound is played when HIRO enters a Warp field. Usage via script ingame is rather not useful. [86] parsing command byte 0x0 for map 3.49 at 0x6cacb info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x13 for map 3.49 at 0x6cace info: Trigger event check long_info: Checks the number of the trigger events on the current map. [13] parsing command byte 0x13 for map 3.49 at 0x6cacf info: Trigger event check long_info: Checks the number of the trigger events on the current map. [13] parsing command byte 0x13 for map 3.49 at 0x6cad0 info: Trigger event check long_info: Checks the number of the trigger events on the current map. [13] parsing command byte 0x47 for map 3.49 at 0x6cad1 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x11 for map 3.49 at 0x6cad2 info: Trigger event check1 [xx][yy] long_info: Check the current number of the trigger event on map (map group/map id). [11][map group][map number] parsing command byte 0x11 for map 3.49 at 0x6cad5 info: Trigger event check1 [xx][yy] long_info: Check the current number of the trigger event on map (map group/map id). [11][map group][map number] parsing command byte 0x3 for map 3.49 at 0x6cad8 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x12 for map 3.49 at 0x6cadb info: Activate trigger event from afar [xx][yy][zz] long_info: Changes trigger event number on map (map bank/map no) to xx. xx = trigger event number that should be activated [12][MapBank][MapNo][xx] parsing command byte 0x11 for map 3.49 at 0x6cadf info: Trigger event check1 [xx][yy] long_info: Check the current number of the trigger event on map (map group/map id). [11][map group][map number] parsing command byte 0x47 for map 3.49 at 0x6cae2 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x31 for map 3.49 at 0x6cae3 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x11 for map 3.49 at 0x6cae6 info: Trigger event check1 [xx][yy] long_info: Check the current number of the trigger event on map (map group/map id). [11][map group][map number] parsing command byte 0x47 for map 3.49 at 0x6cae9 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x12 for map 3.49 at 0x6caea info: Activate trigger event from afar [xx][yy][zz] long_info: Changes trigger event number on map (map bank/map no) to xx. xx = trigger event number that should be activated [12][MapBank][MapNo][xx] parsing command byte 0x11 for map 3.49 at 0x6caee info: Trigger event check1 [xx][yy] long_info: Check the current number of the trigger event on map (map group/map id). [11][map group][map number] parsing command byte 0x47 for map 3.49 at 0x6caf1 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x11 for map 3.49 at 0x6caf2 info: Trigger event check1 [xx][yy] long_info: Check the current number of the trigger event on map (map group/map id). [11][map group][map number] parsing command byte 0x11 for map 3.49 at 0x6caf5 info: Trigger event check1 [xx][yy] long_info: Check the current number of the trigger event on map (map group/map id). [11][map group][map number] parsing command byte 0x12 for map 3.49 at 0x6caf8 info: Activate trigger event from afar [xx][yy][zz] long_info: Changes trigger event number on map (map bank/map no) to xx. xx = trigger event number that should be activated [12][MapBank][MapNo][xx] parsing command byte 0x11 for map 3.49 at 0x6cafc info: Trigger event check1 [xx][yy] long_info: Check the current number of the trigger event on map (map group/map id). [11][map group][map number] parsing command byte 0x11 for map 3.49 at 0x6caff info: Trigger event check1 [xx][yy] long_info: Check the current number of the trigger event on map (map group/map id). [11][map group][map number] parsing command byte 0x10 for map 3.49 at 0x6cb02 info: ASM code2 [2b to 3b to asm] long_info: Call an ASM script via a 2byte pointer pointing to a 3byte pointer. [10][2byte pointer pointing to 3byte pointer pointing to ASM script] parsing command byte 0x10 for map 3.49 at 0x6cb05 info: ASM code2 [2b to 3b to asm] long_info: Call an ASM script via a 2byte pointer pointing to a 3byte pointer. [10][2byte pointer pointing to 3byte pointer pointing to ASM script] parsing command byte 0x12 for map 3.49 at 0x6cb08 info: Activate trigger event from afar [xx][yy][zz] long_info: Changes trigger event number on map (map bank/map no) to xx. xx = trigger event number that should be activated [12][MapBank][MapNo][xx] parsing command byte 0x12 for map 3.49 at 0x6cb0c info: Activate trigger event from afar [xx][yy][zz] long_info: Changes trigger event number on map (map bank/map no) to xx. xx = trigger event number that should be activated [12][MapBank][MapNo][xx] parsing command byte 0x12 for map 3.49 at 0x6cb10 info: Activate trigger event from afar [xx][yy][zz] long_info: Changes trigger event number on map (map bank/map no) to xx. xx = trigger event number that should be activated [12][MapBank][MapNo][xx] parsing command byte 0xa4 for map 3.49 at 0x6cb14 info: None long_info: None skipping event data... (oops) parsing command byte 0x91 for map 3.49 at 0x6c65a info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x6e for map None.None at 0x6c65b info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x90 for map None.None at 0x6c65d info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 3 map_id is: 50 event header address is: 0x6de44 parsing xy trigger byte scripts... x=5 y=14 parsing command byte 0x76 for map 3.50 at 0x6d085 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x3 for map 3.50 at 0x6d088 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x76 for map 3.50 at 0x6d08b info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x76 for map 3.50 at 0x6d08e info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x47 for map 3.50 at 0x6d091 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 3.50 at 0x6d092 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 3.50 at 0x6d095 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 3.50 at 0x6d096 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0xf for map 3.50 at 0x6d097 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0xf for map 3.50 at 0x6d09a info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x85 for map 3.50 at 0x6d09d info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0x5 for map 3.50 at 0x6d09e info: pointer code long_info: 2byte pointer points to 3byte pointer; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x1b for map 3.50 at 0x6d0a1 info: Load variable [xxyy][zz] long_info: Writes zz to ram address. [1B][2-byte RAM address][zz] parsing command byte 0x0 for map 3.50 at 0x6d0a5 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf7 for map 3.50 at 0x6d0a8 info: None long_info: None parsing xy trigger byte scripts... x=4 y=13 parsing command byte 0x76 for map 3.50 at 0x6d08b info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x76 for map 3.50 at 0x6d08e info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x47 for map 3.50 at 0x6d091 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 3.50 at 0x6d092 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 3.50 at 0x6d095 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 3.50 at 0x6d096 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0xf for map 3.50 at 0x6d097 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0xf for map 3.50 at 0x6d09a info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x85 for map 3.50 at 0x6d09d info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0x5 for map 3.50 at 0x6d09e info: pointer code long_info: 2byte pointer points to 3byte pointer; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x1b for map 3.50 at 0x6d0a1 info: Load variable [xxyy][zz] long_info: Writes zz to ram address. [1B][2-byte RAM address][zz] parsing command byte 0x0 for map 3.50 at 0x6d0a5 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf7 for map 3.50 at 0x6d0a8 info: None long_info: None parsing xy trigger byte scripts... x=14 y=11 parsing command byte 0x72 for map 3.50 at 0x6cf95 info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0x9 for map 3.50 at 0x6cf97 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0xac for map 3.50 at 0x6cf9a info: None long_info: None parsing xy trigger byte scripts... x=15 y=11 parsing command byte 0x72 for map 3.50 at 0x6cf9c info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0x15 for map 3.50 at 0x6cf9e info: Load variable into RAM [xx] long_info: [15][xx] parsing command byte 0x72 for map 3.50 at 0x6cfa0 info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0x15 for map 3.50 at 0x6cfa2 info: Load variable into RAM [xx] long_info: [15][xx] parsing command byte 0x72 for map 3.50 at 0x6cfa4 info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0xa for map 3.50 at 0x6cfa6 info: RAM check [ C6) and can't used as described without fix. This code compares the X and Y coordinates of HIRO with the ones in a table (max. 20h XY pairs) on the current map. It sets or resets the 4 bytes D17C to D17F accordingly to this table, 1 bit for every table entry. To be useful, this code can only be used in a command queue, because with every regular move of HIRO the bits are reset again. This code is an alternative to the trigger events and can be used via the command queue code. See Write command queue, Additional documentation: 3:4661 with c= index in table (start=00), hl=D171, b=01, d=00. parsing command byte 0x3 for map 3.50 at 0x6cfc5 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x76 for map 3.50 at 0x6cfc8 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x69 for map 3.50 at 0x6cfcb info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x52 for map 3.50 at 0x6cfce info: Display text (by pointer) and end [xxyy] long_info: Displays a text. Afterwards there is no other script interpreted. Corresponds to 47 + 4C + 53 + 49 + 90 [52][2byte textpointer] parsing xy trigger byte scripts... x=14 y=12 parsing command byte 0x69 for map 3.50 at 0x6d075 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x52 for map 3.50 at 0x6d078 info: Display text (by pointer) and end [xxyy] long_info: Displays a text. Afterwards there is no other script interpreted. Corresponds to 47 + 4C + 53 + 49 + 90 [52][2byte textpointer] parsing xy trigger byte scripts... x=15 y=12 parsing command byte 0x69 for map 3.50 at 0x6d075 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x52 for map 3.50 at 0x6d078 info: Display text (by pointer) and end [xxyy] long_info: Displays a text. Afterwards there is no other script interpreted. Corresponds to 47 + 4C + 53 + 49 + 90 [52][2byte textpointer] parsing xy trigger byte scripts... x=12 y=3 parsing command byte 0x47 for map 3.50 at 0x6d07a info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 3.50 at 0x6d07b info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 3.50 at 0x6d07e info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 3.50 at 0x6d07f info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x69 for map 3.50 at 0x6d080 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x52 for map 3.50 at 0x6d083 info: Display text (by pointer) and end [xxyy] long_info: Displays a text. Afterwards there is no other script interpreted. Corresponds to 47 + 4C + 53 + 49 + 90 [52][2byte textpointer] parsing xy trigger byte scripts... x=12 y=10 parsing command byte 0x47 for map 3.50 at 0x6d07a info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 3.50 at 0x6d07b info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 3.50 at 0x6d07e info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 3.50 at 0x6d07f info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x69 for map 3.50 at 0x6d080 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x52 for map 3.50 at 0x6d083 info: Display text (by pointer) and end [xxyy] long_info: Displays a text. Afterwards there is no other script interpreted. Corresponds to 47 + 4C + 53 + 49 + 90 [52][2byte textpointer] parsing xy trigger byte scripts... x=12 y=11 parsing command byte 0x47 for map 3.50 at 0x6d07a info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 3.50 at 0x6d07b info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 3.50 at 0x6d07e info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 3.50 at 0x6d07f info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x69 for map 3.50 at 0x6d080 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x52 for map 3.50 at 0x6d083 info: Display text (by pointer) and end [xxyy] long_info: Displays a text. Afterwards there is no other script interpreted. Corresponds to 47 + 4C + 53 + 49 + 90 [52][2byte textpointer] parsing signpost script.. signpost is at: x=14 y=12 parsing command byte 0x0 for map 3.50 at 0x6d1d7 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x51 for map 3.50 at 0x6d1da info: Display text (by pointer), turn to HIRO, end [xxyy] long_info: Displays a text and lets person turn to HIRO. Afterwards there is no other script interpreted. Corresponds to 6A + 47 + 4C + 53 + 49 + 90 [51][2byte textpointer] parsing signpost script.. signpost is at: x=15 y=12 parsing command byte 0x0 for map 3.50 at 0x6d1d7 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x51 for map 3.50 at 0x6d1da info: Display text (by pointer), turn to HIRO, end [xxyy] long_info: Displays a text and lets person turn to HIRO. Afterwards there is no other script interpreted. Corresponds to 6A + 47 + 4C + 53 + 49 + 90 [51][2byte textpointer] parsing signpost script.. signpost is at: x=17 y=9 parsing command byte 0x47 for map 3.50 at 0x6d1fa info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x31 for map 3.50 at 0x6d1fb info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.50 at 0x6d1fe info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4c for map 3.50 at 0x6d201 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 3.50 at 0x6d204 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 3.50 at 0x6d205 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 3.50 at 0x6d206 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=16 y=9 parsing command byte 0x47 for map 3.50 at 0x6d1fa info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x31 for map 3.50 at 0x6d1fb info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.50 at 0x6d1fe info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4c for map 3.50 at 0x6d201 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 3.50 at 0x6d204 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 3.50 at 0x6d205 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 3.50 at 0x6d206 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=15 y=9 parsing command byte 0x47 for map 3.50 at 0x6d1fa info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x31 for map 3.50 at 0x6d1fb info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.50 at 0x6d1fe info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4c for map 3.50 at 0x6d201 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 3.50 at 0x6d204 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 3.50 at 0x6d205 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 3.50 at 0x6d206 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=14 y=9 parsing command byte 0x47 for map 3.50 at 0x6d1fa info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x31 for map 3.50 at 0x6d1fb info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.50 at 0x6d1fe info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4c for map 3.50 at 0x6d201 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 3.50 at 0x6d204 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 3.50 at 0x6d205 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 3.50 at 0x6d206 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=13 y=9 parsing command byte 0x47 for map 3.50 at 0x6d1fa info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x31 for map 3.50 at 0x6d1fb info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.50 at 0x6d1fe info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4c for map 3.50 at 0x6d201 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 3.50 at 0x6d204 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 3.50 at 0x6d205 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 3.50 at 0x6d206 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=12 y=9 parsing command byte 0x47 for map 3.50 at 0x6d1fa info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x31 for map 3.50 at 0x6d1fb info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.50 at 0x6d1fe info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4c for map 3.50 at 0x6d201 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 3.50 at 0x6d204 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 3.50 at 0x6d205 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 3.50 at 0x6d206 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=12 y=8 parsing command byte 0x47 for map 3.50 at 0x6d1fa info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x31 for map 3.50 at 0x6d1fb info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.50 at 0x6d1fe info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4c for map 3.50 at 0x6d201 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 3.50 at 0x6d204 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 3.50 at 0x6d205 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 3.50 at 0x6d206 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=12 y=7 parsing command byte 0x47 for map 3.50 at 0x6d1fa info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x31 for map 3.50 at 0x6d1fb info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.50 at 0x6d1fe info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4c for map 3.50 at 0x6d201 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 3.50 at 0x6d204 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 3.50 at 0x6d205 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 3.50 at 0x6d206 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=12 y=6 parsing command byte 0x47 for map 3.50 at 0x6d1fa info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x31 for map 3.50 at 0x6d1fb info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.50 at 0x6d1fe info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4c for map 3.50 at 0x6d201 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 3.50 at 0x6d204 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 3.50 at 0x6d205 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 3.50 at 0x6d206 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=12 y=5 parsing command byte 0x47 for map 3.50 at 0x6d1fa info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x31 for map 3.50 at 0x6d1fb info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.50 at 0x6d1fe info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4c for map 3.50 at 0x6d201 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 3.50 at 0x6d204 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 3.50 at 0x6d205 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 3.50 at 0x6d206 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=12 y=4 parsing command byte 0x47 for map 3.50 at 0x6d1fa info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x31 for map 3.50 at 0x6d1fb info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.50 at 0x6d1fe info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4c for map 3.50 at 0x6d201 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 3.50 at 0x6d204 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 3.50 at 0x6d205 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 3.50 at 0x6d206 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=13 y=4 parsing command byte 0x47 for map 3.50 at 0x6d1fa info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x31 for map 3.50 at 0x6d1fb info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.50 at 0x6d1fe info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4c for map 3.50 at 0x6d201 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 3.50 at 0x6d204 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 3.50 at 0x6d205 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 3.50 at 0x6d206 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=14 y=4 parsing command byte 0x47 for map 3.50 at 0x6d1fa info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x31 for map 3.50 at 0x6d1fb info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.50 at 0x6d1fe info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4c for map 3.50 at 0x6d201 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 3.50 at 0x6d204 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 3.50 at 0x6d205 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 3.50 at 0x6d206 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=15 y=4 parsing command byte 0x47 for map 3.50 at 0x6d1fa info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x31 for map 3.50 at 0x6d1fb info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.50 at 0x6d1fe info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4c for map 3.50 at 0x6d201 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 3.50 at 0x6d204 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 3.50 at 0x6d205 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 3.50 at 0x6d206 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=16 y=4 parsing command byte 0x47 for map 3.50 at 0x6d1fa info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x31 for map 3.50 at 0x6d1fb info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.50 at 0x6d1fe info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4c for map 3.50 at 0x6d201 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 3.50 at 0x6d204 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 3.50 at 0x6d205 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 3.50 at 0x6d206 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=17 y=4 parsing command byte 0x47 for map 3.50 at 0x6d1fa info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x31 for map 3.50 at 0x6d1fb info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.50 at 0x6d1fe info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4c for map 3.50 at 0x6d201 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 3.50 at 0x6d204 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 3.50 at 0x6d205 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 3.50 at 0x6d206 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=17 y=5 parsing command byte 0x47 for map 3.50 at 0x6d1fa info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x31 for map 3.50 at 0x6d1fb info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.50 at 0x6d1fe info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4c for map 3.50 at 0x6d201 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 3.50 at 0x6d204 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 3.50 at 0x6d205 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 3.50 at 0x6d206 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=17 y=6 parsing command byte 0x47 for map 3.50 at 0x6d1fa info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x31 for map 3.50 at 0x6d1fb info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.50 at 0x6d1fe info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4c for map 3.50 at 0x6d201 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 3.50 at 0x6d204 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 3.50 at 0x6d205 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 3.50 at 0x6d206 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=17 y=7 parsing command byte 0x47 for map 3.50 at 0x6d1fa info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x31 for map 3.50 at 0x6d1fb info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.50 at 0x6d1fe info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4c for map 3.50 at 0x6d201 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 3.50 at 0x6d204 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 3.50 at 0x6d205 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 3.50 at 0x6d206 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=17 y=8 parsing command byte 0x47 for map 3.50 at 0x6d1fa info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x31 for map 3.50 at 0x6d1fb info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.50 at 0x6d1fe info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4c for map 3.50 at 0x6d201 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 3.50 at 0x6d204 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 3.50 at 0x6d205 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 3.50 at 0x6d206 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=26 y=7 parsing command byte 0x87 for map 3.50 at 0x6d20f info: Special sound if TM was last checked long_info: When last given/checked Item was a TM then it plays sound 0x9B. If not, then 0x01. [87] parsing command byte 0x0 for map 3.50 at 0x6d210 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 3.50 at 0x6d213 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0xf for map 3.50 at 0x6d216 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0xf for map 3.50 at 0x6d219 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0xf for map 3.50 at 0x6d21c info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0xc for map 3.50 at 0x6d21f info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) parsing command byte 0x91 for map 3.50 at 0x6cf85 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 3.50 at 0x6cf86 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 3.50 at 0x6cf87 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 3.50 at 0x6cf88 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x31 for map None.None at 0x6cf89 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map None.None at 0x6cf8c info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x90 for map None.None at 0x6cf8f info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 3 map_id is: 51 event header address is: 0x6e9e4 parsing xy trigger byte scripts... x=10 y=8 parsing command byte 0x69 for map 3.51 at 0x6e04b info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x61 for map 3.51 at 0x6e04e info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0x56 for map 3.51 at 0x6e050 info: ?? Display a pokemon picture and a yes/no box long_info: Displays a YES/NO box at X08/Y05. feedback: 00 = no chosen 01 = yes chosen parsing command byte 0x60 for map 3.51 at 0x6e051 info: Pokemon catching tutorial [xx] long_info: Starts a learn-how-to-catch battle with a Pokémon, whose data needs to be loaded beforehand see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke5C Player has to have at least 1 Pokémon for it to work. Items that are statically used: 1xPotion, 5xPoké ball. [60][xx] xx: Between 01 and 03. If <> 03 then HIRO sprite instead of dude sprite and kills itself when using the item system. parsing command byte 0x0 for map 3.51 at 0x6e053 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x8b for map 3.51 at 0x6e056 info: Deactive static facing after time [xx] long_info: Deactivates static facings on all persons on the screen after a time xx. [8B][xx] parsing command byte 0x75 for map 3.51 at 0x6e058 info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0xf for map 3.51 at 0x6e05b info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x0 for map 3.51 at 0x6e05e info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 3.51 at 0x6e061 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 3.51 at 0x6e064 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x49 for map 3.51 at 0x6e067 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x69 for map 3.51 at 0x6e068 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x61 for map 3.51 at 0x6e06b info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0x11 for map 3.51 at 0x6e06d info: Trigger event check1 [xx][yy] long_info: Check the current number of the trigger event on map (map group/map id). [11][map group][map number] parsing command byte 0x0 for map 3.51 at 0x6e070 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x5e for map 3.51 at 0x6e073 info: Start pre-configured battle long_info: Starts trainer or Pokémon battle. BattleRAM: 80 = Poké battle; 81 = Trainer battle. feedback: 00 = win 01 = lose parsing command byte 0x33 for map 3.51 at 0x6e074 info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x60 for map 3.51 at 0x6e077 info: Pokemon catching tutorial [xx] long_info: Starts a learn-how-to-catch battle with a Pokémon, whose data needs to be loaded beforehand see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke5C Player has to have at least 1 Pokémon for it to work. Items that are statically used: 1xPotion, 5xPoké ball. [60][xx] xx: Between 01 and 03. If <> 03 then HIRO sprite instead of dude sprite and kills itself when using the item system. parsing command byte 0x74 for map 3.51 at 0x6e079 info: Display emoticon by bubble id and person id and time [xx][yy][zz] long_info: Displays the bubble above a persons head for the given time period. Attention: Bubbles get loaded into ram! [74][Bubble][Person][Time] for bubble ids see 0x73 parsing command byte 0x48 for map 3.51 at 0x6e07d info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0x54 for map 3.51 at 0x6e07f info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 3.51 at 0x6e080 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x69 for map 3.51 at 0x6e081 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x61 for map 3.51 at 0x6e084 info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0x41 for map 3.51 at 0x6e086 info: Copy item name (by id) to memX [id][xx] long_info: Writes item name to MEMORY1, 2 or 3 for later use in text. [41][Item no][00-02 MEMORY] parsing command byte 0x3 for map 3.51 at 0x6e089 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x6e for map 3.51 at 0x6e08c info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x14 for map 3.51 at 0x6e08e info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0x91 for map 3.51 at 0x6e090 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing xy trigger byte scripts... x=11 y=8 parsing command byte 0x69 for map 3.51 at 0x6e052 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x61 for map 3.51 at 0x6e055 info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0x1e for map 3.51 at 0x6e057 info: Write byte value to pre-ID-mapped RAM location [aa][xx] long_info: Writes variable xx to special game-technical value offsets. [1E][following part][xx] where [following part] is the same as 0x1C parsing command byte 0x3 for map 3.51 at 0x6e05a info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x39 for map 3.51 at 0x6e05d info: BUGGY x/y comparison [xxyy] long_info: This code is buggy (Bug fix: 0x3021 --> C6) and can't used as described without fix. This code compares the X and Y coordinates of HIRO with the ones in a table (max. 20h XY pairs) on the current map. It sets or resets the 4 bytes D17C to D17F accordingly to this table, 1 bit for every table entry. To be useful, this code can only be used in a command queue, because with every regular move of HIRO the bits are reset again. This code is an alternative to the trigger events and can be used via the command queue code. See Write command queue, Additional documentation: 3:4661 with c= index in table (start=00), hl=D171, b=01, d=00. parsing command byte 0x3 for map 3.51 at 0x6e060 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x4c for map 3.51 at 0x6e063 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 3.51 at 0x6e066 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 3.51 at 0x6e067 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x69 for map 3.51 at 0x6e068 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x61 for map 3.51 at 0x6e06b info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0x11 for map 3.51 at 0x6e06d info: Trigger event check1 [xx][yy] long_info: Check the current number of the trigger event on map (map group/map id). [11][map group][map number] parsing command byte 0x0 for map 3.51 at 0x6e070 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x5e for map 3.51 at 0x6e073 info: Start pre-configured battle long_info: Starts trainer or Pokémon battle. BattleRAM: 80 = Poké battle; 81 = Trainer battle. feedback: 00 = win 01 = lose parsing command byte 0x33 for map 3.51 at 0x6e074 info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x60 for map 3.51 at 0x6e077 info: Pokemon catching tutorial [xx] long_info: Starts a learn-how-to-catch battle with a Pokémon, whose data needs to be loaded beforehand see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke5C Player has to have at least 1 Pokémon for it to work. Items that are statically used: 1xPotion, 5xPoké ball. [60][xx] xx: Between 01 and 03. If <> 03 then HIRO sprite instead of dude sprite and kills itself when using the item system. parsing command byte 0x74 for map 3.51 at 0x6e079 info: Display emoticon by bubble id and person id and time [xx][yy][zz] long_info: Displays the bubble above a persons head for the given time period. Attention: Bubbles get loaded into ram! [74][Bubble][Person][Time] for bubble ids see 0x73 parsing command byte 0x48 for map 3.51 at 0x6e07d info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0x54 for map 3.51 at 0x6e07f info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 3.51 at 0x6e080 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x69 for map 3.51 at 0x6e081 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x61 for map 3.51 at 0x6e084 info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0x41 for map 3.51 at 0x6e086 info: Copy item name (by id) to memX [id][xx] long_info: Writes item name to MEMORY1, 2 or 3 for later use in text. [41][Item no][00-02 MEMORY] parsing command byte 0x3 for map 3.51 at 0x6e089 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x6e for map 3.51 at 0x6e08c info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x14 for map 3.51 at 0x6e08e info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0x91 for map 3.51 at 0x6e090 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing xy trigger byte scripts... x=8 y=10 parsing command byte 0x76 for map 3.51 at 0x6e019 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x75 for map 3.51 at 0x6e01c info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0xf for map 3.51 at 0x6e01f info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x0 for map 3.51 at 0x6e022 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x69 for map 3.51 at 0x6e025 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x61 for map 3.51 at 0x6e028 info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0x0 for map 3.51 at 0x6e02a info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x1f for map 3.51 at 0x6e02d info: Give item by id and quantity [xx][yy] long_info: Gives item (item no) amount times. feedback: 00 = bag full 01 = OK [1F][item no][amount] parsing command byte 0x4c for map 3.51 at 0x6e030 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 3.51 at 0x6e033 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 3.51 at 0x6e034 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x85 for map 3.51 at 0x6e035 info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0x41 for map 3.51 at 0x6e036 info: Copy item name (by id) to memX [id][xx] long_info: Writes item name to MEMORY1, 2 or 3 for later use in text. [41][Item no][00-02 MEMORY] parsing command byte 0x0 for map 3.51 at 0x6e039 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x69 for map 3.51 at 0x6e03c info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x61 for map 3.51 at 0x6e03f info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0xa for map 3.51 at 0x6e041 info: RAM check [ 03 then HIRO sprite instead of dude sprite and kills itself when using the item system. parsing command byte 0x31 for map 3.51 at 0x6e0f6 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x8 for map 3.51 at 0x6e0f9 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x31 for map 3.51 at 0x6e0fc info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x8 for map 3.51 at 0x6e0ff info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x3 for map 3.51 at 0x6e102 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x4c for map 3.51 at 0x6e105 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 3.51 at 0x6e108 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 3.51 at 0x6e109 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 3.51 at 0x6e10a info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=11 y=9 parsing command byte 0x3 for map 3.51 at 0x6e0f1 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x60 for map 3.51 at 0x6e0f4 info: Pokemon catching tutorial [xx] long_info: Starts a learn-how-to-catch battle with a Pokémon, whose data needs to be loaded beforehand see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke5C Player has to have at least 1 Pokémon for it to work. Items that are statically used: 1xPotion, 5xPoké ball. [60][xx] xx: Between 01 and 03. If <> 03 then HIRO sprite instead of dude sprite and kills itself when using the item system. parsing command byte 0x31 for map 3.51 at 0x6e0f6 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x8 for map 3.51 at 0x6e0f9 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x31 for map 3.51 at 0x6e0fc info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x8 for map 3.51 at 0x6e0ff info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x3 for map 3.51 at 0x6e102 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x4c for map 3.51 at 0x6e105 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 3.51 at 0x6e108 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 3.51 at 0x6e109 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 3.51 at 0x6e10a info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=10 y=1 parsing command byte 0xc for map 3.51 at 0x6e11d info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=11 y=1 parsing command byte 0xc for map 3.51 at 0x6e11d info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=12 y=1 parsing command byte 0xc for map 3.51 at 0x6e11d info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=13 y=1 parsing command byte 0xc for map 3.51 at 0x6e11d info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=4 y=13 parsing command byte 0xc for map 3.51 at 0x6e11d info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=5 y=13 parsing command byte 0xc for map 3.51 at 0x6e11d info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=6 y=13 parsing command byte 0xc for map 3.51 at 0x6e11d info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=7 y=13 parsing command byte 0xc for map 3.51 at 0x6e11d info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) parsing command byte 0x8d for map 3.51 at 0x6dfe9 info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0xfc for map 3.51 at 0x6dfea info: None long_info: None parsing command byte 0x91 for map 3.51 at 0x6dfed info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 3.51 at 0x6dfee info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 3.51 at 0x6dfef info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x31 for map None.None at 0x6dff0 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map None.None at 0x6dff3 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x90 for map None.None at 0x6dff6 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 3 map_id is: 52 event header address is: 0x6f5e7 parsing signpost script.. signpost is at: x=3 y=17 parsing command byte 0x53 for map 3.52 at 0x6ee24 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xde for map 3.52 at 0x6ee25 info: None long_info: None parsing signpost script.. signpost is at: x=11 y=7 parsing command byte 0x88 for map 3.52 at 0x6ee18 info: Engine remote control [bb][xxyy] long_info: This code controls the engine via "data stream". [88][3byte pointer to control structure] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA88 parsing command byte 0x0 for map 3.52 at 0x6ee1c info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 3.52 at 0x6ee1f info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xe for map 3.52 at 0x6ee22 info: ASM code1 [3b] long_info: Calls a predefined routine by interpreting the ASM the pointer points to. [0E][3byte pointer] parsing command byte 0x72 for map 3.52 at 0x6ee26 info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0xc0 for map 3.52 at 0x6ee28 info: None long_info: None parsing signpost script.. signpost is at: x=22 y=14 parsing command byte 0x89 for map 3.52 at 0x6ee1b info: Load map with specific loading process [xx] long_info: The number decides which map loading process is used. The number must be 0xF0 + process number to work correctly. [89][Number] see map loading process: http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDok5_5550 parsing command byte 0x11 for map 3.52 at 0x6ee1d info: Trigger event check1 [xx][yy] long_info: Check the current number of the trigger event on map (map group/map id). [11][map group][map number] parsing command byte 0x26 for map 3.52 at 0x6ee20 info: Take coins from HIRO [xxyy] long_info: Takes coins away from HIRO. yyxx = amount of coins (0000 - 270F) [26][xxyy] parsing command byte 0x0 for map 3.52 at 0x6ee23 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x72 for map 3.52 at 0x6ee26 info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0xc0 for map 3.52 at 0x6ee28 info: None long_info: None parsing signpost script.. signpost is at: x=1 y=17 parsing command byte 0x8a for map 3.52 at 0x6ee1e info: Wait code long_info: This code lets the game wait for 2 * xx time intervals. [8A][xx] xx: Numbers from 0x01 to 0xFF. If 0x00 is chosen then the time can be manipulated by previously loading a number to RAM2. parsing command byte 0x26 for map 3.52 at 0x6ee20 info: Take coins from HIRO [xxyy] long_info: Takes coins away from HIRO. yyxx = amount of coins (0000 - 270F) [26][xxyy] parsing command byte 0x0 for map 3.52 at 0x6ee23 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x72 for map 3.52 at 0x6ee26 info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0xc0 for map 3.52 at 0x6ee28 info: None long_info: None parsing signpost script.. signpost is at: x=8 y=22 parsing command byte 0x31 for map 3.52 at 0x6ee27 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.52 at 0x6ee2a info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x3 for map 3.52 at 0x6ee2d info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x21 for map 3.52 at 0x6ee30 info: Check if player has item [xx] long_info: Checks if item is possessed. feedback: 00 = does not have item 01 = has item [21][item no] parsing command byte 0x9 for map 3.52 at 0x6ee32 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x53 for map 3.52 at 0x6ee35 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x58 for map 3.52 at 0x6ee36 info: Menu interpreter 2 (see menu loader) long_info: Interprets menu data loaded by 4F. see also http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke57 see also http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA58 parsing command byte 0x73 for map 3.52 at 0x6ee37 info: Load emoticon bubble [xx] long_info: Loads the emoticon bubble depending on the given bubble number. [73][bubble number] xx: If xx = FF then take number from RAM. 00 = Exclamation mark 01 = Question mark 02 = Happy 03 = Sad 04 = Heart 05 = Flash 06 = Snoring 07 = Fish parsing command byte 0x4c for map 3.52 at 0x6ee39 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x4e for map 3.52 at 0x6ee3c info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x9 for map 3.52 at 0x6ee3d info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x49 for map 3.52 at 0x6ee40 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 3.52 at 0x6ee41 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 skipping event data... (oops) parsing command byte 0x31 for map None.None at 0x6eb03 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map None.None at 0x6eb06 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x19 for map None.None at 0x6eb09 info: Copy from RAM address to script RAM variable [xxyy] long_info: Writes variable from ram address to RAM. [19][2-byte RAM address] parsing command byte 0x6 for map None.None at 0x6eb0c info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x6b for map None.None at 0x6eb0f info: Move facing direction of person1 to look at person2 [2][1] long_info: Turns the head of person1 to another person2. [6B][Person2][Person1] Person2 = If number is greater than 0xFD, then use number of talked-to person. Person1 = If number equals 0xFE, then take number of talked-to person. parsing command byte 0x3c for map None.None at 0x6eb12 info: Warp to [map group][map id][x][y] long_info: Warps to another map. If all data is 00s, then the current map is reloaded with the current X and Y coordinates. Old script is not finished without a [90]. [3C][Map bank][Map no][X][Y] parsing command byte 0x6b for map None.None at 0x6eb17 info: Move facing direction of person1 to look at person2 [2][1] long_info: Turns the head of person1 to another person2. [6B][Person2][Person1] Person2 = If number is greater than 0xFD, then use number of talked-to person. Person1 = If number equals 0xFE, then take number of talked-to person. parsing command byte 0x4a for map None.None at 0x6eb1a info: Load specific byte to $C1CE [xx] long_info: Loads a byte to C1CE. Seems to have no function in the game. [4A][Byte] parsing command byte 0x6 for map None.None at 0x6eb1c info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x6b for map None.None at 0x6eb1f info: Move facing direction of person1 to look at person2 [2][1] long_info: Turns the head of person1 to another person2. [6B][Person2][Person1] Person2 = If number is greater than 0xFD, then use number of talked-to person. Person1 = If number equals 0xFE, then take number of talked-to person. parsing command byte 0x58 for map None.None at 0x6eb22 info: Menu interpreter 2 (see menu loader) long_info: Interprets menu data loaded by 4F. see also http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke57 see also http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA58 parsing command byte 0x6b for map None.None at 0x6eb23 info: Move facing direction of person1 to look at person2 [2][1] long_info: Turns the head of person1 to another person2. [6B][Person2][Person1] Person2 = If number is greater than 0xFD, then use number of talked-to person. Person1 = If number equals 0xFE, then take number of talked-to person. parsing command byte 0x5f for map None.None at 0x6eb26 info: Return to in-game engine after battle long_info: Returns to ingame engine and evaluates battle. When lost then return to last Pokémon Center etc. parsing command byte 0x6b for map None.None at 0x6eb27 info: Move facing direction of person1 to look at person2 [2][1] long_info: Turns the head of person1 to another person2. [6B][Person2][Person1] Person2 = If number is greater than 0xFD, then use number of talked-to person. Person1 = If number equals 0xFE, then take number of talked-to person. parsing command byte 0x66 for map None.None at 0x6eb2a info: ? Check if trainer talk-after script is executed just after battle or not long_info: Checks if the talk-after script of the event structure defined trainer is executed just after the battle or at a later point in time. feedback: 00 = no 01 = yes [66] parsing command byte 0x6b for map None.None at 0x6eb2b info: Move facing direction of person1 to look at person2 [2][1] long_info: Turns the head of person1 to another person2. [6B][Person2][Person1] Person2 = If number is greater than 0xFD, then use number of talked-to person. Person1 = If number equals 0xFE, then take number of talked-to person. parsing command byte 0x6d for map None.None at 0x6eb2e info: Hide person by id [xx] long_info: Hides a person. [6D][person id] parsing command byte 0x6 for map None.None at 0x6eb30 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x6b for map None.None at 0x6eb33 info: Move facing direction of person1 to look at person2 [2][1] long_info: Turns the head of person1 to another person2. [6B][Person2][Person1] Person2 = If number is greater than 0xFD, then use number of talked-to person. Person1 = If number equals 0xFE, then take number of talked-to person. parsing command byte 0x2 for map None.None at 0x6eb36 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x6f for map None.None at 0x6eb39 info: Following code1 [leader id][follower id] long_info: A person1 follows another person2. The person1 that follows just repeats the movement of person2, even if the persons are not directly next to each other. [6F][Leader Person2][Follower Person1] parsing command byte 0x72 for map None.None at 0x6eb3c info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0xf for map None.None at 0x6eb3e info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x2 for map None.None at 0x6eb41 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x2 for map None.None at 0x6eb44 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x6f for map None.None at 0x6eb47 info: Following code1 [leader id][follower id] long_info: A person1 follows another person2. The person1 that follows just repeats the movement of person2, even if the persons are not directly next to each other. [6F][Leader Person2][Follower Person1] parsing command byte 0x72 for map None.None at 0x6eb4a info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0x1d for map None.None at 0x6eb4c info: Write to pre-ID-mapped RAM location [xx] long_info: Writes variable from RAM to special game-technical value offsets. [1D][following part] where [following part] is the same as 0x1C parsing command byte 0x6f for map None.None at 0x6eb4e info: Following code1 [leader id][follower id] long_info: A person1 follows another person2. The person1 that follows just repeats the movement of person2, even if the persons are not directly next to each other. [6F][Leader Person2][Follower Person1] parsing command byte 0x72 for map None.None at 0x6eb51 info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0x1c for map None.None at 0x6eb53 info: Check pre-ID-mapped RAM location [xx] long_info: Checks special game-technical values and writes then into RAM. [1C][following part][Ram check (when <> 08/09 see „numbers“ in list of following parts)] following part (and then hex values) 01 = PKMN count in party 00 - 06 02 = ??? 03 = Battle type of wild PKMN 04 = ??? 05 = PokéDex caught 00 - FA 06 = PokéDex seen 00 - FA 07 = Badge count 00 - 10 08 = Movement 00 = walk 01 = bike 02 = slipping 04 = surfer 08 = surfing pikachu 09 = HIRO direction 00 (d) 01 (u) 02 (l) 03 (r) 0A = Time in hours 00 - 18 0B = Day 00 (Mo) - 06 (Su) 0C = Map bank of current map 0D = Map no of current map 0E = Num. of diff. unowns seen 00 - 1A 0F = Action byte of map 10 = Amount of free spaces in pkmn box 00 - 14 11 = Minutes until end bug contest 00 - 14 12 = X position of HIRO 13 = Y position of HIRO 14 = phone call number parsing command byte 0x6f for map None.None at 0x6eb55 info: Following code1 [leader id][follower id] long_info: A person1 follows another person2. The person1 that follows just repeats the movement of person2, even if the persons are not directly next to each other. [6F][Leader Person2][Follower Person1] parsing command byte 0x72 for map None.None at 0x6eb58 info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0x18 for map None.None at 0x6eb5a info: G/S version check long_info: Check if version is gold or silver. Gives feedback. 00 = Gold 01 = Silver [18] parsing command byte 0x23 for map None.None at 0x6eb5b info: Take money from HIRO/account [xxyyzzaa] long_info: Takes zzyyxx money from HIRO/account. zzyyxx = amount of money (000000 - 0F423F) [23][00-HIRO/01-account][xxyyzz] parsing command byte 0x2 for map None.None at 0x6eb60 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x6f for map None.None at 0x6eb63 info: Following code1 [leader id][follower id] long_info: A person1 follows another person2. The person1 that follows just repeats the movement of person2, even if the persons are not directly next to each other. [6F][Leader Person2][Follower Person1] parsing command byte 0x72 for map None.None at 0x6eb66 info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0xf for map None.None at 0x6eb68 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x2 for map None.None at 0x6eb6b info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x2 for map None.None at 0x6eb6e info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x6f for map None.None at 0x6eb71 info: Following code1 [leader id][follower id] long_info: A person1 follows another person2. The person1 that follows just repeats the movement of person2, even if the persons are not directly next to each other. [6F][Leader Person2][Follower Person1] parsing command byte 0x72 for map None.None at 0x6eb74 info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0x6 for map None.None at 0x6eb76 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x2 for map None.None at 0x6eb79 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x47 for map None.None at 0x6eb7c info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x31 for map None.None at 0x6eb7d info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map None.None at 0x6eb80 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4c for map None.None at 0x6eb83 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map None.None at 0x6eb86 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map None.None at 0x6eb87 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map None.None at 0x6eb88 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 3 map_id is: 53 event header address is: 0x7c936 parsing signpost script.. signpost is at: x=18 y=6 parsing command byte 0x47 for map 3.53 at 0x7c2d6 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x31 for map 3.53 at 0x7c2d7 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.53 at 0x7c2da info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x21 for map 3.53 at 0x7c2dd info: Check if player has item [xx] long_info: Checks if item is possessed. feedback: 00 = does not have item 01 = has item [21][item no] parsing command byte 0x9 for map 3.53 at 0x7c2df info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4c for map 3.53 at 0x7c2e2 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 3.53 at 0x7c2e5 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 3.53 at 0x7c2e6 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 3.53 at 0x7c2e7 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=19 y=6 parsing command byte 0x53 for map 3.53 at 0x7c308 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x1a for map 3.53 at 0x7c309 info: Write variable from script RAM variable to actual RAM address [xxyy] long_info: Writes variable from RAM to actual RAM address. [1A][2-byte RAM address] parsing command byte 0x0 for map 3.53 at 0x7c30c info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 3.53 at 0x7c30f info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 3.53 at 0x7c312 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x88 for map 3.53 at 0x7c315 info: Engine remote control [bb][xxyy] long_info: This code controls the engine via "data stream". [88][3byte pointer to control structure] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA88 parsing command byte 0xb3 for map 3.53 at 0x7c319 info: None long_info: None parsing signpost script.. signpost is at: x=6 y=13 parsing command byte 0x8b for map 3.53 at 0x7c30b info: Deactive static facing after time [xx] long_info: Deactivates static facings on all persons on the screen after a time xx. [8B][xx] parsing command byte 0xd for map 3.53 at 0x7c30d info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0x11 for map 3.53 at 0x7c310 info: Trigger event check1 [xx][yy] long_info: Check the current number of the trigger event on map (map group/map id). [11][map group][map number] parsing command byte 0x9 for map 3.53 at 0x7c313 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x7f for map 3.53 at 0x7c316 info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0xa6 for map 3.53 at 0x7c317 info: None long_info: None parsing signpost script.. signpost is at: x=4 y=18 parsing command byte 0x8c for map 3.53 at 0x7c30e info: Priority jump to script by pointer [xxyy] long_info: The pointer acts like code 00, but with this higher functions like the bike etc. are not paid attention to, while the script is running. [8C][2byte pointer to script] parsing command byte 0x8d for map 3.53 at 0x7c311 info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0x0 for map 3.53 at 0x7c312 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x88 for map 3.53 at 0x7c315 info: Engine remote control [bb][xxyy] long_info: This code controls the engine via "data stream". [88][3byte pointer to control structure] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA88 parsing command byte 0xb3 for map 3.53 at 0x7c319 info: None long_info: None parsing signpost script.. signpost is at: x=17 y=8 parsing command byte 0x8d for map 3.53 at 0x7c311 info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0x0 for map 3.53 at 0x7c312 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x88 for map 3.53 at 0x7c315 info: Engine remote control [bb][xxyy] long_info: This code controls the engine via "data stream". [88][3byte pointer to control structure] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA88 parsing command byte 0xb3 for map 3.53 at 0x7c319 info: None long_info: None skipping event data... (oops) parsing command byte 0x32 for map None.None at 0x7c043 info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x32 for map None.None at 0x7c046 info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x32 for map None.None at 0x7c049 info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x32 for map None.None at 0x7c04c info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x32 for map None.None at 0x7c04f info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x32 for map None.None at 0x7c052 info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x32 for map None.None at 0x7c055 info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x32 for map None.None at 0x7c058 info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x32 for map None.None at 0x7c05b info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x32 for map None.None at 0x7c05e info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x32 for map None.None at 0x7c061 info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x32 for map None.None at 0x7c064 info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x32 for map None.None at 0x7c067 info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x32 for map None.None at 0x7c06a info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x32 for map None.None at 0x7c06d info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x15 for map None.None at 0x7c070 info: Load variable into RAM [xx] long_info: [15][xx] parsing command byte 0x1a for map None.None at 0x7c072 info: Write variable from script RAM variable to actual RAM address [xxyy] long_info: Writes variable from RAM to actual RAM address. [1A][2-byte RAM address] parsing command byte 0x90 for map None.None at 0x7c075 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] parsing command byte 0x31 for map None.None at 0x7c076 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x8 for map None.None at 0x7c079 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x90 for map None.None at 0x7c07c info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] parsing command byte 0x1c for map None.None at 0x7c082 info: Check pre-ID-mapped RAM location [xx] long_info: Checks special game-technical values and writes then into RAM. [1C][following part][Ram check (when <> 08/09 see „numbers“ in list of following parts)] following part (and then hex values) 01 = PKMN count in party 00 - 06 02 = ??? 03 = Battle type of wild PKMN 04 = ??? 05 = PokéDex caught 00 - FA 06 = PokéDex seen 00 - FA 07 = Badge count 00 - 10 08 = Movement 00 = walk 01 = bike 02 = slipping 04 = surfer 08 = surfing pikachu 09 = HIRO direction 00 (d) 01 (u) 02 (l) 03 (r) 0A = Time in hours 00 - 18 0B = Day 00 (Mo) - 06 (Su) 0C = Map bank of current map 0D = Map no of current map 0E = Num. of diff. unowns seen 00 - 1A 0F = Action byte of map 10 = Amount of free spaces in pkmn box 00 - 14 11 = Minutes until end bug contest 00 - 14 12 = X position of HIRO 13 = Y position of HIRO 14 = phone call number parsing command byte 0x6 for map None.None at 0x7c084 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x40 for map None.None at 0x7c087 info: Copy pokemon name (by id) to memX [id][xx] long_info: Writes pokémon name to MEMORY1, 2 or 3 for later use in text. [40][PKMN no][00-02 MEMORY] parsing command byte 0xb5 for map None.None at 0x7c08a info: None long_info: None map_group is: 3 map_id is: 54 event header address is: 0x7d689 parsing xy trigger byte scripts... x=19 y=4 parsing command byte 0x76 for map 3.54 at 0x7ca80 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x75 for map 3.54 at 0x7ca83 info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0xf for map 3.54 at 0x7ca86 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x0 for map 3.54 at 0x7ca89 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x85 for map 3.54 at 0x7ca8c info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0x23 for map 3.54 at 0x7ca8d info: Take money from HIRO/account [xxyyzzaa] long_info: Takes zzyyxx money from HIRO/account. zzyyxx = amount of money (000000 - 0F423F) [23][00-HIRO/01-account][xxyyzz] parsing command byte 0x69 for map 3.54 at 0x7ca92 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x4e for map 3.54 at 0x7ca95 info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x76 for map 3.54 at 0x7ca96 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x0 for map 3.54 at 0x7ca99 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x69 for map 3.54 at 0x7ca9c info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x4e for map 3.54 at 0x7ca9f info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x85 for map 3.54 at 0x7caa0 info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0x23 for map 3.54 at 0x7caa1 info: Take money from HIRO/account [xxyyzzaa] long_info: Takes zzyyxx money from HIRO/account. zzyyxx = amount of money (000000 - 0F423F) [23][00-HIRO/01-account][xxyyzz] parsing command byte 0x1 for map 3.54 at 0x7caa6 info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x76 for map 3.54 at 0x7caaa info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x75 for map 3.54 at 0x7caad info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0xf for map 3.54 at 0x7cab0 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x0 for map 3.54 at 0x7cab3 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x85 for map 3.54 at 0x7cab6 info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0x23 for map 3.54 at 0x7cab7 info: Take money from HIRO/account [xxyyzzaa] long_info: Takes zzyyxx money from HIRO/account. zzyyxx = amount of money (000000 - 0F423F) [23][00-HIRO/01-account][xxyyzz] parsing command byte 0x69 for map 3.54 at 0x7cabc info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x4e for map 3.54 at 0x7cabf info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x76 for map 3.54 at 0x7cac0 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x0 for map 3.54 at 0x7cac3 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x69 for map 3.54 at 0x7cac6 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x4e for map 3.54 at 0x7cac9 info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x85 for map 3.54 at 0x7caca info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0x23 for map 3.54 at 0x7cacb info: Take money from HIRO/account [xxyyzzaa] long_info: Takes zzyyxx money from HIRO/account. zzyyxx = amount of money (000000 - 0F423F) [23][00-HIRO/01-account][xxyyzz] parsing command byte 0x1 for map 3.54 at 0x7cad0 info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x31 for map 3.54 at 0x7cad4 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.54 at 0x7cad7 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x33 for map 3.54 at 0x7cada info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x12 for map 3.54 at 0x7cadd info: Activate trigger event from afar [xx][yy][zz] long_info: Changes trigger event number on map (map bank/map no) to xx. xx = trigger event number that should be activated [12][MapBank][MapNo][xx] parsing command byte 0x7f for map 3.54 at 0x7cae1 info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0x1f for map 3.54 at 0x7cae2 info: Give item by id and quantity [xx][yy] long_info: Gives item (item no) amount times. feedback: 00 = bag full 01 = OK [1F][item no][amount] parsing command byte 0x4c for map 3.54 at 0x7cae5 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 3.54 at 0x7cae8 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 3.54 at 0x7cae9 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x33 for map 3.54 at 0x7caea info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x31 for map 3.54 at 0x7caed info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.54 at 0x7caf0 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x31 for map 3.54 at 0x7caf3 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.54 at 0x7caf6 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x64 for map 3.54 at 0x7caf9 info: ? Load the trainer talk-after script long_info: Interprets which script is going to be run, when a in the event-structure-defined trainer is talked to again. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau [64] parsing command byte 0x5d for map 3.54 at 0x7cafa info: Load trainer by group/id for BattleRAM [xx][yy] long_info: Loads trainer data. Trainer group --> TrRAM1, trainer number --> TrRAM2. Writes 81 to BattleRAM. [5D][Trainer group][Trainer no] parsing command byte 0x51 for map 3.54 at 0x7cafd info: Display text (by pointer), turn to HIRO, end [xxyy] long_info: Displays a text and lets person turn to HIRO. Afterwards there is no other script interpreted. Corresponds to 6A + 47 + 4C + 53 + 49 + 90 [51][2byte textpointer] parsing xy trigger byte scripts... x=19 y=5 parsing command byte 0x76 for map 3.54 at 0x7caaa info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x75 for map 3.54 at 0x7caad info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0xf for map 3.54 at 0x7cab0 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x0 for map 3.54 at 0x7cab3 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x85 for map 3.54 at 0x7cab6 info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0x23 for map 3.54 at 0x7cab7 info: Take money from HIRO/account [xxyyzzaa] long_info: Takes zzyyxx money from HIRO/account. zzyyxx = amount of money (000000 - 0F423F) [23][00-HIRO/01-account][xxyyzz] parsing command byte 0x69 for map 3.54 at 0x7cabc info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x4e for map 3.54 at 0x7cabf info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x76 for map 3.54 at 0x7cac0 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x0 for map 3.54 at 0x7cac3 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x69 for map 3.54 at 0x7cac6 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x4e for map 3.54 at 0x7cac9 info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x85 for map 3.54 at 0x7caca info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0x23 for map 3.54 at 0x7cacb info: Take money from HIRO/account [xxyyzzaa] long_info: Takes zzyyxx money from HIRO/account. zzyyxx = amount of money (000000 - 0F423F) [23][00-HIRO/01-account][xxyyzz] parsing command byte 0x1 for map 3.54 at 0x7cad0 info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x31 for map 3.54 at 0x7cad4 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.54 at 0x7cad7 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x33 for map 3.54 at 0x7cada info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x12 for map 3.54 at 0x7cadd info: Activate trigger event from afar [xx][yy][zz] long_info: Changes trigger event number on map (map bank/map no) to xx. xx = trigger event number that should be activated [12][MapBank][MapNo][xx] parsing command byte 0x7f for map 3.54 at 0x7cae1 info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0x1f for map 3.54 at 0x7cae2 info: Give item by id and quantity [xx][yy] long_info: Gives item (item no) amount times. feedback: 00 = bag full 01 = OK [1F][item no][amount] parsing command byte 0x4c for map 3.54 at 0x7cae5 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 3.54 at 0x7cae8 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 3.54 at 0x7cae9 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x33 for map 3.54 at 0x7caea info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x31 for map 3.54 at 0x7caed info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.54 at 0x7caf0 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x31 for map 3.54 at 0x7caf3 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 3.54 at 0x7caf6 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x64 for map 3.54 at 0x7caf9 info: ? Load the trainer talk-after script long_info: Interprets which script is going to be run, when a in the event-structure-defined trainer is talked to again. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau [64] parsing command byte 0x5d for map 3.54 at 0x7cafa info: Load trainer by group/id for BattleRAM [xx][yy] long_info: Loads trainer data. Trainer group --> TrRAM1, trainer number --> TrRAM2. Writes 81 to BattleRAM. [5D][Trainer group][Trainer no] parsing command byte 0x51 for map 3.54 at 0x7cafd info: Display text (by pointer), turn to HIRO, end [xxyy] long_info: Displays a text and lets person turn to HIRO. Afterwards there is no other script interpreted. Corresponds to 6A + 47 + 4C + 53 + 49 + 90 [51][2byte textpointer] parsing signpost script.. signpost is at: x=16 y=1 parsing command byte 0x47 for map 3.54 at 0x7cbab info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 3.54 at 0x7cbac info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x55 for map 3.54 at 0x7cbaf info: Display a pokemon picture in a box by pokemon id [xx] long_info: Opens a box and puts a Pokémon picture into it. [55][xx] xx: <>00 : Pokémon no =00 : Pokémon no gets read from RAM parsing command byte 0xd3 for map 3.54 at 0x7cbb1 info: None long_info: None parsing signpost script.. signpost is at: x=10 y=1 parsing command byte 0x47 for map 3.54 at 0x7cbe0 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 3.54 at 0x7cbe1 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x55 for map 3.54 at 0x7cbe4 info: Display a pokemon picture in a box by pokemon id [xx] long_info: Opens a box and puts a Pokémon picture into it. [55][xx] xx: <>00 : Pokémon no =00 : Pokémon no gets read from RAM parsing command byte 0xd4 for map 3.54 at 0x7cbe6 info: None long_info: None parsing signpost script.. signpost is at: x=2 y=1 parsing command byte 0x47 for map 3.54 at 0x7cc15 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 3.54 at 0x7cc16 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x55 for map 3.54 at 0x7cc19 info: Display a pokemon picture in a box by pokemon id [xx] long_info: Opens a box and puts a Pokémon picture into it. [55][xx] xx: <>00 : Pokémon no =00 : Pokémon no gets read from RAM parsing command byte 0xd5 for map 3.54 at 0x7cc1b info: None long_info: None parsing signpost script.. signpost is at: x=20 y=11 parsing command byte 0x47 for map 3.54 at 0x7cc4a info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 3.54 at 0x7cc4b info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x55 for map 3.54 at 0x7cc4e info: Display a pokemon picture in a box by pokemon id [xx] long_info: Opens a box and puts a Pokémon picture into it. [55][xx] xx: <>00 : Pokémon no =00 : Pokémon no gets read from RAM parsing command byte 0xd6 for map 3.54 at 0x7cc50 info: None long_info: None parsing signpost script.. signpost is at: x=8 y=9 parsing command byte 0x8e for map 3.54 at 0x7ce81 info: Priority jump to script by pointer (after 1st cycle) [xxyy] long_info: The pointer acts like code 03, but with this code all higher functions wait for a cycle before the script gets interpreted. [8E][2byte pointer to script] parsing command byte 0x8f for map 3.54 at 0x7ce84 info: Return code 1 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions are not affected and run like before the code. This code is mostly used for scripts called by the 2nd part of the script header, because else malfunctions occur. [8F] parsing signpost script.. signpost is at: x=1 y=8 parsing command byte 0x8f for map 3.54 at 0x7ce84 info: Return code 1 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions are not affected and run like before the code. This code is mostly used for scripts called by the 2nd part of the script header, because else malfunctions occur. [8F] skipping event data... (oops) parsing command byte 0x91 for map 3.54 at 0x7c9f5 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 3.54 at 0x7c9f6 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x31 for map None.None at 0x7c9f7 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x8 for map None.None at 0x7c9fa info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x7a for map None.None at 0x7c9fd info: Reload/redisplay map long_info: Reloads and re-displays the map completely. Loads tileset and all map data anew. Screen gets light. [7A] parsing command byte 0x10 for map None.None at 0x7c9fe info: ASM code2 [2b to 3b to asm] long_info: Call an ASM script via a 2byte pointer pointing to a 3byte pointer. [10][2byte pointer pointing to 3byte pointer pointing to ASM script] parsing command byte 0x31 for map None.None at 0x7ca01 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x8 for map None.None at 0x7ca04 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x7a for map None.None at 0x7ca07 info: Reload/redisplay map long_info: Reloads and re-displays the map completely. Loads tileset and all map data anew. Screen gets light. [7A] parsing command byte 0xa for map None.None at 0x7ca08 info: RAM check [ return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x31 for map None.None at 0x7ca15 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x8 for map None.None at 0x7ca18 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x7a for map None.None at 0x7ca1b info: Reload/redisplay map long_info: Reloads and re-displays the map completely. Loads tileset and all map data anew. Screen gets light. [7A] parsing command byte 0x2 for map None.None at 0x7ca1c info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x31 for map None.None at 0x7ca1f info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x8 for map None.None at 0x7ca22 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x7a for map None.None at 0x7ca25 info: Reload/redisplay map long_info: Reloads and re-displays the map completely. Loads tileset and all map data anew. Screen gets light. [7A] parsing command byte 0xa for map None.None at 0x7ca26 info: RAM check [0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x3 for map None.None at 0x7d787 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x7a for map None.None at 0x7d78a info: Reload/redisplay map long_info: Reloads and re-displays the map completely. Loads tileset and all map data anew. Screen gets light. [7A] parsing command byte 0x10 for map None.None at 0x7d78b info: ASM code2 [2b to 3b to asm] long_info: Call an ASM script via a 2byte pointer pointing to a 3byte pointer. [10][2byte pointer pointing to 3byte pointer pointing to ASM script] parsing command byte 0x3 for map None.None at 0x7d78e info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x31 for map None.None at 0x7d791 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map None.None at 0x7d794 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x31 for map None.None at 0x7d797 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map None.None at 0x7d79a info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x7a for map None.None at 0x7d79d info: Reload/redisplay map long_info: Reloads and re-displays the map completely. Loads tileset and all map data anew. Screen gets light. [7A] parsing command byte 0xa for map None.None at 0x7d79e info: RAM check [ return to old script [code][2 byte pointer] parsing command byte 0x98 for map 3.59 at 0x7e0ee info: Hang-up phone long_info: Simulates the hanging-up. [98] parsing command byte 0xae for map 3.59 at 0x7e0ef info: None long_info: None skipping event data... (oops) map_group is: 3 map_id is: 60 event header address is: 0x7e400 parsing signpost script.. signpost is at: x=4 y=6 parsing command byte 0x93 for map 3.60 at 0x7e24a info: Mart menu [dialog no][mart no 2b] long_info: Displays a whole mart menu, however, doesn't load font to ram. [93][Dialog no][Mart no (2byte)] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#AwBsp93 see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzB93 parsing command byte 0x87 for map 3.60 at 0x7e24e info: Special sound if TM was last checked long_info: When last given/checked Item was a TM then it plays sound 0x9B. If not, then 0x01. [87] parsing command byte 0xa4 for map 3.60 at 0x7e24f info: None long_info: None skipping event data... (oops) map_group is: 3 map_id is: 61 event header address is: 0x7e478 skipping event data... (oops) map_group is: 3 map_id is: 62 event header address is: 0x7e52d parsing signpost script.. signpost is at: x=17 y=30 parsing command byte 0x94 for map 3.62 at 0x7e50f info: Display elevator menu by pointer [xxyy] long_info: Displays a whole elevator menu, but it doesn't load font to ram. Only works with warps with warp-to = 0xFF. [94][2byte pointer to floor list] parsing command byte 0x0 for map 3.62 at 0x7e512 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xa4 for map 3.62 at 0x7e515 info: None long_info: None skipping event data... (oops) parsing command byte 0x7d for map None.None at 0x7e4be info: Delete command queue long_info: Deletes a command queue and frees a slot in ram. [7D][First command of the resp. queue] parsing command byte 0x64 for map None.None at 0x7e4c0 info: ? Load the trainer talk-after script long_info: Interprets which script is going to be run, when a in the event-structure-defined trainer is talked to again. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau [64] parsing command byte 0x90 for map None.None at 0x7e4c1 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 3 map_id is: 63 event header address is: 0x7e5cd parsing signpost script.. signpost is at: x=0 y=17 parsing command byte 0x95 for map 3.63 at 0x7e5aa info: Display trade menu by trade id [xx] long_info: Displays a whole trade menu, but it doesn't load font to ram. [95][trade no] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDokTausch parsing command byte 0x1d for map 3.63 at 0x7e5ac info: Write to pre-ID-mapped RAM location [xx] long_info: Writes variable from RAM to special game-technical value offsets. [1D][following part] where [following part] is the same as 0x1C parsing command byte 0x88 for map 3.63 at 0x7e5ae info: Engine remote control [bb][xxyy] long_info: This code controls the engine via "data stream". [88][3byte pointer to control structure] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA88 parsing command byte 0xa8 for map 3.63 at 0x7e5b2 info: None long_info: None skipping event data... (oops) map_group is: 3 map_id is: 64 event header address is: 0x7e64b parsing signpost script.. signpost is at: x=2 y=10 parsing command byte 0x96 for map 3.64 at 0x7e648 info: Give cell phone number by id with YES/NO [id] long_info: Gives a telephone number but asks for decision beforehand. feedback: 00 = ok chosen 01 = Cell phone number already registered/Memory full 02 = no chosen [96][Cell phone number] parsing command byte 0xb for map 3.64 at 0x7e64a info: RAM check [>byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x2 for map 3.64 at 0x7e64d info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x8 for map 3.64 at 0x7e650 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x3 for map 3.64 at 0x7e653 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x3 for map 3.64 at 0x7e656 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x1 for map 3.64 at 0x7e659 info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x48 for map 3.64 at 0x7e65d info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0x1 for map 3.64 at 0x7e65f info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x1 for map 3.64 at 0x7e663 info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x1 for map 3.64 at 0x7e667 info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x8d for map 3.64 at 0x7e66b info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0x6 for map 3.64 at 0x7e66c info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x6b for map 3.64 at 0x7e66f info: Move facing direction of person1 to look at person2 [2][1] long_info: Turns the head of person1 to another person2. [6B][Person2][Person1] Person2 = If number is greater than 0xFD, then use number of talked-to person. Person1 = If number equals 0xFE, then take number of talked-to person. parsing command byte 0xf for map 3.64 at 0x7e672 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x0 for map 3.64 at 0x7e675 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x3 for map 3.64 at 0x7e678 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x3f for map 3.64 at 0x7e67b info: Copy script RAM value into memX [xx] long_info: Reads RAM value and writes it to MEMORY1, 2 or 3 for later use in text. [3F][00-02 MEMORY] parsing command byte 0xf for map 3.64 at 0x7e67d info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x40 for map 3.64 at 0x7e680 info: Copy pokemon name (by id) to memX [id][xx] long_info: Writes pokémon name to MEMORY1, 2 or 3 for later use in text. [40][PKMN no][00-02 MEMORY] parsing command byte 0x2 for map 3.64 at 0x7e683 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x9 for map 3.64 at 0x7e686 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0xff for map 3.64 at 0x7e689 info: None long_info: None skipping event data... (oops) map_group is: 3 map_id is: 65 event header address is: 0x7e674 skipping event data... (oops) map_group is: 3 map_id is: 66 event header address is: 0x18c37a skipping event data... (oops) map_group is: 3 map_id is: 67 event header address is: 0x18c398 skipping event data... (oops) map_group is: 3 map_id is: 68 event header address is: 0x18c3be skipping event data... (oops) map_group is: 3 map_id is: 69 event header address is: 0x18c3ec skipping event data... (oops) map_group is: 3 map_id is: 70 event header address is: 0x18c3fe skipping event data... (oops) map_group is: 3 map_id is: 71 event header address is: 0x18c426 parsing signpost script.. signpost is at: x=30 y=4 parsing command byte 0x97 for map 3.71 at 0x18c41d info: Call code pointing to name of caller [xxyy] long_info: Displays the upper cell phone box and displays a freely selectable name. [97][2byte pointer to name of caller] parsing command byte 0x98 for map 3.71 at 0x18c420 info: Hang-up phone long_info: Simulates the hanging-up. [98] parsing command byte 0x0 for map 3.71 at 0x18c421 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 3.71 at 0x18c424 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 3.71 at 0x18c427 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x5 for map 3.71 at 0x18c42a info: pointer code long_info: 2byte pointer points to 3byte pointer; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x42 for map 3.71 at 0x18c42d info: Copy map name to memX [xx] long_info: Writes current location's name to MEMORY1, 2 or 3 for later use in text. [42][00-02 MEMORY] parsing command byte 0x23 for map 3.71 at 0x18c42f info: Take money from HIRO/account [xxyyzzaa] long_info: Takes zzyyxx money from HIRO/account. zzyyxx = amount of money (000000 - 0F423F) [23][00-HIRO/01-account][xxyyzz] parsing command byte 0x1d for map 3.71 at 0x18c434 info: Write to pre-ID-mapped RAM location [xx] long_info: Writes variable from RAM to special game-technical value offsets. [1D][following part] where [following part] is the same as 0x1C parsing command byte 0x3 for map 3.71 at 0x18c436 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x9 for map 3.71 at 0x18c439 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x44 for map 3.71 at 0x18c43c info: Copy text (by pointer) to memX [aabb][xx] long_info: Writes string to MEMORY1, 2 or 3 for later use in text. [44][2byte pointer to string (max. 0x0C figures + 0x50)][00-02 MEMORY] See 0C codes: 0C2900, 0C2A00, 0C1B00, 0C2200, Usage of variable strings in text. parsing command byte 0x3 for map 3.71 at 0x18c440 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x1f for map 3.71 at 0x18c443 info: Give item by id and quantity [xx][yy] long_info: Gives item (item no) amount times. feedback: 00 = bag full 01 = OK [1F][item no][amount] parsing command byte 0x46 for map 3.71 at 0x18c446 info: Show ITEMPOCKET is full textbox long_info: Text box: "ITEMPOCKET is full..." The item number has to have been loaded beforehand (e.g. by Give item code). parsing command byte 0x15 for map 3.71 at 0x18c447 info: Load variable into RAM [xx] long_info: [15][xx] parsing command byte 0x1 for map 3.71 at 0x18c449 info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0xd for map 3.71 at 0x18c44d info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0x48 for map 3.71 at 0x18c450 info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0x11 for map 3.71 at 0x18c452 info: Trigger event check1 [xx][yy] long_info: Check the current number of the trigger event on map (map group/map id). [11][map group][map number] parsing command byte 0x45 for map 3.71 at 0x18c455 info: Show HIRO put the ITEMNAME in the ITEMPOCKET text box long_info: Text box: "HIRO put the ITEMNAME in the ITEMPOCKET." The item number has to have been loaded beforehand (e.g. by Give item code). parsing command byte 0x0 for map 3.71 at 0x18c456 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x1e for map 3.71 at 0x18c459 info: Write byte value to pre-ID-mapped RAM location [aa][xx] long_info: Writes variable xx to special game-technical value offsets. [1E][following part][xx] where [following part] is the same as 0x1C parsing command byte 0x44 for map 3.71 at 0x18c45c info: Copy text (by pointer) to memX [aabb][xx] long_info: Writes string to MEMORY1, 2 or 3 for later use in text. [44][2byte pointer to string (max. 0x0C figures + 0x50)][00-02 MEMORY] See 0C codes: 0C2900, 0C2A00, 0C1B00, 0C2200, Usage of variable strings in text. parsing command byte 0x20 for map 3.71 at 0x18c460 info: Take item by id and quantity [xx][yy] long_info: Gives item (item no) amount times feedback: 00 = not enough items [20][item no][amount] parsing command byte 0x2 for map 3.71 at 0x18c463 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x44 for map 3.71 at 0x18c466 info: Copy text (by pointer) to memX [aabb][xx] long_info: Writes string to MEMORY1, 2 or 3 for later use in text. [44][2byte pointer to string (max. 0x0C figures + 0x50)][00-02 MEMORY] See 0C codes: 0C2900, 0C2A00, 0C1B00, 0C2200, Usage of variable strings in text. parsing command byte 0xb for map 3.71 at 0x18c46a info: RAM check [>byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0xff for map 3.71 at 0x18c46d info: None long_info: None parsing signpost script.. signpost is at: x=36 y=18 parsing command byte 0x98 for map 3.71 at 0x18c420 info: Hang-up phone long_info: Simulates the hanging-up. [98] parsing command byte 0x0 for map 3.71 at 0x18c421 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 3.71 at 0x18c424 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 3.71 at 0x18c427 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x5 for map 3.71 at 0x18c42a info: pointer code long_info: 2byte pointer points to 3byte pointer; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x42 for map 3.71 at 0x18c42d info: Copy map name to memX [xx] long_info: Writes current location's name to MEMORY1, 2 or 3 for later use in text. [42][00-02 MEMORY] parsing command byte 0x23 for map 3.71 at 0x18c42f info: Take money from HIRO/account [xxyyzzaa] long_info: Takes zzyyxx money from HIRO/account. zzyyxx = amount of money (000000 - 0F423F) [23][00-HIRO/01-account][xxyyzz] parsing command byte 0x1d for map 3.71 at 0x18c434 info: Write to pre-ID-mapped RAM location [xx] long_info: Writes variable from RAM to special game-technical value offsets. [1D][following part] where [following part] is the same as 0x1C parsing command byte 0x3 for map 3.71 at 0x18c436 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x9 for map 3.71 at 0x18c439 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x44 for map 3.71 at 0x18c43c info: Copy text (by pointer) to memX [aabb][xx] long_info: Writes string to MEMORY1, 2 or 3 for later use in text. [44][2byte pointer to string (max. 0x0C figures + 0x50)][00-02 MEMORY] See 0C codes: 0C2900, 0C2A00, 0C1B00, 0C2200, Usage of variable strings in text. parsing command byte 0x3 for map 3.71 at 0x18c440 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x1f for map 3.71 at 0x18c443 info: Give item by id and quantity [xx][yy] long_info: Gives item (item no) amount times. feedback: 00 = bag full 01 = OK [1F][item no][amount] parsing command byte 0x46 for map 3.71 at 0x18c446 info: Show ITEMPOCKET is full textbox long_info: Text box: "ITEMPOCKET is full..." The item number has to have been loaded beforehand (e.g. by Give item code). parsing command byte 0x15 for map 3.71 at 0x18c447 info: Load variable into RAM [xx] long_info: [15][xx] parsing command byte 0x1 for map 3.71 at 0x18c449 info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0xd for map 3.71 at 0x18c44d info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0x48 for map 3.71 at 0x18c450 info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0x11 for map 3.71 at 0x18c452 info: Trigger event check1 [xx][yy] long_info: Check the current number of the trigger event on map (map group/map id). [11][map group][map number] parsing command byte 0x45 for map 3.71 at 0x18c455 info: Show HIRO put the ITEMNAME in the ITEMPOCKET text box long_info: Text box: "HIRO put the ITEMNAME in the ITEMPOCKET." The item number has to have been loaded beforehand (e.g. by Give item code). parsing command byte 0x0 for map 3.71 at 0x18c456 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x1e for map 3.71 at 0x18c459 info: Write byte value to pre-ID-mapped RAM location [aa][xx] long_info: Writes variable xx to special game-technical value offsets. [1E][following part][xx] where [following part] is the same as 0x1C parsing command byte 0x44 for map 3.71 at 0x18c45c info: Copy text (by pointer) to memX [aabb][xx] long_info: Writes string to MEMORY1, 2 or 3 for later use in text. [44][2byte pointer to string (max. 0x0C figures + 0x50)][00-02 MEMORY] See 0C codes: 0C2900, 0C2A00, 0C1B00, 0C2200, Usage of variable strings in text. parsing command byte 0x20 for map 3.71 at 0x18c460 info: Take item by id and quantity [xx][yy] long_info: Gives item (item no) amount times feedback: 00 = not enough items [20][item no][amount] parsing command byte 0x2 for map 3.71 at 0x18c463 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x44 for map 3.71 at 0x18c466 info: Copy text (by pointer) to memX [aabb][xx] long_info: Writes string to MEMORY1, 2 or 3 for later use in text. [44][2byte pointer to string (max. 0x0C figures + 0x50)][00-02 MEMORY] See 0C codes: 0C2900, 0C2A00, 0C1B00, 0C2200, Usage of variable strings in text. parsing command byte 0xb for map 3.71 at 0x18c46a info: RAM check [>byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0xff for map 3.71 at 0x18c46d info: None long_info: None parsing signpost script.. signpost is at: x=2 y=23 parsing command byte 0x99 for map 3.71 at 0x18c423 info: Set monologue decoration [xx] long_info: Displays monologues according to the selected ornament. [99][xx] xx values: 00 = Map/Poster 01 = Ornament left 02 = Ornament right 03 = Huge doll 04 = Console parsing command byte 0xe for map 3.71 at 0x18c425 info: ASM code1 [3b] long_info: Calls a predefined routine by interpreting the ASM the pointer points to. [0E][3byte pointer] parsing command byte 0x5 for map 3.71 at 0x18c429 info: pointer code long_info: 2byte pointer points to 3byte pointer; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x3 for map 3.71 at 0x18c42c info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x23 for map 3.71 at 0x18c42f info: Take money from HIRO/account [xxyyzzaa] long_info: Takes zzyyxx money from HIRO/account. zzyyxx = amount of money (000000 - 0F423F) [23][00-HIRO/01-account][xxyyzz] parsing command byte 0x1d for map 3.71 at 0x18c434 info: Write to pre-ID-mapped RAM location [xx] long_info: Writes variable from RAM to special game-technical value offsets. [1D][following part] where [following part] is the same as 0x1C parsing command byte 0x3 for map 3.71 at 0x18c436 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x9 for map 3.71 at 0x18c439 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x44 for map 3.71 at 0x18c43c info: Copy text (by pointer) to memX [aabb][xx] long_info: Writes string to MEMORY1, 2 or 3 for later use in text. [44][2byte pointer to string (max. 0x0C figures + 0x50)][00-02 MEMORY] See 0C codes: 0C2900, 0C2A00, 0C1B00, 0C2200, Usage of variable strings in text. parsing command byte 0x3 for map 3.71 at 0x18c440 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x1f for map 3.71 at 0x18c443 info: Give item by id and quantity [xx][yy] long_info: Gives item (item no) amount times. feedback: 00 = bag full 01 = OK [1F][item no][amount] parsing command byte 0x46 for map 3.71 at 0x18c446 info: Show ITEMPOCKET is full textbox long_info: Text box: "ITEMPOCKET is full..." The item number has to have been loaded beforehand (e.g. by Give item code). parsing command byte 0x15 for map 3.71 at 0x18c447 info: Load variable into RAM [xx] long_info: [15][xx] parsing command byte 0x1 for map 3.71 at 0x18c449 info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0xd for map 3.71 at 0x18c44d info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0x48 for map 3.71 at 0x18c450 info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0x11 for map 3.71 at 0x18c452 info: Trigger event check1 [xx][yy] long_info: Check the current number of the trigger event on map (map group/map id). [11][map group][map number] parsing command byte 0x45 for map 3.71 at 0x18c455 info: Show HIRO put the ITEMNAME in the ITEMPOCKET text box long_info: Text box: "HIRO put the ITEMNAME in the ITEMPOCKET." The item number has to have been loaded beforehand (e.g. by Give item code). parsing command byte 0x0 for map 3.71 at 0x18c456 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x1e for map 3.71 at 0x18c459 info: Write byte value to pre-ID-mapped RAM location [aa][xx] long_info: Writes variable xx to special game-technical value offsets. [1E][following part][xx] where [following part] is the same as 0x1C parsing command byte 0x44 for map 3.71 at 0x18c45c info: Copy text (by pointer) to memX [aabb][xx] long_info: Writes string to MEMORY1, 2 or 3 for later use in text. [44][2byte pointer to string (max. 0x0C figures + 0x50)][00-02 MEMORY] See 0C codes: 0C2900, 0C2A00, 0C1B00, 0C2200, Usage of variable strings in text. parsing command byte 0x20 for map 3.71 at 0x18c460 info: Take item by id and quantity [xx][yy] long_info: Gives item (item no) amount times feedback: 00 = not enough items [20][item no][amount] parsing command byte 0x2 for map 3.71 at 0x18c463 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x44 for map 3.71 at 0x18c466 info: Copy text (by pointer) to memX [aabb][xx] long_info: Writes string to MEMORY1, 2 or 3 for later use in text. [44][2byte pointer to string (max. 0x0C figures + 0x50)][00-02 MEMORY] See 0C codes: 0C2900, 0C2A00, 0C1B00, 0C2200, Usage of variable strings in text. parsing command byte 0xb for map 3.71 at 0x18c46a info: RAM check [>byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0xff for map 3.71 at 0x18c46d info: None long_info: None skipping event data... (oops) map_group is: 3 map_id is: 72 event header address is: 0x18c4be skipping event data... (oops) map_group is: 3 map_id is: 73 event header address is: 0x18c53a skipping event data... (oops) parsing command byte 0x31 for map None.None at 0x18c504 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map None.None at 0x18c507 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x21 for map None.None at 0x18c50a info: Check if player has item [xx] long_info: Checks if item is possessed. feedback: 00 = does not have item 01 = has item [21][item no] parsing command byte 0x9 for map None.None at 0x18c50c info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x3 for map None.None at 0x18c50f info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x6f for map None.None at 0x18c512 info: Following code1 [leader id][follower id] long_info: A person1 follows another person2. The person1 that follows just repeats the movement of person2, even if the persons are not directly next to each other. [6F][Leader Person2][Follower Person1] parsing command byte 0x6e for map None.None at 0x18c515 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x90 for map None.None at 0x18c517 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 3 map_id is: 74 event header address is: 0x18c562 parsing signpost script.. signpost is at: x=16 y=23 parsing command byte 0x9a for map 3.74 at 0x18c55c info: Berry tree by tree id [xx] long_info: Creates a typical berry tree monologue. There is a maximum of 32 berry trees in the game. After this code the script ends. [9A][Fruit tree number] Fruit tree number + 11:4091 is the offset where the item no of the berry is defined. parsing signpost script.. signpost is at: x=17 y=12 parsing command byte 0x9b for map 3.74 at 0x18c55f info: Cell phone call [call id][00] long_info: Initiates with the next step on a outer world map (permission byte) a phone call. [9B][Call no][00] call no: 01 = PokéRus 02 = Pokémon stolen 03 = Egg examined/ Assistant in Viola City 04 = Team Rocket on the radio 05 = PROF. ELM has got something for HIRO 06 = Bike shop gives bike away 07 = Mother is unhappy that HIRO didn't talk to her before leaving 08 = PROF. ELM has got something for HIRO a second time parsing command byte 0x0 for map 3.74 at 0x18c562 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x21 for map 3.74 at 0x18c565 info: Check if player has item [xx] long_info: Checks if item is possessed. feedback: 00 = does not have item 01 = has item [21][item no] parsing command byte 0x2 for map 3.74 at 0x18c567 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x1 for map 3.74 at 0x18c56a info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x4b for map 3.74 at 0x18c56e info: Display text by pointer [bb][xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4B][Text bank][2byte text pointer] parsing command byte 0x10 for map 3.74 at 0x18c572 info: ASM code2 [2b to 3b to asm] long_info: Call an ASM script via a 2byte pointer pointing to a 3byte pointer. [10][2byte pointer pointing to 3byte pointer pointing to ASM script] parsing command byte 0x45 for map 3.74 at 0x18c575 info: Show HIRO put the ITEMNAME in the ITEMPOCKET text box long_info: Text box: "HIRO put the ITEMNAME in the ITEMPOCKET." The item number has to have been loaded beforehand (e.g. by Give item code). parsing command byte 0xc for map 3.74 at 0x18c576 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 3 map_id is: 75 event header address is: 0x18c5bb parsing signpost script.. signpost is at: x=14 y=31 parsing command byte 0x9c for map 3.75 at 0x18c5b8 info: Check if/which a phone call is active long_info: Checks if a phone call is "in the line". feedback: 00 = no <>00 = call number [9C] parsing command byte 0x0 for map 3.75 at 0x18c5b9 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 3.75 at 0x18c5bc info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x11 for map 3.75 at 0x18c5bf info: Trigger event check1 [xx][yy] long_info: Check the current number of the trigger event on map (map group/map id). [11][map group][map number] parsing command byte 0x4a for map 3.75 at 0x18c5c2 info: Load specific byte to $C1CE [xx] long_info: Loads a byte to C1CE. Seems to have no function in the game. [4A][Byte] parsing command byte 0xb for map 3.75 at 0x18c5c4 info: RAM check [>byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4c for map 3.75 at 0x18c5c7 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x1 for map 3.75 at 0x18c5ca info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x17 for map 3.75 at 0x18c5ce info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x3 for map 3.75 at 0x18c5d0 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x1 for map 3.75 at 0x18c5d3 info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0xb8 for map 3.75 at 0x18c5d7 info: None long_info: None skipping event data... (oops) map_group is: 3 map_id is: 76 event header address is: 0x18c644 skipping event data... (oops) map_group is: 3 map_id is: 77 event header address is: 0x18c662 skipping event data... (oops) map_group is: 3 map_id is: 78 event header address is: 0x18c69c parsing signpost script.. signpost is at: x=26 y=3 parsing command byte 0x9d for map 3.78 at 0x18c699 info: Give item by id and quantity with 'put in pocket' text [id][qty] long_info: The same as 0x1F but this code comments where HIRO puts what item in a short monologue. [9D][Item][Amount] parsing command byte 0x0 for map 3.78 at 0x18c69c info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 3.78 at 0x18c69f info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x1a for map 3.78 at 0x18c6a2 info: Write variable from script RAM variable to actual RAM address [xxyy] long_info: Writes variable from RAM to actual RAM address. [1A][2-byte RAM address] parsing command byte 0x11 for map 3.78 at 0x18c6a5 info: Trigger event check1 [xx][yy] long_info: Check the current number of the trigger event on map (map group/map id). [11][map group][map number] parsing command byte 0x4f for map 3.78 at 0x18c6a8 info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x3 for map 3.78 at 0x18c6ab info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x0 for map 3.78 at 0x18c6ae info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x1a for map 3.78 at 0x18c6b1 info: Write variable from script RAM variable to actual RAM address [xxyy] long_info: Writes variable from RAM to actual RAM address. [1A][2-byte RAM address] parsing command byte 0x46 for map 3.78 at 0x18c6b4 info: Show ITEMPOCKET is full textbox long_info: Text box: "ITEMPOCKET is full..." The item number has to have been loaded beforehand (e.g. by Give item code). parsing command byte 0x8 for map 3.78 at 0x18c6b5 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0xa for map 3.78 at 0x18c6b8 info: RAM check [ return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x0 for map 3.81 at 0x18c8ca info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xae for map 3.81 at 0x18c8cd info: None long_info: None parsing signpost script.. signpost is at: x=18 y=24 parsing command byte 0x53 for map 3.81 at 0x18c99e info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x2e for map 3.81 at 0x18c99f info: Give egg [xx][yy] long_info: Gives egg if there's space. feedback: 00 = OK 02 = transaction not complete [2E][PKMN][PKMNlvl] parsing command byte 0x1 for map 3.81 at 0x18c9a2 info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x0 for map 3.81 at 0x18c9a6 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 3.81 at 0x18c9a9 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 3.81 at 0x18c9ac info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xb for map 3.81 at 0x18c9af info: RAM check [>byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x47 for map 3.81 at 0x18c9b2 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0xa for map 3.81 at 0x18c9b3 info: RAM check [ return to old script [code][2 byte pointer] parsing command byte 0x0 for map 3.81 at 0x18c9a9 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 3.81 at 0x18c9ac info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xb for map 3.81 at 0x18c9af info: RAM check [>byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x47 for map 3.81 at 0x18c9b2 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0xa for map 3.81 at 0x18c9b3 info: RAM check [byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0xb for map 3.81 at 0x18c9b1 info: RAM check [>byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0xa for map 3.81 at 0x18c9b4 info: RAM check [ return to old script [code][2 byte pointer] parsing command byte 0xa8 for map 3.81 at 0x18c9bb info: None long_info: None parsing signpost script.. signpost is at: x=31 y=15 parsing command byte 0xa2 for map 3.81 at 0x18c9ab info: Set memX to a string by a pointer [aabb][bank][xx] long_info: MEMORY1, 2 or 3 can directly be filled with a string from a different rom bank. [A2][2byte pointer][Bank][00-02 MEMORY] parsing command byte 0xb for map 3.81 at 0x18c9b0 info: RAM check [>byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0xa for map 3.81 at 0x18c9b3 info: RAM check [0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x6e for map None.None at 0x18c8a5 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x90 for map None.None at 0x18c8a7 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 3 map_id is: 82 event header address is: 0x18dabc skipping event data... (oops) parsing command byte 0x8d for map 3.82 at 0x18d01e info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0x23 for map 3.82 at 0x18d01f info: Take money from HIRO/account [xxyyzzaa] long_info: Takes zzyyxx money from HIRO/account. zzyyxx = amount of money (000000 - 0F423F) [23][00-HIRO/01-account][xxyyzz] parsing command byte 0x0 for map 3.82 at 0x18d024 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x69 for map 3.82 at 0x18d027 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x52 for map 3.82 at 0x18d02a info: Display text (by pointer) and end [xxyy] long_info: Displays a text. Afterwards there is no other script interpreted. Corresponds to 47 + 4C + 53 + 49 + 90 [52][2byte textpointer] parsing command byte 0x91 for map 3.82 at 0x18d022 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 3 map_id is: 83 event header address is: 0x18db04 skipping event data... (oops) map_group is: 3 map_id is: 84 event header address is: 0x74049 parsing signpost script.. signpost is at: x=6 y=11 parsing command byte 0xe4 for map 3.84 at 0x74005 info: None long_info: None skipping event data... (oops) map_group is: 3 map_id is: 85 event header address is: 0x74356 skipping event data... (oops) parsing command byte 0x8d for map 3.85 at 0x74089 info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0x8e for map 3.85 at 0x7408a info: Priority jump to script by pointer (after 1st cycle) [xxyy] long_info: The pointer acts like code 03, but with this code all higher functions wait for a cycle before the script gets interpreted. [8E][2byte pointer to script] parsing command byte 0x91 for map 3.85 at 0x7408d info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 3.85 at 0x7408d info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 3 map_id is: 86 event header address is: 0x74399 parsing signpost script.. signpost is at: x=3 y=9 parsing command byte 0xe5 for map 3.86 at 0x74393 info: None long_info: None parsing signpost script.. signpost is at: x=1 y=19 parsing command byte 0xe6 for map 3.86 at 0x74396 info: None long_info: None skipping event data... (oops) map_group is: 3 map_id is: 87 event header address is: 0x743bf parsing signpost script.. signpost is at: x=24 y=4 parsing command byte 0xe7 for map 3.87 at 0x743b9 info: None long_info: None parsing signpost script.. signpost is at: x=21 y=15 parsing command byte 0xe8 for map 3.87 at 0x743bc info: None long_info: None skipping event data... (oops) map_group is: 3 map_id is: 88 event header address is: 0x74412 parsing signpost script.. signpost is at: x=4 y=14 parsing command byte 0xe9 for map 3.88 at 0x7440f info: None long_info: None skipping event data... (oops) map_group is: 3 map_id is: 89 event header address is: 0x7445a skipping event data... (oops) map_group is: 3 map_id is: 90 event header address is: 0x74476 skipping event data... (oops) map_group is: 3 map_id is: 91 event header address is: 0x74802 parsing xy trigger byte scripts... x=12 y=8 parsing command byte 0x72 for map 3.91 at 0x74492 info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0x12 for map 3.91 at 0x74494 info: Activate trigger event from afar [xx][yy][zz] long_info: Changes trigger event number on map (map bank/map no) to xx. xx = trigger event number that should be activated [12][MapBank][MapNo][xx] parsing command byte 0x0 for map 3.91 at 0x74498 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 3.91 at 0x7449b info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x6a for map 3.91 at 0x7449e info: Move talked-to person's facing direction to HIRO long_info: Turns the heads of the talked-to persons to HIRO. [6A] parsing command byte 0x0 for map 3.91 at 0x7449f info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x6f for map 3.91 at 0x744a2 info: Following code1 [leader id][follower id] long_info: A person1 follows another person2. The person1 that follows just repeats the movement of person2, even if the persons are not directly next to each other. [6F][Leader Person2][Follower Person1] parsing command byte 0x2 for map 3.91 at 0x744a5 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x0 for map 3.91 at 0x744a8 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x69 for map 3.91 at 0x744ab info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x45 for map 3.91 at 0x744ae info: Show HIRO put the ITEMNAME in the ITEMPOCKET text box long_info: Text box: "HIRO put the ITEMNAME in the ITEMPOCKET." The item number has to have been loaded beforehand (e.g. by Give item code). parsing command byte 0x6e for map 3.91 at 0x744af info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x14 for map 3.91 at 0x744b1 info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0x82 for map 3.91 at 0x744b3 info: Reload map music long_info: After a map reload no music is played. [82] parsing command byte 0x91 for map 3.91 at 0x744b4 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing xy trigger byte scripts... x=13 y=8 parsing command byte 0x76 for map 3.91 at 0x744b5 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x75 for map 3.91 at 0x744b8 info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0xf for map 3.91 at 0x744bb info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x0 for map 3.91 at 0x744be info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x6f for map 3.91 at 0x744c1 info: Following code1 [leader id][follower id] long_info: A person1 follows another person2. The person1 that follows just repeats the movement of person2, even if the persons are not directly next to each other. [6F][Leader Person2][Follower Person1] parsing command byte 0x2 for map 3.91 at 0x744c4 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x0 for map 3.91 at 0x744c7 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x69 for map 3.91 at 0x744ca info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x45 for map 3.91 at 0x744cd info: Show HIRO put the ITEMNAME in the ITEMPOCKET text box long_info: Text box: "HIRO put the ITEMNAME in the ITEMPOCKET." The item number has to have been loaded beforehand (e.g. by Give item code). parsing command byte 0x6e for map 3.91 at 0x744ce info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x14 for map 3.91 at 0x744d0 info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0x82 for map 3.91 at 0x744d2 info: Reload map music long_info: After a map reload no music is played. [82] parsing command byte 0x91 for map 3.91 at 0x744d3 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=3 y=29 parsing command byte 0x9e for map 3.91 at 0x74533 info: Load wild pokemon data for a remote map [map group][map id] long_info: Activates the checks in the special tables for the wild pokémon data. [9E][map group][map id] see also http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDok3E_66ED parsing command byte 0x9f for map 3.91 at 0x74536 info: Hall of Fame long_info: Saves and enters HIRO's complete Team in the Hall of Fame. Shows the credits and restarts the game with HIRO located in New Bark Town. [9F] parsing command byte 0x0 for map 3.91 at 0x74537 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xe for map 3.91 at 0x7453a info: ASM code1 [3b] long_info: Calls a predefined routine by interpreting the ASM the pointer points to. [0E][3byte pointer] parsing command byte 0xe for map 3.91 at 0x7453e info: ASM code1 [3b] long_info: Calls a predefined routine by interpreting the ASM the pointer points to. [0E][3byte pointer] parsing command byte 0xd for map 3.91 at 0x74542 info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0xe for map 3.91 at 0x74545 info: ASM code1 [3b] long_info: Calls a predefined routine by interpreting the ASM the pointer points to. [0E][3byte pointer] parsing command byte 0xd for map 3.91 at 0x74549 info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0xc for map 3.91 at 0x7454c info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=3 y=65 parsing command byte 0x9f for map 3.91 at 0x74536 info: Hall of Fame long_info: Saves and enters HIRO's complete Team in the Hall of Fame. Shows the credits and restarts the game with HIRO located in New Bark Town. [9F] parsing command byte 0x0 for map 3.91 at 0x74537 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xe for map 3.91 at 0x7453a info: ASM code1 [3b] long_info: Calls a predefined routine by interpreting the ASM the pointer points to. [0E][3byte pointer] parsing command byte 0xe for map 3.91 at 0x7453e info: ASM code1 [3b] long_info: Calls a predefined routine by interpreting the ASM the pointer points to. [0E][3byte pointer] parsing command byte 0xd for map 3.91 at 0x74542 info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0xe for map 3.91 at 0x74545 info: ASM code1 [3b] long_info: Calls a predefined routine by interpreting the ASM the pointer points to. [0E][3byte pointer] parsing command byte 0xd for map 3.91 at 0x74549 info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0xc for map 3.91 at 0x7454c info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) parsing command byte 0x91 for map 3.91 at 0x74490 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 3.91 at 0x74491 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 4 map_id is: 1 event header address is: 0x98502 parsing xy trigger byte scripts... x=4 y=7 parsing command byte 0x31 for map 4.1 at 0x98037 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 4.1 at 0x9803a info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x69 for map 4.1 at 0x9803d info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x40 for map 4.1 at 0x98040 info: Copy pokemon name (by id) to memX [id][xx] long_info: Writes pokémon name to MEMORY1, 2 or 3 for later use in text. [40][PKMN no][00-02 MEMORY] parsing command byte 0x4 for map 4.1 at 0x98043 info: pointer code long_info: 3byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x8b for map 4.1 at 0x98047 info: Deactive static facing after time [xx] long_info: Deactivates static facings on all persons on the screen after a time xx. [8B][xx] parsing command byte 0x6e for map 4.1 at 0x98049 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x91 for map 4.1 at 0x9804b info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing xy trigger byte scripts... x=5 y=7 parsing command byte 0x31 for map 4.1 at 0x9804c info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 4.1 at 0x9804f info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x69 for map 4.1 at 0x98052 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x40 for map 4.1 at 0x98055 info: Copy pokemon name (by id) to memX [id][xx] long_info: Writes pokémon name to MEMORY1, 2 or 3 for later use in text. [40][PKMN no][00-02 MEMORY] parsing command byte 0x5 for map 4.1 at 0x98058 info: pointer code long_info: 2byte pointer points to 3byte pointer; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x3 for map 4.1 at 0x9805b info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x6e for map 4.1 at 0x9805e info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x91 for map 4.1 at 0x98060 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 skipping event data... (oops) parsing command byte 0x91 for map 4.1 at 0x9800d info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 4.1 at 0x9800e info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x31 for map None.None at 0x9800f info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map None.None at 0x98012 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x31 for map None.None at 0x98015 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map None.None at 0x98018 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x31 for map None.None at 0x9801b info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map None.None at 0x9801e info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x90 for map None.None at 0x98021 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 4 map_id is: 2 event header address is: 0x98dea parsing xy trigger byte scripts... x=7 y=4 parsing command byte 0x76 for map 4.2 at 0x985a3 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x76 for map 4.2 at 0x985a6 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x75 for map 4.2 at 0x985a9 info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0x14 for map 4.2 at 0x985ac info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0x0 for map 4.2 at 0x985ae info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 4.2 at 0x985b1 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x71 for map 4.2 at 0x985b4 info: Move person by id to xy [id][xx][yy] long_info: Sets the X/Y values of a person anew. The person doesn't get shown immediately. Use hide&show. [71][Person][X][Y] parsing command byte 0x47 for map 4.2 at 0x985b8 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 4.2 at 0x985b9 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 4.2 at 0x985bc info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 4.2 at 0x985bd info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x69 for map 4.2 at 0x985be info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x46 for map 4.2 at 0x985c1 info: Show ITEMPOCKET is full textbox long_info: Text box: "ITEMPOCKET is full..." The item number has to have been loaded beforehand (e.g. by Give item code). parsing command byte 0x76 for map 4.2 at 0x985c2 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x91 for map 4.2 at 0x985c5 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 skipping event data... (oops) parsing command byte 0x91 for map 4.2 at 0x98572 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 4.2 at 0x98573 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x31 for map None.None at 0x98574 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map None.None at 0x98577 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x31 for map None.None at 0x9857a info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map None.None at 0x9857d info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x21 for map None.None at 0x98580 info: Check if player has item [xx] long_info: Checks if item is possessed. feedback: 00 = does not have item 01 = has item [21][item no] parsing command byte 0x9 for map None.None at 0x98582 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x32 for map None.None at 0x98585 info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x33 for map None.None at 0x98588 info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x90 for map None.None at 0x9858b info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 4 map_id is: 3 event header address is: 0x992dc skipping event data... (oops) parsing command byte 0x8d for map 4.3 at 0x98e5f info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0x64 for map 4.3 at 0x98e60 info: ? Load the trainer talk-after script long_info: Interprets which script is going to be run, when a in the event-structure-defined trainer is talked to again. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau [64] parsing command byte 0x4e for map 4.3 at 0x98e61 info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x91 for map 4.3 at 0x98e62 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 4.3 at 0x98e63 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 4 map_id is: 4 event header address is: 0x99431 parsing signpost script.. signpost is at: x=2 y=1 parsing command byte 0xc for map 4.4 at 0x9933a info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 4 map_id is: 5 event header address is: 0x99baa parsing signpost script.. signpost is at: x=5 y=6 parsing command byte 0x53 for map 4.5 at 0x9952b info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x79 for map 4.5 at 0x9952c info: Change block to block id on map [xx][yy][id] long_info: Changes a block on the current map by giving the new block number and its X/Y values measured in half-blocks. [79][X][Y][Block] parsing command byte 0xae for map 4.5 at 0x99530 info: None long_info: None parsing signpost script.. signpost is at: x=6 y=6 parsing command byte 0x53 for map 4.5 at 0x9952b info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x79 for map 4.5 at 0x9952c info: Change block to block id on map [xx][yy][id] long_info: Changes a block on the current map by giving the new block number and its X/Y values measured in half-blocks. [79][X][Y][Block] parsing command byte 0xae for map 4.5 at 0x99530 info: None long_info: None skipping event data... (oops) map_group is: 4 map_id is: 6 event header address is: 0x99d12 skipping event data... (oops) map_group is: 4 map_id is: 7 event header address is: 0x9a4e9 parsing signpost script.. signpost is at: x=3 y=15 parsing command byte 0x34 for map 4.7 at 0x99e4d info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map 4.7 at 0x99e50 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0xc for map 4.7 at 0x99e53 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=6 y=15 parsing command byte 0x34 for map 4.7 at 0x99e4d info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map 4.7 at 0x99e50 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0xc for map 4.7 at 0x99e53 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) parsing command byte 0x8d for map 4.7 at 0x99d53 info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0xc6 for map 4.7 at 0x99d54 info: None long_info: None parsing command byte 0x91 for map 4.7 at 0x99d57 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 4 map_id is: 8 event header address is: 0x9a9f5 parsing signpost script.. signpost is at: x=2 y=1 parsing command byte 0xc for map 4.8 at 0x9a639 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 4 map_id is: 9 event header address is: 0x1a45fc parsing signpost script.. signpost is at: x=15 y=21 parsing command byte 0x53 for map 4.9 at 0x1a4040 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xd1 for map 4.9 at 0x1a4041 info: None long_info: None parsing signpost script.. signpost is at: x=38 y=10 parsing command byte 0x53 for map 4.9 at 0x1a4043 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x13 for map 4.9 at 0x1a4044 info: Trigger event check long_info: Checks the number of the trigger events on the current map. [13] parsing command byte 0x45 for map 4.9 at 0x1a4045 info: Show HIRO put the ITEMNAME in the ITEMPOCKET text box long_info: Text box: "HIRO put the ITEMNAME in the ITEMPOCKET." The item number has to have been loaded beforehand (e.g. by Give item code). parsing command byte 0x53 for map 4.9 at 0x1a4046 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x48 for map 4.9 at 0x1a4047 info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0x53 for map 4.9 at 0x1a4049 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x8c for map 4.9 at 0x1a404a info: Priority jump to script by pointer [xxyy] long_info: The pointer acts like code 00, but with this higher functions like the bike etc. are not paid attention to, while the script is running. [8C][2byte pointer to script] parsing command byte 0xa4 for map 4.9 at 0x1a404d info: None long_info: None parsing signpost script.. signpost is at: x=8 y=28 parsing command byte 0x53 for map 4.9 at 0x1a4046 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x48 for map 4.9 at 0x1a4047 info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0x53 for map 4.9 at 0x1a4049 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x8c for map 4.9 at 0x1a404a info: Priority jump to script by pointer [xxyy] long_info: The pointer acts like code 00, but with this higher functions like the bike etc. are not paid attention to, while the script is running. [8C][2byte pointer to script] parsing command byte 0xa4 for map 4.9 at 0x1a404d info: None long_info: None parsing signpost script.. signpost is at: x=21 y=21 parsing command byte 0x53 for map 4.9 at 0x1a4049 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x8c for map 4.9 at 0x1a404a info: Priority jump to script by pointer [xxyy] long_info: The pointer acts like code 00, but with this higher functions like the bike etc. are not paid attention to, while the script is running. [8C][2byte pointer to script] parsing command byte 0xa4 for map 4.9 at 0x1a404d info: None long_info: None parsing signpost script.. signpost is at: x=2 y=10 parsing command byte 0x53 for map 4.9 at 0x1a404c info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xa4 for map 4.9 at 0x1a404d info: None long_info: None parsing signpost script.. signpost is at: x=24 y=27 parsing command byte 0xc for map 4.9 at 0x1a404f info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=30 y=21 parsing command byte 0xc for map 4.9 at 0x1a4052 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=23 y=14 parsing command byte 0xb4 for map 4.9 at 0x1a4055 info: None long_info: None skipping event data... (oops) parsing command byte 0x36 for map None.None at 0x1a4005 info: Set (to 1) a bit on bit table 2 [xxyy] long_info: Sets a bit of BitTable2 to value 1. [36][Bit no (2byte)] parsing command byte 0x90 for map None.None at 0x1a4008 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 5 map_id is: 1 event header address is: 0x1956ae parsing signpost script.. signpost is at: x=3 y=15 parsing command byte 0x34 for map 5.1 at 0x194eea info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map 5.1 at 0x194eed info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0xc for map 5.1 at 0x194ef0 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=6 y=15 parsing command byte 0x34 for map 5.1 at 0x194eea info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map 5.1 at 0x194eed info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0xc for map 5.1 at 0x194ef0 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) parsing command byte 0x31 for map None.None at 0x194e05 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x8 for map None.None at 0x194e08 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x7a for map None.None at 0x194e0b info: Reload/redisplay map long_info: Reloads and re-displays the map completely. Loads tileset and all map data anew. Screen gets light. [7A] parsing command byte 0x8 for map None.None at 0x194e0c info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x31 for map None.None at 0x194e0f info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x8 for map None.None at 0x194e12 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x7a for map None.None at 0x194e15 info: Reload/redisplay map long_info: Reloads and re-displays the map completely. Loads tileset and all map data anew. Screen gets light. [7A] parsing command byte 0x2 for map None.None at 0x194e16 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x31 for map None.None at 0x194e19 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x8 for map None.None at 0x194e1c info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x7a for map None.None at 0x194e1f info: Reload/redisplay map long_info: Reloads and re-displays the map completely. Loads tileset and all map data anew. Screen gets light. [7A] parsing command byte 0x8 for map None.None at 0x194e20 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x90 for map None.None at 0x194e23 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 5 map_id is: 2 event header address is: 0x1958c0 skipping event data... (oops) parsing command byte 0x7d for map None.None at 0x195727 info: Delete command queue long_info: Deletes a command queue and frees a slot in ram. [7D][First command of the resp. queue] parsing command byte 0x57 for map None.None at 0x195729 info: Menu interpreter 1 (see menu loader) long_info: Interprets menu data loaded by 4F. see also http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA57 parsing command byte 0x90 for map None.None at 0x19572a info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 5 map_id is: 3 event header address is: 0x1959fe skipping event data... (oops) map_group is: 5 map_id is: 4 event header address is: 0x195a34 parsing signpost script.. signpost is at: x=0 y=1 parsing command byte 0xc for map 5.4 at 0x195a31 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=1 y=1 parsing command byte 0xc for map 5.4 at 0x195a31 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 5 map_id is: 5 event header address is: 0x195b40 skipping event data... (oops) map_group is: 5 map_id is: 6 event header address is: 0x195c69 skipping event data... (oops) map_group is: 5 map_id is: 7 event header address is: 0x195cbf parsing signpost script.. signpost is at: x=0 y=1 parsing command byte 0xc for map 5.7 at 0x195cbc info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=1 y=1 parsing command byte 0xc for map 5.7 at 0x195cbc info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 5 map_id is: 8 event header address is: 0x19e91b parsing signpost script.. signpost is at: x=10 y=4 parsing command byte 0x53 for map 5.8 at 0x19e291 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xfe for map 5.8 at 0x19e292 info: None long_info: None parsing signpost script.. signpost is at: x=13 y=80 parsing command byte 0xaf for map 5.8 at 0x19e29e info: None long_info: None skipping event data... (oops) map_group is: 5 map_id is: 9 event header address is: 0x1a99db parsing signpost script.. signpost is at: x=9 y=27 parsing command byte 0x53 for map 5.9 at 0x1a978a info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xbe for map 5.9 at 0x1a978b info: None long_info: None skipping event data... (oops) map_group is: 5 map_id is: 10 event header address is: 0x1a4c57 parsing signpost script.. signpost is at: x=34 y=24 parsing command byte 0x53 for map 5.10 at 0x1a4765 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x67 for map 5.10 at 0x1a4766 info: Set last talked-to person [xx] long_info: Sets the number of the last person talked to. [67][person] parsing command byte 0x53 for map 5.10 at 0x1a4768 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x91 for map 5.10 at 0x1a4769 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=17 y=13 parsing command byte 0x53 for map 5.10 at 0x1a4768 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x91 for map 5.10 at 0x1a4769 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=7 y=31 parsing command byte 0x53 for map 5.10 at 0x1a476b info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xd9 for map 5.10 at 0x1a476c info: None long_info: None parsing signpost script.. signpost is at: x=21 y=3 parsing command byte 0x53 for map 5.10 at 0x1a476e info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xef for map 5.10 at 0x1a476f info: None long_info: None parsing signpost script.. signpost is at: x=5 y=25 parsing command byte 0x53 for map 5.10 at 0x1a4771 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x3 for map 5.10 at 0x1a4772 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x10 for map 5.10 at 0x1a4775 info: ASM code2 [2b to 3b to asm] long_info: Call an ASM script via a 2byte pointer pointing to a 3byte pointer. [10][2byte pointer pointing to 3byte pointer pointing to ASM script] parsing command byte 0x11 for map 5.10 at 0x1a4778 info: Trigger event check1 [xx][yy] long_info: Check the current number of the trigger event on map (map group/map id). [11][map group][map number] parsing command byte 0x88 for map 5.10 at 0x1a477b info: Engine remote control [bb][xxyy] long_info: This code controls the engine via "data stream". [88][3byte pointer to control structure] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA88 parsing command byte 0x7f for map 5.10 at 0x1a477f info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0xb2 for map 5.10 at 0x1a4780 info: None long_info: None parsing signpost script.. signpost is at: x=16 y=29 parsing command byte 0xc for map 5.10 at 0x1a4777 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=22 y=29 parsing command byte 0xc for map 5.10 at 0x1a4774 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) parsing command byte 0x36 for map None.None at 0x1a46d8 info: Set (to 1) a bit on bit table 2 [xxyy] long_info: Sets a bit of BitTable2 to value 1. [36][Bit no (2byte)] parsing command byte 0x90 for map None.None at 0x1a46db info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] parsing command byte 0x1c for map None.None at 0x1a46dc info: Check pre-ID-mapped RAM location [xx] long_info: Checks special game-technical values and writes then into RAM. [1C][following part][Ram check (when <> 08/09 see „numbers“ in list of following parts)] following part (and then hex values) 01 = PKMN count in party 00 - 06 02 = ??? 03 = Battle type of wild PKMN 04 = ??? 05 = PokéDex caught 00 - FA 06 = PokéDex seen 00 - FA 07 = Badge count 00 - 10 08 = Movement 00 = walk 01 = bike 02 = slipping 04 = surfer 08 = surfing pikachu 09 = HIRO direction 00 (d) 01 (u) 02 (l) 03 (r) 0A = Time in hours 00 - 18 0B = Day 00 (Mo) - 06 (Su) 0C = Map bank of current map 0D = Map no of current map 0E = Num. of diff. unowns seen 00 - 1A 0F = Action byte of map 10 = Amount of free spaces in pkmn box 00 - 14 11 = Minutes until end bug contest 00 - 14 12 = X position of HIRO 13 = Y position of HIRO 14 = phone call number parsing command byte 0x6 for map None.None at 0x1a46de info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x46 for map None.None at 0x1a46e1 info: Show ITEMPOCKET is full textbox long_info: Text box: "ITEMPOCKET is full..." The item number has to have been loaded beforehand (e.g. by Give item code). parsing command byte 0x6e for map None.None at 0x1a46e2 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x90 for map None.None at 0x1a46e4 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 6 map_id is: 1 event header address is: 0x1ab3ab skipping event data... (oops) map_group is: 6 map_id is: 2 event header address is: 0x1ab3e9 skipping event data... (oops) map_group is: 6 map_id is: 3 event header address is: 0x1ab4cd skipping event data... (oops) map_group is: 6 map_id is: 4 event header address is: 0x1ab865 skipping event data... (oops) parsing command byte 0x91 for map 6.4 at 0x1ab4fa info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 6 map_id is: 5 event header address is: 0x19ee31 parsing signpost script.. signpost is at: x=11 y=13 parsing command byte 0x53 for map 6.5 at 0x19ea75 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xbc for map 6.5 at 0x19ea76 info: None long_info: None parsing signpost script.. signpost is at: x=11 y=1 parsing command byte 0x53 for map 6.5 at 0x19ea78 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xe5 for map 6.5 at 0x19ea79 info: None long_info: None skipping event data... (oops) parsing command byte 0x31 for map None.None at 0x19e9de info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map None.None at 0x19e9e1 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x7a for map None.None at 0x19e9e4 info: Reload/redisplay map long_info: Reloads and re-displays the map completely. Loads tileset and all map data anew. Screen gets light. [7A] parsing command byte 0x6 for map None.None at 0x19e9e5 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x7a for map None.None at 0x19e9e8 info: Reload/redisplay map long_info: Reloads and re-displays the map completely. Loads tileset and all map data anew. Screen gets light. [7A] parsing command byte 0x8 for map None.None at 0x19e9e9 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x7a for map None.None at 0x19e9ec info: Reload/redisplay map long_info: Reloads and re-displays the map completely. Loads tileset and all map data anew. Screen gets light. [7A] parsing command byte 0xa for map None.None at 0x19e9ed info: RAM check [ return to old script [code][2 byte pointer] parsing command byte 0x2 for map 7.10 at 0x188dca info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x8b for map 7.10 at 0x188dcd info: Deactive static facing after time [xx] long_info: Deactivates static facings on all persons on the screen after a time xx. [8B][xx] parsing command byte 0x69 for map 7.10 at 0x188dcf info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x4e for map 7.10 at 0x188dd2 info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x76 for map 7.10 at 0x188dd3 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x76 for map 7.10 at 0x188dd6 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x47 for map 7.10 at 0x188dd9 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 7.10 at 0x188dda info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 7.10 at 0x188ddd info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 7.10 at 0x188dde info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x76 for map 7.10 at 0x188ddf info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x76 for map 7.10 at 0x188de2 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x47 for map 7.10 at 0x188de5 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 7.10 at 0x188de6 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 7.10 at 0x188de9 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 7.10 at 0x188dea info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x76 for map 7.10 at 0x188deb info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x69 for map 7.10 at 0x188dee info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x4e for map 7.10 at 0x188df1 info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x14 for map 7.10 at 0x188df2 info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0x91 for map 7.10 at 0x188df4 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=0 y=1 parsing command byte 0xc for map 7.10 at 0x188ed2 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=1 y=1 parsing command byte 0xc for map 7.10 at 0x188ed2 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) parsing command byte 0x91 for map 7.10 at 0x188dc3 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 7.10 at 0x188dc4 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 7 map_id is: 11 event header address is: 0x189b42 skipping event data... (oops) map_group is: 7 map_id is: 12 event header address is: 0x1ae3ab parsing signpost script.. signpost is at: x=3 y=7 parsing command byte 0x53 for map 7.12 at 0x1ae20c info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x84 for map 7.12 at 0x1ae20d info: Play sound by sound number [xxyy] long_info: Plays the sound. [84][Sound no (2byte)] Sound no: See the music archive that should accompany this document Thanks to philb for this matter. He helped me to record a big part of these sounds. parsing command byte 0x1 for map 7.12 at 0x1ae210 info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x0 for map 7.12 at 0x1ae214 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x7f for map 7.12 at 0x1ae217 info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0xb1 for map 7.12 at 0x1ae218 info: None long_info: None parsing signpost script.. signpost is at: x=10 y=3 parsing command byte 0xf1 for map 7.12 at 0x1ae211 info: None long_info: None skipping event data... (oops) map_group is: 7 map_id is: 13 event header address is: 0x1ab2c7 parsing signpost script.. signpost is at: x=15 y=7 parsing command byte 0x53 for map 7.13 at 0x1aaf9f info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xa2 for map 7.13 at 0x1aafa0 info: Set memX to a string by a pointer [aabb][bank][xx] long_info: MEMORY1, 2 or 3 can directly be filled with a string from a different rom bank. [A2][2byte pointer][Bank][00-02 MEMORY] parsing command byte 0x0 for map 7.13 at 0x1aafa5 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xa2 for map 7.13 at 0x1aafa8 info: Set memX to a string by a pointer [aabb][bank][xx] long_info: MEMORY1, 2 or 3 can directly be filled with a string from a different rom bank. [A2][2byte pointer][Bank][00-02 MEMORY] parsing command byte 0xb3 for map 7.13 at 0x1aafad info: None long_info: None parsing signpost script.. signpost is at: x=41 y=15 parsing command byte 0xf2 for map 7.13 at 0x1aafa2 info: None long_info: None skipping event data... (oops) map_group is: 7 map_id is: 14 event header address is: 0x1b2099 parsing signpost script.. signpost is at: x=5 y=11 parsing command byte 0x53 for map 7.14 at 0x1b2080 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x86 for map 7.14 at 0x1b2081 info: Warp sound long_info: Evaluates which sound is played when HIRO enters a Warp field. Usage via script ingame is rather not useful. [86] parsing command byte 0x60 for map 7.14 at 0x1b2082 info: Pokemon catching tutorial [xx] long_info: Starts a learn-how-to-catch battle with a Pokémon, whose data needs to be loaded beforehand see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke5C Player has to have at least 1 Pokémon for it to work. Items that are statically used: 1xPotion, 5xPoké ball. [60][xx] xx: Between 01 and 03. If <> 03 then HIRO sprite instead of dude sprite and kills itself when using the item system. parsing command byte 0x10 for map 7.14 at 0x1b2084 info: ASM code2 [2b to 3b to asm] long_info: Call an ASM script via a 2byte pointer pointing to a 3byte pointer. [10][2byte pointer pointing to 3byte pointer pointing to ASM script] parsing command byte 0x8a for map 7.14 at 0x1b2087 info: Wait code long_info: This code lets the game wait for 2 * xx time intervals. [8A][xx] xx: Numbers from 0x01 to 0xFF. If 0x00 is chosen then the time can be manipulated by previously loading a number to RAM2. parsing command byte 0x8d for map 7.14 at 0x1b2089 info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0x93 for map 7.14 at 0x1b208a info: Mart menu [dialog no][mart no 2b] long_info: Displays a whole mart menu, however, doesn't load font to ram. [93][Dialog no][Mart no (2byte)] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#AwBsp93 see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzB93 parsing command byte 0x8e for map 7.14 at 0x1b208e info: Priority jump to script by pointer (after 1st cycle) [xxyy] long_info: The pointer acts like code 03, but with this code all higher functions wait for a cycle before the script gets interpreted. [8E][2byte pointer to script] parsing command byte 0x91 for map 7.14 at 0x1b2091 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=12 y=1 parsing command byte 0xc for map 7.14 at 0x1b2083 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 7 map_id is: 15 event header address is: 0x1adf50 skipping event data... (oops) map_group is: 7 map_id is: 16 event header address is: 0x19f58f parsing xy trigger byte scripts... x=42 y=6 parsing command byte 0x75 for map 7.16 at 0x19eea0 info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0xf for map 7.16 at 0x19eea3 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x75 for map 7.16 at 0x19eea6 info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0xa for map 7.16 at 0x19eea9 info: RAM check [ return to old script [code][2 byte pointer] parsing command byte 0xe8 for map 7.16 at 0x19eeaf info: None long_info: None parsing xy trigger byte scripts... x=42 y=7 parsing command byte 0x75 for map 7.16 at 0x19eee0 info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0xf for map 7.16 at 0x19eee3 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x75 for map 7.16 at 0x19eee6 info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0xa for map 7.16 at 0x19eee9 info: RAM check [ return to old script [code][2 byte pointer] parsing command byte 0xea for map 7.16 at 0x19eeef info: None long_info: None parsing signpost script.. signpost is at: x=45 y=5 parsing command byte 0x53 for map 7.16 at 0x19efe0 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x67 for map 7.16 at 0x19efe1 info: Set last talked-to person [xx] long_info: Sets the number of the last person talked to. [67][person] parsing command byte 0x1b for map 7.16 at 0x19efe3 info: Load variable [xxyy][zz] long_info: Writes zz to ram address. [1B][2-byte RAM address][zz] parsing command byte 0x12 for map 7.16 at 0x19efe7 info: Activate trigger event from afar [xx][yy][zz] long_info: Changes trigger event number on map (map bank/map no) to xx. xx = trigger event number that should be activated [12][MapBank][MapNo][xx] parsing command byte 0x10 for map 7.16 at 0x19efeb info: ASM code2 [2b to 3b to asm] long_info: Call an ASM script via a 2byte pointer pointing to a 3byte pointer. [10][2byte pointer pointing to 3byte pointer pointing to ASM script] parsing command byte 0xd for map 7.16 at 0x19efee info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0xe for map 7.16 at 0x19eff1 info: ASM code1 [3b] long_info: Calls a predefined routine by interpreting the ASM the pointer points to. [0E][3byte pointer] parsing command byte 0xd for map 7.16 at 0x19eff5 info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0xe for map 7.16 at 0x19eff8 info: ASM code1 [3b] long_info: Calls a predefined routine by interpreting the ASM the pointer points to. [0E][3byte pointer] parsing command byte 0x47 for map 7.16 at 0x19effc info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0xd for map 7.16 at 0x19effd info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0xe for map 7.16 at 0x19f000 info: ASM code1 [3b] long_info: Calls a predefined routine by interpreting the ASM the pointer points to. [0E][3byte pointer] parsing command byte 0xe for map 7.16 at 0x19f004 info: ASM code1 [3b] long_info: Calls a predefined routine by interpreting the ASM the pointer points to. [0E][3byte pointer] parsing command byte 0x88 for map 7.16 at 0x19f008 info: Engine remote control [bb][xxyy] long_info: This code controls the engine via "data stream". [88][3byte pointer to control structure] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA88 parsing command byte 0x9c for map 7.16 at 0x19f00c info: Check if/which a phone call is active long_info: Checks if a phone call is "in the line". feedback: 00 = no <>00 = call number [9C] parsing command byte 0x7f for map 7.16 at 0x19f00d info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0x80 for map 7.16 at 0x19f00e info: Music fade-out then play next [xxyy][time] long_info: The current music is faded out and the new music is played afterwards. [80][Music no (2byte)][Time to fade out (00-7F)] parsing command byte 0x7f for map 7.16 at 0x19f012 info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0x96 for map 7.16 at 0x19f013 info: Give cell phone number by id with YES/NO [id] long_info: Gives a telephone number but asks for decision beforehand. feedback: 00 = ok chosen 01 = Cell phone number already registered/Memory full 02 = no chosen [96][Cell phone number] parsing command byte 0xb8 for map 7.16 at 0x19f015 info: None long_info: None parsing signpost script.. signpost is at: x=4 y=5 parsing command byte 0xf8 for map 7.16 at 0x19efe5 info: None long_info: None skipping event data... (oops) parsing command byte 0x91 for map 7.16 at 0x19ee9e info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 7.16 at 0x19ee9f info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 7 map_id is: 17 event header address is: 0x18445d parsing signpost script.. signpost is at: x=23 y=23 parsing command byte 0x53 for map 7.17 at 0x1840a1 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x12 for map 7.17 at 0x1840a2 info: Activate trigger event from afar [xx][yy][zz] long_info: Changes trigger event number on map (map bank/map no) to xx. xx = trigger event number that should be activated [12][MapBank][MapNo][xx] parsing command byte 0x43 for map 7.17 at 0x1840a6 info: Copy trainer name (by id&group) to memZ [xx][yy][zz] long_info: Writes trainer name to MEMORY1, 2 or 3 for later use in text. [43][Trainer number][Trainer group][00-02 MEMORY] parsing command byte 0x53 for map 7.17 at 0x1840aa info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xcc for map 7.17 at 0x1840ab info: None long_info: None parsing signpost script.. signpost is at: x=27 y=25 parsing command byte 0x53 for map 7.17 at 0x1840a4 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x45 for map 7.17 at 0x1840a5 info: Show HIRO put the ITEMNAME in the ITEMPOCKET text box long_info: Text box: "HIRO put the ITEMNAME in the ITEMPOCKET." The item number has to have been loaded beforehand (e.g. by Give item code). parsing command byte 0x43 for map 7.17 at 0x1840a6 info: Copy trainer name (by id&group) to memZ [xx][yy][zz] long_info: Writes trainer name to MEMORY1, 2 or 3 for later use in text. [43][Trainer number][Trainer group][00-02 MEMORY] parsing command byte 0x53 for map 7.17 at 0x1840aa info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xcc for map 7.17 at 0x1840ab info: None long_info: None parsing signpost script.. signpost is at: x=11 y=29 parsing command byte 0x53 for map 7.17 at 0x1840a7 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x81 for map 7.17 at 0x1840a8 info: Play map's music long_info: Starts playing the original map music. Includes special check for surfer and bug contest song. [81] parsing command byte 0x43 for map 7.17 at 0x1840a9 info: Copy trainer name (by id&group) to memZ [xx][yy][zz] long_info: Writes trainer name to MEMORY1, 2 or 3 for later use in text. [43][Trainer number][Trainer group][00-02 MEMORY] parsing command byte 0x53 for map 7.17 at 0x1840ad info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x3b for map 7.17 at 0x1840ae info: Blackout warp modifier [map group][map id] long_info: Changes the map HIRO arrives at, after having a blackout. There needs to be flying data for that map. [3B][Map bank][Map no] parsing command byte 0x50 for map 7.17 at 0x1840b1 info: Write screen backup long_info: Writes backup of parts of the screen the box was overlapping. parsing command byte 0x44 for map 7.17 at 0x1840b2 info: Copy text (by pointer) to memX [aabb][xx] long_info: Writes string to MEMORY1, 2 or 3 for later use in text. [44][2byte pointer to string (max. 0x0C figures + 0x50)][00-02 MEMORY] See 0C codes: 0C2900, 0C2A00, 0C1B00, 0C2200, Usage of variable strings in text. parsing command byte 0xc for map 7.17 at 0x1840b6 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=25 y=17 parsing command byte 0x53 for map 7.17 at 0x1840aa info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xcc for map 7.17 at 0x1840ab info: None long_info: None parsing signpost script.. signpost is at: x=23 y=7 parsing command byte 0x53 for map 7.17 at 0x1840ad info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x3b for map 7.17 at 0x1840ae info: Blackout warp modifier [map group][map id] long_info: Changes the map HIRO arrives at, after having a blackout. There needs to be flying data for that map. [3B][Map bank][Map no] parsing command byte 0x50 for map 7.17 at 0x1840b1 info: Write screen backup long_info: Writes backup of parts of the screen the box was overlapping. parsing command byte 0x44 for map 7.17 at 0x1840b2 info: Copy text (by pointer) to memX [aabb][xx] long_info: Writes string to MEMORY1, 2 or 3 for later use in text. [44][2byte pointer to string (max. 0x0C figures + 0x50)][00-02 MEMORY] See 0C codes: 0C2900, 0C2A00, 0C1B00, 0C2200, Usage of variable strings in text. parsing command byte 0xc for map 7.17 at 0x1840b6 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=14 y=29 parsing command byte 0x53 for map 7.17 at 0x1840b0 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x50 for map 7.17 at 0x1840b1 info: Write screen backup long_info: Writes backup of parts of the screen the box was overlapping. parsing command byte 0x44 for map 7.17 at 0x1840b2 info: Copy text (by pointer) to memX [aabb][xx] long_info: Writes string to MEMORY1, 2 or 3 for later use in text. [44][2byte pointer to string (max. 0x0C figures + 0x50)][00-02 MEMORY] See 0C codes: 0C2900, 0C2A00, 0C1B00, 0C2200, Usage of variable strings in text. parsing command byte 0xc for map 7.17 at 0x1840b6 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=20 y=21 parsing command byte 0xc for map 7.17 at 0x1840b3 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=26 y=29 parsing command byte 0xc for map 7.17 at 0x1840b6 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=2 y=12 parsing command byte 0xfa for map 7.17 at 0x1840b9 info: None long_info: None skipping event data... (oops) parsing command byte 0x36 for map None.None at 0x184005 info: Set (to 1) a bit on bit table 2 [xxyy] long_info: Sets a bit of BitTable2 to value 1. [36][Bit no (2byte)] parsing command byte 0x90 for map None.None at 0x184008 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 8 map_id is: 1 event header address is: 0x18dccf skipping event data... (oops) parsing command byte 0x91 for map 8.1 at 0x18db27 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 8 map_id is: 2 event header address is: 0x18dff8 parsing signpost script.. signpost is at: x=0 y=1 parsing command byte 0xc for map 8.2 at 0x18dd6e info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=1 y=1 parsing command byte 0xc for map 8.2 at 0x18dd6e info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=7 y=1 parsing command byte 0xc for map 8.2 at 0x18dd71 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 8 map_id is: 3 event header address is: 0x18e118 skipping event data... (oops) map_group is: 8 map_id is: 4 event header address is: 0x18eba8 parsing signpost script.. signpost is at: x=6 y=1 parsing command byte 0xc for map 8.4 at 0x18e463 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=8 y=0 parsing command byte 0x53 for map 8.4 at 0x18e45a info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x69 for map 8.4 at 0x18e45b info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x7e for map 8.4 at 0x18e45e info: Play music by number [xxyy] long_info: Immediately plays the music. [7E][Music no (2byte)] Music no: See the music archive that should accompany this document Thanks to Filb. He dumped all the songs via gameboy player and gave them to me. parsing command byte 0x1 for map 8.4 at 0x18e461 info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x0 for map 8.4 at 0x18e465 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x10 for map 8.4 at 0x18e468 info: ASM code2 [2b to 3b to asm] long_info: Call an ASM script via a 2byte pointer pointing to a 3byte pointer. [10][2byte pointer pointing to 3byte pointer pointing to ASM script] parsing command byte 0x47 for map 8.4 at 0x18e46b info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x13 for map 8.4 at 0x18e46c info: Trigger event check long_info: Checks the number of the trigger events on the current map. [13] parsing command byte 0x10 for map 8.4 at 0x18e46d info: ASM code2 [2b to 3b to asm] long_info: Call an ASM script via a 2byte pointer pointing to a 3byte pointer. [10][2byte pointer pointing to 3byte pointer pointing to ASM script] parsing command byte 0x10 for map 8.4 at 0x18e470 info: ASM code2 [2b to 3b to asm] long_info: Call an ASM script via a 2byte pointer pointing to a 3byte pointer. [10][2byte pointer pointing to 3byte pointer pointing to ASM script] parsing command byte 0x0 for map 8.4 at 0x18e473 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xe6 for map 8.4 at 0x18e476 info: None long_info: None parsing signpost script.. signpost is at: x=9 y=0 parsing command byte 0x53 for map 8.4 at 0x18e45a info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x69 for map 8.4 at 0x18e45b info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x7e for map 8.4 at 0x18e45e info: Play music by number [xxyy] long_info: Immediately plays the music. [7E][Music no (2byte)] Music no: See the music archive that should accompany this document Thanks to Filb. He dumped all the songs via gameboy player and gave them to me. parsing command byte 0x1 for map 8.4 at 0x18e461 info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x0 for map 8.4 at 0x18e465 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x10 for map 8.4 at 0x18e468 info: ASM code2 [2b to 3b to asm] long_info: Call an ASM script via a 2byte pointer pointing to a 3byte pointer. [10][2byte pointer pointing to 3byte pointer pointing to ASM script] parsing command byte 0x47 for map 8.4 at 0x18e46b info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x13 for map 8.4 at 0x18e46c info: Trigger event check long_info: Checks the number of the trigger events on the current map. [13] parsing command byte 0x10 for map 8.4 at 0x18e46d info: ASM code2 [2b to 3b to asm] long_info: Call an ASM script via a 2byte pointer pointing to a 3byte pointer. [10][2byte pointer pointing to 3byte pointer pointing to ASM script] parsing command byte 0x10 for map 8.4 at 0x18e470 info: ASM code2 [2b to 3b to asm] long_info: Call an ASM script via a 2byte pointer pointing to a 3byte pointer. [10][2byte pointer pointing to 3byte pointer pointing to ASM script] parsing command byte 0x0 for map 8.4 at 0x18e473 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xe6 for map 8.4 at 0x18e476 info: None long_info: None parsing signpost script.. signpost is at: x=5 y=1 parsing command byte 0xc for map 8.4 at 0x18e460 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=2 y=1 parsing command byte 0xc for map 8.4 at 0x18e460 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=3 y=1 parsing command byte 0xc for map 8.4 at 0x18e460 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=4 y=1 parsing command byte 0x53 for map 8.4 at 0x18e45d info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x7e for map 8.4 at 0x18e45e info: Play music by number [xxyy] long_info: Immediately plays the music. [7E][Music no (2byte)] Music no: See the music archive that should accompany this document Thanks to Filb. He dumped all the songs via gameboy player and gave them to me. parsing command byte 0x1 for map 8.4 at 0x18e461 info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x0 for map 8.4 at 0x18e465 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x10 for map 8.4 at 0x18e468 info: ASM code2 [2b to 3b to asm] long_info: Call an ASM script via a 2byte pointer pointing to a 3byte pointer. [10][2byte pointer pointing to 3byte pointer pointing to ASM script] parsing command byte 0x47 for map 8.4 at 0x18e46b info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x13 for map 8.4 at 0x18e46c info: Trigger event check long_info: Checks the number of the trigger events on the current map. [13] parsing command byte 0x10 for map 8.4 at 0x18e46d info: ASM code2 [2b to 3b to asm] long_info: Call an ASM script via a 2byte pointer pointing to a 3byte pointer. [10][2byte pointer pointing to 3byte pointer pointing to ASM script] parsing command byte 0x10 for map 8.4 at 0x18e470 info: ASM code2 [2b to 3b to asm] long_info: Call an ASM script via a 2byte pointer pointing to a 3byte pointer. [10][2byte pointer pointing to 3byte pointer pointing to ASM script] parsing command byte 0x0 for map 8.4 at 0x18e473 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xe6 for map 8.4 at 0x18e476 info: None long_info: None skipping event data... (oops) parsing command byte 0x31 for map None.None at 0x18e154 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x8 for map None.None at 0x18e157 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x31 for map None.None at 0x18e15a info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map None.None at 0x18e15d info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x34 for map None.None at 0x18e160 info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map None.None at 0x18e163 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x6e for map None.None at 0x18e166 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x6f for map None.None at 0x18e168 info: Following code1 [leader id][follower id] long_info: A person1 follows another person2. The person1 that follows just repeats the movement of person2, even if the persons are not directly next to each other. [6F][Leader Person2][Follower Person1] parsing command byte 0x6 for map None.None at 0x18e16b info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x90 for map None.None at 0x18e16e info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 8 map_id is: 5 event header address is: 0x18f3cc parsing signpost script.. signpost is at: x=3 y=13 parsing command byte 0x34 for map 8.5 at 0x18ecfb info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map 8.5 at 0x18ecfe info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0xc for map 8.5 at 0x18ed01 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=6 y=13 parsing command byte 0x34 for map 8.5 at 0x18ecfb info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map 8.5 at 0x18ecfe info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0xc for map 8.5 at 0x18ed01 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 8 map_id is: 6 event header address is: 0x1ac283 parsing signpost script.. signpost is at: x=11 y=11 parsing command byte 0x53 for map 8.6 at 0x1ac0e7 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x79 for map 8.6 at 0x1ac0e8 info: Change block to block id on map [xx][yy][id] long_info: Changes a block on the current map by giving the new block number and its X/Y values measured in half-blocks. [79][X][Y][Block] parsing command byte 0x0 for map 8.6 at 0x1ac0ec info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xa2 for map 8.6 at 0x1ac0ef info: Set memX to a string by a pointer [aabb][bank][xx] long_info: MEMORY1, 2 or 3 can directly be filled with a string from a different rom bank. [A2][2byte pointer][Bank][00-02 MEMORY] parsing command byte 0xb3 for map 8.6 at 0x1ac0f4 info: None long_info: None skipping event data... (oops) map_group is: 8 map_id is: 7 event header address is: 0x1987c1 parsing xy trigger byte scripts... x=5 y=10 parsing command byte 0x72 for map 8.7 at 0x198018 info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0xb for map 8.7 at 0x19801a info: RAM check [>byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x0 for map 8.7 at 0x19801d info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 8.7 at 0x198020 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 8.7 at 0x198023 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x8b for map 8.7 at 0x198026 info: Deactive static facing after time [xx] long_info: Deactivates static facings on all persons on the screen after a time xx. [8B][xx] parsing command byte 0x6f for map 8.7 at 0x198028 info: Following code1 [leader id][follower id] long_info: A person1 follows another person2. The person1 that follows just repeats the movement of person2, even if the persons are not directly next to each other. [6F][Leader Person2][Follower Person1] parsing command byte 0xb for map 8.7 at 0x19802b info: RAM check [>byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x76 for map 8.7 at 0x19802e info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x3 for map 8.7 at 0x198031 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x76 for map 8.7 at 0x198034 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x75 for map 8.7 at 0x198037 info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0xf for map 8.7 at 0x19803a info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x0 for map 8.7 at 0x19803d info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x6f for map 8.7 at 0x198040 info: Following code1 [leader id][follower id] long_info: A person1 follows another person2. The person1 that follows just repeats the movement of person2, even if the persons are not directly next to each other. [6F][Leader Person2][Follower Person1] parsing command byte 0xb for map 8.7 at 0x198043 info: RAM check [>byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x76 for map 8.7 at 0x198046 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x7f for map 8.7 at 0x198049 info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0x1f for map 8.7 at 0x19804a info: Give item by id and quantity [xx][yy] long_info: Gives item (item no) amount times. feedback: 00 = bag full 01 = OK [1F][item no][amount] parsing command byte 0x4c for map 8.7 at 0x19804d info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 8.7 at 0x198050 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 8.7 at 0x198051 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x33 for map 8.7 at 0x198052 info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x31 for map 8.7 at 0x198055 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 8.7 at 0x198058 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x31 for map 8.7 at 0x19805b info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 8.7 at 0x19805e info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x64 for map 8.7 at 0x198061 info: ? Load the trainer talk-after script long_info: Interprets which script is going to be run, when a in the event-structure-defined trainer is talked to again. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau [64] parsing command byte 0xe6 for map 8.7 at 0x198062 info: None long_info: None parsing xy trigger byte scripts... x=5 y=11 parsing command byte 0x76 for map 8.7 at 0x198034 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x75 for map 8.7 at 0x198037 info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0xf for map 8.7 at 0x19803a info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x0 for map 8.7 at 0x19803d info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x6f for map 8.7 at 0x198040 info: Following code1 [leader id][follower id] long_info: A person1 follows another person2. The person1 that follows just repeats the movement of person2, even if the persons are not directly next to each other. [6F][Leader Person2][Follower Person1] parsing command byte 0xb for map 8.7 at 0x198043 info: RAM check [>byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x76 for map 8.7 at 0x198046 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x7f for map 8.7 at 0x198049 info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0x1f for map 8.7 at 0x19804a info: Give item by id and quantity [xx][yy] long_info: Gives item (item no) amount times. feedback: 00 = bag full 01 = OK [1F][item no][amount] parsing command byte 0x4c for map 8.7 at 0x19804d info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 8.7 at 0x198050 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 8.7 at 0x198051 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x33 for map 8.7 at 0x198052 info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x31 for map 8.7 at 0x198055 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 8.7 at 0x198058 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x31 for map 8.7 at 0x19805b info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 8.7 at 0x19805e info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x64 for map 8.7 at 0x198061 info: ? Load the trainer talk-after script long_info: Interprets which script is going to be run, when a in the event-structure-defined trainer is talked to again. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau [64] parsing command byte 0xe6 for map 8.7 at 0x198062 info: None long_info: None parsing xy trigger byte scripts... x=9 y=6 parsing command byte 0x69 for map 8.7 at 0x1980e5 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x41 for map 8.7 at 0x1980e8 info: Copy item name (by id) to memX [id][xx] long_info: Writes item name to MEMORY1, 2 or 3 for later use in text. [41][Item no][00-02 MEMORY] parsing command byte 0xdf for map 8.7 at 0x1980eb info: None long_info: None parsing signpost script.. signpost is at: x=19 y=9 parsing command byte 0x53 for map 8.7 at 0x198117 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x5a for map 8.7 at 0x198118 info: ? Disable fleeing from battle long_info: Deletes the value in BattleRAM. Turns off the check if the battle was started by entering a trainer's area of view. parsing command byte 0x46 for map 8.7 at 0x198119 info: Show ITEMPOCKET is full textbox long_info: Text box: "ITEMPOCKET is full..." The item number has to have been loaded beforehand (e.g. by Give item code). parsing command byte 0x53 for map 8.7 at 0x19811a info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x93 for map 8.7 at 0x19811b info: Mart menu [dialog no][mart no 2b] long_info: Displays a whole mart menu, however, doesn't load font to ram. [93][Dialog no][Mart no (2byte)] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#AwBsp93 see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzB93 parsing command byte 0x46 for map 8.7 at 0x19811f info: Show ITEMPOCKET is full textbox long_info: Text box: "ITEMPOCKET is full..." The item number has to have been loaded beforehand (e.g. by Give item code). parsing command byte 0x53 for map 8.7 at 0x198120 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xe7 for map 8.7 at 0x198121 info: None long_info: None parsing signpost script.. signpost is at: x=10 y=9 parsing command byte 0x53 for map 8.7 at 0x19811a info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x93 for map 8.7 at 0x19811b info: Mart menu [dialog no][mart no 2b] long_info: Displays a whole mart menu, however, doesn't load font to ram. [93][Dialog no][Mart no (2byte)] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#AwBsp93 see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzB93 parsing command byte 0x46 for map 8.7 at 0x19811f info: Show ITEMPOCKET is full textbox long_info: Text box: "ITEMPOCKET is full..." The item number has to have been loaded beforehand (e.g. by Give item code). parsing command byte 0x53 for map 8.7 at 0x198120 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xe7 for map 8.7 at 0x198121 info: None long_info: None parsing signpost script.. signpost is at: x=14 y=15 parsing command byte 0x53 for map 8.7 at 0x19811d info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xa1 for map 8.7 at 0x19811e info: Warp-to and set facing direction [Facing (00-03)][Map bank][Map no][X][Y] long_info: Acts like code 0x3C but defines the desired facing of HIRO. [A1][Facing (00-03)][Map bank][Map no][X][Y] parsing command byte 0x8d for map 8.7 at 0x198124 info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0x47 for map 8.7 at 0x198125 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x53 for map 8.7 at 0x198126 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x9c for map 8.7 at 0x198127 info: Check if/which a phone call is active long_info: Checks if a phone call is "in the line". feedback: 00 = no <>00 = call number [9C] parsing command byte 0x47 for map 8.7 at 0x198128 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0xc for map 8.7 at 0x198129 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=29 y=7 parsing command byte 0x53 for map 8.7 at 0x198120 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xe7 for map 8.7 at 0x198121 info: None long_info: None parsing signpost script.. signpost is at: x=19 y=13 parsing command byte 0x53 for map 8.7 at 0x198123 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x8d for map 8.7 at 0x198124 info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0x47 for map 8.7 at 0x198125 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x53 for map 8.7 at 0x198126 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x9c for map 8.7 at 0x198127 info: Check if/which a phone call is active long_info: Checks if a phone call is "in the line". feedback: 00 = no <>00 = call number [9C] parsing command byte 0x47 for map 8.7 at 0x198128 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0xc for map 8.7 at 0x198129 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=16 y=9 parsing command byte 0xc for map 8.7 at 0x198129 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=22 y=5 parsing command byte 0xc for map 8.7 at 0x19812c info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=3 y=9 parsing command byte 0x53 for map 8.7 at 0x198126 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x9c for map 8.7 at 0x198127 info: Check if/which a phone call is active long_info: Checks if a phone call is "in the line". feedback: 00 = no <>00 = call number [9C] parsing command byte 0x47 for map 8.7 at 0x198128 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0xc for map 8.7 at 0x198129 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=31 y=6 parsing command byte 0xb1 for map 8.7 at 0x198131 info: None long_info: None skipping event data... (oops) parsing command byte 0x91 for map 8.7 at 0x198011 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 8.7 at 0x198012 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 8.7 at 0x198013 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x36 for map None.None at 0x198014 info: Set (to 1) a bit on bit table 2 [xxyy] long_info: Sets a bit of BitTable2 to value 1. [36][Bit no (2byte)] parsing command byte 0x90 for map None.None at 0x198017 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 9 map_id is: 1 event header address is: 0x19a685 parsing signpost script.. signpost is at: x=0 y=1 parsing command byte 0xc for map 9.1 at 0x19a548 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=1 y=1 parsing command byte 0xc for map 9.1 at 0x19a548 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 9 map_id is: 2 event header address is: 0x19aae2 parsing signpost script.. signpost is at: x=0 y=1 parsing command byte 0xc for map 9.2 at 0x19a72b info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=1 y=1 parsing command byte 0xc for map 9.2 at 0x19a72b info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 9 map_id is: 3 event header address is: 0x19ab91 skipping event data... (oops) map_group is: 9 map_id is: 4 event header address is: 0x19ae5b skipping event data... (oops) parsing command byte 0x8d for map 9.4 at 0x19abc5 info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0xda for map 9.4 at 0x19abc6 info: None long_info: None parsing command byte 0x91 for map 9.4 at 0x19abc9 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x31 for map None.None at 0x19abca info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map None.None at 0x19abcd info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x12 for map None.None at 0x19abd0 info: Activate trigger event from afar [xx][yy][zz] long_info: Changes trigger event number on map (map bank/map no) to xx. xx = trigger event number that should be activated [12][MapBank][MapNo][xx] parsing command byte 0x90 for map None.None at 0x19abd4 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 9 map_id is: 5 event header address is: 0x19d78c parsing signpost script.. signpost is at: x=13 y=3 parsing command byte 0x53 for map 9.5 at 0x19d25d info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x7b for map 9.5 at 0x19d25e info: Reload/redisplay map portion occupied by HIRO long_info: Reloads and re-displays the part of the map HIRO is on, without reloading any other map data or the tileset. [7B] parsing command byte 0x56 for map 9.5 at 0x19d25f info: ?? Display a pokemon picture and a yes/no box long_info: Displays a YES/NO box at X08/Y05. feedback: 00 = no chosen 01 = yes chosen parsing command byte 0x53 for map 9.5 at 0x19d260 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xa2 for map 9.5 at 0x19d261 info: Set memX to a string by a pointer [aabb][bank][xx] long_info: MEMORY1, 2 or 3 can directly be filled with a string from a different rom bank. [A2][2byte pointer][Bank][00-02 MEMORY] parsing command byte 0x9b for map 9.5 at 0x19d266 info: Cell phone call [call id][00] long_info: Initiates with the next step on a outer world map (permission byte) a phone call. [9B][Call no][00] call no: 01 = PokéRus 02 = Pokémon stolen 03 = Egg examined/ Assistant in Viola City 04 = Team Rocket on the radio 05 = PROF. ELM has got something for HIRO 06 = Bike shop gives bike away 07 = Mother is unhappy that HIRO didn't talk to her before leaving 08 = PROF. ELM has got something for HIRO a second time parsing command byte 0x1 for map 9.5 at 0x19d269 info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0xab for map 9.5 at 0x19d26d info: None long_info: None parsing signpost script.. signpost is at: x=11 y=49 parsing command byte 0x53 for map 9.5 at 0x19d260 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xa2 for map 9.5 at 0x19d261 info: Set memX to a string by a pointer [aabb][bank][xx] long_info: MEMORY1, 2 or 3 can directly be filled with a string from a different rom bank. [A2][2byte pointer][Bank][00-02 MEMORY] parsing command byte 0x9b for map 9.5 at 0x19d266 info: Cell phone call [call id][00] long_info: Initiates with the next step on a outer world map (permission byte) a phone call. [9B][Call no][00] call no: 01 = PokéRus 02 = Pokémon stolen 03 = Egg examined/ Assistant in Viola City 04 = Team Rocket on the radio 05 = PROF. ELM has got something for HIRO 06 = Bike shop gives bike away 07 = Mother is unhappy that HIRO didn't talk to her before leaving 08 = PROF. ELM has got something for HIRO a second time parsing command byte 0x1 for map 9.5 at 0x19d269 info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0xab for map 9.5 at 0x19d26d info: None long_info: None parsing signpost script.. signpost is at: x=16 y=38 parsing command byte 0x53 for map 9.5 at 0x19d263 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xc9 for map 9.5 at 0x19d264 info: None long_info: None skipping event data... (oops) parsing command byte 0x31 for map None.None at 0x19d051 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map None.None at 0x19d054 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x12 for map None.None at 0x19d057 info: Activate trigger event from afar [xx][yy][zz] long_info: Changes trigger event number on map (map bank/map no) to xx. xx = trigger event number that should be activated [12][MapBank][MapNo][xx] parsing command byte 0x90 for map None.None at 0x19d05b info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 9 map_id is: 6 event header address is: 0x70919 parsing signpost script.. signpost is at: x=21 y=27 parsing command byte 0x53 for map 9.6 at 0x700a8 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xd7 for map 9.6 at 0x700a9 info: None long_info: None parsing signpost script.. signpost is at: x=25 y=31 parsing command byte 0x47 for map 9.6 at 0x700ab info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 9.6 at 0x700ac info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x31 for map 9.6 at 0x700af info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 9.6 at 0x700b2 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x54 for map 9.6 at 0x700b5 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 9.6 at 0x700b6 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 9.6 at 0x700b7 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=11 y=28 parsing command byte 0xb5 for map 9.6 at 0x7014c info: None long_info: None parsing signpost script.. signpost is at: x=4 y=4 parsing command byte 0xb6 for map 9.6 at 0x7014f info: None long_info: None parsing signpost script.. signpost is at: x=35 y=5 parsing command byte 0xb7 for map 9.6 at 0x70152 info: None long_info: None skipping event data... (oops) parsing command byte 0x91 for map 9.6 at 0x70010 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 9.6 at 0x70011 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x36 for map None.None at 0x70012 info: Set (to 1) a bit on bit table 2 [xxyy] long_info: Sets a bit of BitTable2 to value 1. [36][Bit no (2byte)] parsing command byte 0x90 for map None.None at 0x70015 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] parsing command byte 0x1c for map None.None at 0x70016 info: Check pre-ID-mapped RAM location [xx] long_info: Checks special game-technical values and writes then into RAM. [1C][following part][Ram check (when <> 08/09 see „numbers“ in list of following parts)] following part (and then hex values) 01 = PKMN count in party 00 - 06 02 = ??? 03 = Battle type of wild PKMN 04 = ??? 05 = PokéDex caught 00 - FA 06 = PokéDex seen 00 - FA 07 = Badge count 00 - 10 08 = Movement 00 = walk 01 = bike 02 = slipping 04 = surfer 08 = surfing pikachu 09 = HIRO direction 00 (d) 01 (u) 02 (l) 03 (r) 0A = Time in hours 00 - 18 0B = Day 00 (Mo) - 06 (Su) 0C = Map bank of current map 0D = Map no of current map 0E = Num. of diff. unowns seen 00 - 1A 0F = Action byte of map 10 = Amount of free spaces in pkmn box 00 - 14 11 = Minutes until end bug contest 00 - 14 12 = X position of HIRO 13 = Y position of HIRO 14 = phone call number parsing command byte 0x6 for map None.None at 0x70018 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x40 for map None.None at 0x7001b info: Copy pokemon name (by id) to memX [id][xx] long_info: Writes pokémon name to MEMORY1, 2 or 3 for later use in text. [40][PKMN no][00-02 MEMORY] parsing command byte 0x90 for map None.None at 0x7001e info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 10 map_id is: 1 event header address is: 0x19138d parsing xy trigger byte scripts... x=18 y=8 parsing command byte 0x76 for map 10.1 at 0x1904ab info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x76 for map 10.1 at 0x1904ae info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x47 for map 10.1 at 0x1904b1 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 10.1 at 0x1904b2 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 10.1 at 0x1904b5 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 10.1 at 0x1904b6 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x70 for map 10.1 at 0x1904b7 info: Stop all follow code long_info: Ends all current follow codes. parsing command byte 0x0 for map 10.1 at 0x1904b8 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 10.1 at 0x1904bb info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x71 for map 10.1 at 0x1904be info: Move person by id to xy [id][xx][yy] long_info: Sets the X/Y values of a person anew. The person doesn't get shown immediately. Use hide&show. [71][Person][X][Y] parsing command byte 0x0 for map 10.1 at 0x1904c2 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x69 for map 10.1 at 0x1904c5 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x47 for map 10.1 at 0x1904c8 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x69 for map 10.1 at 0x1904c9 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x47 for map 10.1 at 0x1904cc info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x91 for map 10.1 at 0x1904cd info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing xy trigger byte scripts... x=7 y=71 parsing command byte 0x76 for map 10.1 at 0x1904e9 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x76 for map 10.1 at 0x1904ec info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x3 for map 10.1 at 0x1904ef info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x6b for map 10.1 at 0x1904f2 info: Move facing direction of person1 to look at person2 [2][1] long_info: Turns the head of person1 to another person2. [6B][Person2][Person1] Person2 = If number is greater than 0xFD, then use number of talked-to person. Person1 = If number equals 0xFE, then take number of talked-to person. parsing command byte 0x47 for map 10.1 at 0x1904f5 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 10.1 at 0x1904f6 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x4e for map 10.1 at 0x1904f9 info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x8 for map 10.1 at 0x1904fa info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4c for map 10.1 at 0x1904fd info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 10.1 at 0x190500 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 10.1 at 0x190501 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 10.1 at 0x190502 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=13 y=5 parsing command byte 0x53 for map 10.1 at 0x190777 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x3a for map 10.1 at 0x190778 info: Set target for 0xFF warps [warp id][map group][map id] long_info: Changes warp data for all warps of the current map that have a 0xFF for warp-to data. [3A][Nee warp-to][New map bank][New map no] parsing command byte 0x53 for map 10.1 at 0x19077c info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x53 for map 10.1 at 0x19077d info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x7b for map 10.1 at 0x19077e info: Reload/redisplay map portion occupied by HIRO long_info: Reloads and re-displays the part of the map HIRO is on, without reloading any other map data or the tileset. [7B] parsing command byte 0x53 for map 10.1 at 0x19077f info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xc for map 10.1 at 0x190780 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=9 y=1 parsing command byte 0x53 for map 10.1 at 0x19077a info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x5e for map 10.1 at 0x19077b info: Start pre-configured battle long_info: Starts trainer or Pokémon battle. BattleRAM: 80 = Poké battle; 81 = Trainer battle. feedback: 00 = win 01 = lose parsing command byte 0x53 for map 10.1 at 0x19077c info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x53 for map 10.1 at 0x19077d info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x7b for map 10.1 at 0x19077e info: Reload/redisplay map portion occupied by HIRO long_info: Reloads and re-displays the part of the map HIRO is on, without reloading any other map data or the tileset. [7B] parsing command byte 0x53 for map 10.1 at 0x19077f info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xc for map 10.1 at 0x190780 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=10 y=84 parsing command byte 0x53 for map 10.1 at 0x19077d info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x7b for map 10.1 at 0x19077e info: Reload/redisplay map portion occupied by HIRO long_info: Reloads and re-displays the part of the map HIRO is on, without reloading any other map data or the tileset. [7B] parsing command byte 0x53 for map 10.1 at 0x19077f info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xc for map 10.1 at 0x190780 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=12 y=73 parsing command byte 0xc for map 10.1 at 0x190780 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=12 y=67 parsing command byte 0xa5 for map 10.1 at 0x190783 info: None long_info: None parsing signpost script.. signpost is at: x=11 y=40 parsing command byte 0xa6 for map 10.1 at 0x190786 info: None long_info: None skipping event data... (oops) parsing command byte 0x91 for map 10.1 at 0x190460 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 10.1 at 0x190461 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 10.1 at 0x190462 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x1c for map None.None at 0x190463 info: Check pre-ID-mapped RAM location [xx] long_info: Checks special game-technical values and writes then into RAM. [1C][following part][Ram check (when <> 08/09 see „numbers“ in list of following parts)] following part (and then hex values) 01 = PKMN count in party 00 - 06 02 = ??? 03 = Battle type of wild PKMN 04 = ??? 05 = PokéDex caught 00 - FA 06 = PokéDex seen 00 - FA 07 = Badge count 00 - 10 08 = Movement 00 = walk 01 = bike 02 = slipping 04 = surfer 08 = surfing pikachu 09 = HIRO direction 00 (d) 01 (u) 02 (l) 03 (r) 0A = Time in hours 00 - 18 0B = Day 00 (Mo) - 06 (Su) 0C = Map bank of current map 0D = Map no of current map 0E = Num. of diff. unowns seen 00 - 1A 0F = Action byte of map 10 = Amount of free spaces in pkmn box 00 - 14 11 = Minutes until end bug contest 00 - 14 12 = X position of HIRO 13 = Y position of HIRO 14 = phone call number parsing command byte 0x6 for map None.None at 0x190465 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x44 for map None.None at 0x190468 info: Copy text (by pointer) to memX [aabb][xx] long_info: Writes string to MEMORY1, 2 or 3 for later use in text. [44][2byte pointer to string (max. 0x0C figures + 0x50)][00-02 MEMORY] See 0C codes: 0C2900, 0C2A00, 0C1B00, 0C2200, Usage of variable strings in text. parsing command byte 0x6f for map None.None at 0x19046c info: Following code1 [leader id][follower id] long_info: A person1 follows another person2. The person1 that follows just repeats the movement of person2, even if the persons are not directly next to each other. [6F][Leader Person2][Follower Person1] parsing command byte 0x6b for map None.None at 0x19046f info: Move facing direction of person1 to look at person2 [2][1] long_info: Turns the head of person1 to another person2. [6B][Person2][Person1] Person2 = If number is greater than 0xFD, then use number of talked-to person. Person1 = If number equals 0xFE, then take number of talked-to person. parsing command byte 0x5d for map None.None at 0x190472 info: Load trainer by group/id for BattleRAM [xx][yy] long_info: Loads trainer data. Trainer group --> TrRAM1, trainer number --> TrRAM2. Writes 81 to BattleRAM. [5D][Trainer group][Trainer no] parsing command byte 0xa5 for map None.None at 0x190475 info: None long_info: None map_group is: 10 map_id is: 2 event header address is: 0x19cf9e parsing signpost script.. signpost is at: x=1 y=7 parsing command byte 0x53 for map 10.2 at 0x19ca79 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x94 for map 10.2 at 0x19ca7a info: Display elevator menu by pointer [xxyy] long_info: Displays a whole elevator menu, but it doesn't load font to ram. Only works with warps with warp-to = 0xFF. [94][2byte pointer to floor list] parsing command byte 0x1 for map 10.2 at 0x19ca7d info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x88 for map 10.2 at 0x19ca81 info: Engine remote control [bb][xxyy] long_info: This code controls the engine via "data stream". [88][3byte pointer to control structure] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA88 parsing command byte 0xa1 for map 10.2 at 0x19ca85 info: Warp-to and set facing direction [Facing (00-03)][Map bank][Map no][X][Y] long_info: Acts like code 0x3C but defines the desired facing of HIRO. [A1][Facing (00-03)][Map bank][Map no][X][Y] parsing command byte 0xa4 for map 10.2 at 0x19ca8b info: None long_info: None parsing signpost script.. signpost is at: x=11 y=31 parsing command byte 0x53 for map 10.2 at 0x19ca79 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x94 for map 10.2 at 0x19ca7a info: Display elevator menu by pointer [xxyy] long_info: Displays a whole elevator menu, but it doesn't load font to ram. Only works with warps with warp-to = 0xFF. [94][2byte pointer to floor list] parsing command byte 0x1 for map 10.2 at 0x19ca7d info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x88 for map 10.2 at 0x19ca81 info: Engine remote control [bb][xxyy] long_info: This code controls the engine via "data stream". [88][3byte pointer to control structure] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA88 parsing command byte 0xa1 for map 10.2 at 0x19ca85 info: Warp-to and set facing direction [Facing (00-03)][Map bank][Map no][X][Y] long_info: Acts like code 0x3C but defines the desired facing of HIRO. [A1][Facing (00-03)][Map bank][Map no][X][Y] parsing command byte 0xa4 for map 10.2 at 0x19ca8b info: None long_info: None skipping event data... (oops) map_group is: 10 map_id is: 3 event header address is: 0x194a66 parsing xy trigger byte scripts... x=20 y=7 parsing command byte 0x75 for map 10.3 at 0x19401b info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0xf for map 10.3 at 0x19401e info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x85 for map 10.3 at 0x194021 info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0x14 for map 10.3 at 0x194022 info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0x76 for map 10.3 at 0x194024 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x69 for map 10.3 at 0x194027 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x42 for map 10.3 at 0x19402a info: Copy map name to memX [xx] long_info: Writes current location's name to MEMORY1, 2 or 3 for later use in text. [42][00-02 MEMORY] parsing command byte 0xa for map 10.3 at 0x19402c info: RAM check [ return to old script [code][2 byte pointer] parsing command byte 0x14 for map 10.3 at 0x194032 info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0x32 for map 10.3 at 0x194034 info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x12 for map 10.3 at 0x194037 info: Activate trigger event from afar [xx][yy][zz] long_info: Changes trigger event number on map (map bank/map no) to xx. xx = trigger event number that should be activated [12][MapBank][MapNo][xx] parsing command byte 0x91 for map 10.3 at 0x19403b info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing xy trigger byte scripts... x=22 y=7 parsing command byte 0x75 for map 10.3 at 0x19401b info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0xf for map 10.3 at 0x19401e info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x85 for map 10.3 at 0x194021 info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0x14 for map 10.3 at 0x194022 info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0x76 for map 10.3 at 0x194024 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x69 for map 10.3 at 0x194027 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x42 for map 10.3 at 0x19402a info: Copy map name to memX [xx] long_info: Writes current location's name to MEMORY1, 2 or 3 for later use in text. [42][00-02 MEMORY] parsing command byte 0xa for map 10.3 at 0x19402c info: RAM check [ return to old script [code][2 byte pointer] parsing command byte 0x14 for map 10.3 at 0x194032 info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0x32 for map 10.3 at 0x194034 info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x12 for map 10.3 at 0x194037 info: Activate trigger event from afar [xx][yy][zz] long_info: Changes trigger event number on map (map bank/map no) to xx. xx = trigger event number that should be activated [12][MapBank][MapNo][xx] parsing command byte 0x91 for map 10.3 at 0x19403b info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=29 y=1 parsing command byte 0x53 for map 10.3 at 0x194244 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xee for map 10.3 at 0x194245 info: None long_info: None parsing signpost script.. signpost is at: x=45 y=11 parsing command byte 0x53 for map 10.3 at 0x19423e info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x2e for map 10.3 at 0x19423f info: Give egg [xx][yy] long_info: Gives egg if there's space. feedback: 00 = OK 02 = transaction not complete [2E][PKMN][PKMNlvl] parsing command byte 0x4c for map 10.3 at 0x194242 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0xee for map 10.3 at 0x194245 info: None long_info: None parsing signpost script.. signpost is at: x=55 y=7 parsing command byte 0x53 for map 10.3 at 0x19423b info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x24 for map 10.3 at 0x19423c info: Check if HIRO/account has enough money [xxyyzzaa] long_info: Checks if HIRO/account has got zzyyxx money. feedback: 00 = enough money 01 = exact amount 02 = less money zzyyxx = amount of money (000000 - 0F423F) [24][00-HIRO/01-account][xxyyzz] parsing command byte 0x53 for map 10.3 at 0x194241 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x4c for map 10.3 at 0x194242 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0xee for map 10.3 at 0x194245 info: None long_info: None parsing signpost script.. signpost is at: x=21 y=7 parsing command byte 0x53 for map 10.3 at 0x194241 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x4c for map 10.3 at 0x194242 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0xee for map 10.3 at 0x194245 info: None long_info: None skipping event data... (oops) parsing command byte 0x91 for map 10.3 at 0x19400d info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 10.3 at 0x19400e info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x1c for map None.None at 0x19400f info: Check pre-ID-mapped RAM location [xx] long_info: Checks special game-technical values and writes then into RAM. [1C][following part][Ram check (when <> 08/09 see „numbers“ in list of following parts)] following part (and then hex values) 01 = PKMN count in party 00 - 06 02 = ??? 03 = Battle type of wild PKMN 04 = ??? 05 = PokéDex caught 00 - FA 06 = PokéDex seen 00 - FA 07 = Badge count 00 - 10 08 = Movement 00 = walk 01 = bike 02 = slipping 04 = surfer 08 = surfing pikachu 09 = HIRO direction 00 (d) 01 (u) 02 (l) 03 (r) 0A = Time in hours 00 - 18 0B = Day 00 (Mo) - 06 (Su) 0C = Map bank of current map 0D = Map no of current map 0E = Num. of diff. unowns seen 00 - 1A 0F = Action byte of map 10 = Amount of free spaces in pkmn box 00 - 14 11 = Minutes until end bug contest 00 - 14 12 = X position of HIRO 13 = Y position of HIRO 14 = phone call number parsing command byte 0x6 for map None.None at 0x194011 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x40 for map None.None at 0x194014 info: Copy pokemon name (by id) to memX [id][xx] long_info: Writes pokémon name to MEMORY1, 2 or 3 for later use in text. [40][PKMN no][00-02 MEMORY] parsing command byte 0x90 for map None.None at 0x194017 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 10 map_id is: 4 event header address is: 0x1a91a1 parsing signpost script.. signpost is at: x=5 y=3 parsing command byte 0x53 for map 10.4 at 0x1a8e06 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x97 for map 10.4 at 0x1a8e07 info: Call code pointing to name of caller [xxyy] long_info: Displays the upper cell phone box and displays a freely selectable name. [97][2byte pointer to name of caller] parsing command byte 0x11 for map 10.4 at 0x1a8e0a info: Trigger event check1 [xx][yy] long_info: Check the current number of the trigger event on map (map group/map id). [11][map group][map number] parsing command byte 0x9b for map 10.4 at 0x1a8e0d info: Cell phone call [call id][00] long_info: Initiates with the next step on a outer world map (permission byte) a phone call. [9B][Call no][00] call no: 01 = PokéRus 02 = Pokémon stolen 03 = Egg examined/ Assistant in Viola City 04 = Team Rocket on the radio 05 = PROF. ELM has got something for HIRO 06 = Bike shop gives bike away 07 = Mother is unhappy that HIRO didn't talk to her before leaving 08 = PROF. ELM has got something for HIRO a second time parsing command byte 0x0 for map 10.4 at 0x1a8e10 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x80 for map 10.4 at 0x1a8e13 info: Music fade-out then play next [xxyy][time] long_info: The current music is faded out and the new music is played afterwards. [80][Music no (2byte)][Time to fade out (00-7F)] parsing command byte 0x7f for map 10.4 at 0x1a8e17 info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0x80 for map 10.4 at 0x1a8e18 info: Music fade-out then play next [xxyy][time] long_info: The current music is faded out and the new music is played afterwards. [80][Music no (2byte)][Time to fade out (00-7F)] parsing command byte 0x7f for map 10.4 at 0x1a8e1c info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0xa0 for map 10.4 at 0x1a8e1d info: Credits long_info: Shows the credits and HIRO is located on the Silver mountain plateau. [A0] parsing command byte 0xad for map 10.4 at 0x1a8e1e info: None long_info: None parsing signpost script.. signpost is at: x=4 y=2 parsing command byte 0xa9 for map 10.4 at 0x1a8e0f info: None long_info: None skipping event data... (oops) parsing command byte 0x1c for map None.None at 0x1a8d77 info: Check pre-ID-mapped RAM location [xx] long_info: Checks special game-technical values and writes then into RAM. [1C][following part][Ram check (when <> 08/09 see „numbers“ in list of following parts)] following part (and then hex values) 01 = PKMN count in party 00 - 06 02 = ??? 03 = Battle type of wild PKMN 04 = ??? 05 = PokéDex caught 00 - FA 06 = PokéDex seen 00 - FA 07 = Badge count 00 - 10 08 = Movement 00 = walk 01 = bike 02 = slipping 04 = surfer 08 = surfing pikachu 09 = HIRO direction 00 (d) 01 (u) 02 (l) 03 (r) 0A = Time in hours 00 - 18 0B = Day 00 (Mo) - 06 (Su) 0C = Map bank of current map 0D = Map no of current map 0E = Num. of diff. unowns seen 00 - 1A 0F = Action byte of map 10 = Amount of free spaces in pkmn box 00 - 14 11 = Minutes until end bug contest 00 - 14 12 = X position of HIRO 13 = Y position of HIRO 14 = phone call number parsing command byte 0x6 for map None.None at 0x1a8d79 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4d for map None.None at 0x1a8d7c info: Repeat text [FF][FF] long_info: Opens a text box and writes the text written latest resp. whose address was put statically to D175-D177. Doesn't load font. [4D][FF][FF] Without FF for both bytes, no operation occurs parsing command byte 0x90 for map None.None at 0x1a8d7f info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 10 map_id is: 5 event header address is: 0x1a8762 parsing signpost script.. signpost is at: x=24 y=20 parsing command byte 0x53 for map 10.5 at 0x1a840f info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xb2 for map 10.5 at 0x1a8410 info: None long_info: None parsing signpost script.. signpost is at: x=15 y=17 parsing command byte 0x53 for map 10.5 at 0x1a8412 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xdc for map 10.5 at 0x1a8413 info: None long_info: None parsing signpost script.. signpost is at: x=24 y=8 parsing command byte 0x53 for map 10.5 at 0x1a8415 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x24 for map 10.5 at 0x1a8416 info: Check if HIRO/account has enough money [xxyyzzaa] long_info: Checks if HIRO/account has got zzyyxx money. feedback: 00 = enough money 01 = exact amount 02 = less money zzyyxx = amount of money (000000 - 0F423F) [24][00-HIRO/01-account][xxyyzz] parsing command byte 0xc for map 10.5 at 0x1a841b info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=27 y=17 parsing command byte 0x53 for map 10.5 at 0x1a8418 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x4d for map 10.5 at 0x1a8419 info: Repeat text [FF][FF] long_info: Opens a text box and writes the text written latest resp. whose address was put statically to D175-D177. Doesn't load font. [4D][FF][FF] Without FF for both bytes, no operation occurs parsing command byte 0x10 for map 10.5 at 0x1a841c info: ASM code2 [2b to 3b to asm] long_info: Call an ASM script via a 2byte pointer pointing to a 3byte pointer. [10][2byte pointer pointing to 3byte pointer pointing to ASM script] parsing command byte 0x11 for map 10.5 at 0x1a841f info: Trigger event check1 [xx][yy] long_info: Check the current number of the trigger event on map (map group/map id). [11][map group][map number] parsing command byte 0x1 for map 10.5 at 0x1a8422 info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x9 for map 10.5 at 0x1a8426 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x10 for map 10.5 at 0x1a8429 info: ASM code2 [2b to 3b to asm] long_info: Call an ASM script via a 2byte pointer pointing to a 3byte pointer. [10][2byte pointer pointing to 3byte pointer pointing to ASM script] parsing command byte 0x0 for map 10.5 at 0x1a842c info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x3 for map 10.5 at 0x1a842f info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x1 for map 10.5 at 0x1a8432 info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x13 for map 10.5 at 0x1a8436 info: Trigger event check long_info: Checks the number of the trigger events on the current map. [13] parsing command byte 0x13 for map 10.5 at 0x1a8437 info: Trigger event check long_info: Checks the number of the trigger events on the current map. [13] parsing command byte 0x13 for map 10.5 at 0x1a8438 info: Trigger event check long_info: Checks the number of the trigger events on the current map. [13] parsing command byte 0x13 for map 10.5 at 0x1a8439 info: Trigger event check long_info: Checks the number of the trigger events on the current map. [13] parsing command byte 0x13 for map 10.5 at 0x1a843a info: Trigger event check long_info: Checks the number of the trigger events on the current map. [13] parsing command byte 0x13 for map 10.5 at 0x1a843b info: Trigger event check long_info: Checks the number of the trigger events on the current map. [13] parsing command byte 0x13 for map 10.5 at 0x1a843c info: Trigger event check long_info: Checks the number of the trigger events on the current map. [13] parsing command byte 0x3 for map 10.5 at 0x1a843d info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x1 for map 10.5 at 0x1a8440 info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x1 for map 10.5 at 0x1a8444 info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x0 for map 10.5 at 0x1a8448 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x3 for map 10.5 at 0x1a844b info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x1 for map 10.5 at 0x1a844e info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x13 for map 10.5 at 0x1a8452 info: Trigger event check long_info: Checks the number of the trigger events on the current map. [13] parsing command byte 0x13 for map 10.5 at 0x1a8453 info: Trigger event check long_info: Checks the number of the trigger events on the current map. [13] parsing command byte 0x13 for map 10.5 at 0x1a8454 info: Trigger event check long_info: Checks the number of the trigger events on the current map. [13] parsing command byte 0x13 for map 10.5 at 0x1a8455 info: Trigger event check long_info: Checks the number of the trigger events on the current map. [13] parsing command byte 0x13 for map 10.5 at 0x1a8456 info: Trigger event check long_info: Checks the number of the trigger events on the current map. [13] parsing command byte 0x13 for map 10.5 at 0x1a8457 info: Trigger event check long_info: Checks the number of the trigger events on the current map. [13] parsing command byte 0x3 for map 10.5 at 0x1a8458 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x1 for map 10.5 at 0x1a845b info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x1 for map 10.5 at 0x1a845f info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0xd for map 10.5 at 0x1a8463 info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0x2 for map 10.5 at 0x1a8466 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x0 for map 10.5 at 0x1a8469 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x3 for map 10.5 at 0x1a846c info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x1 for map 10.5 at 0x1a846f info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x0 for map 10.5 at 0x1a8473 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xab for map 10.5 at 0x1a8476 info: None long_info: None parsing signpost script.. signpost is at: x=32 y=25 parsing command byte 0xc for map 10.5 at 0x1a841b info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=10 y=17 parsing command byte 0xc for map 10.5 at 0x1a841e info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=37 y=14 parsing command byte 0xb0 for map 10.5 at 0x1a8427 info: None long_info: None skipping event data... (oops) parsing command byte 0x36 for map None.None at 0x1a83b7 info: Set (to 1) a bit on bit table 2 [xxyy] long_info: Sets a bit of BitTable2 to value 1. [36][Bit no (2byte)] parsing command byte 0x90 for map None.None at 0x1a83ba info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 10 map_id is: 6 event header address is: 0x68389 skipping event data... (oops) map_group is: 10 map_id is: 7 event header address is: 0x68a0c parsing signpost script.. signpost is at: x=3 y=13 parsing command byte 0x34 for map 10.7 at 0x68463 info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map 10.7 at 0x68466 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0xc for map 10.7 at 0x68469 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=6 y=13 parsing command byte 0x34 for map 10.7 at 0x68463 info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map 10.7 at 0x68466 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0xc for map 10.7 at 0x68469 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 10 map_id is: 8 event header address is: 0x69375 parsing signpost script.. signpost is at: x=0 y=1 parsing command byte 0xc for map 10.8 at 0x68b2a info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=1 y=1 parsing command byte 0xc for map 10.8 at 0x68b2a info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=3 y=0 parsing command byte 0x47 for map 10.8 at 0x68a9f info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 10.8 at 0x68aa0 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x4f for map 10.8 at 0x68aa3 info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x58 for map 10.8 at 0x68aa6 info: Menu interpreter 2 (see menu loader) long_info: Interprets menu data loaded by 4F. see also http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke57 see also http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA58 parsing command byte 0x50 for map 10.8 at 0x68aa7 info: Write screen backup long_info: Writes backup of parts of the screen the box was overlapping. parsing command byte 0x6 for map 10.8 at 0x68aa8 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4a for map 10.8 at 0x68aab info: Load specific byte to $C1CE [xx] long_info: Loads a byte to C1CE. Seems to have no function in the game. [4A][Byte] parsing command byte 0x2 for map 10.8 at 0x68aad info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x6 for map 10.8 at 0x68ab0 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4a for map 10.8 at 0x68ab3 info: Load specific byte to $C1CE [xx] long_info: Loads a byte to C1CE. Seems to have no function in the game. [4A][Byte] parsing command byte 0x4 for map 10.8 at 0x68ab5 info: pointer code long_info: 3byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x5 for map 10.8 at 0x68ab9 info: pointer code long_info: 2byte pointer points to 3byte pointer; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x49 for map 10.8 at 0x68abc info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 10.8 at 0x68abd info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=4 y=0 parsing command byte 0x47 for map 10.8 at 0x68a9f info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 10.8 at 0x68aa0 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x4f for map 10.8 at 0x68aa3 info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x58 for map 10.8 at 0x68aa6 info: Menu interpreter 2 (see menu loader) long_info: Interprets menu data loaded by 4F. see also http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke57 see also http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA58 parsing command byte 0x50 for map 10.8 at 0x68aa7 info: Write screen backup long_info: Writes backup of parts of the screen the box was overlapping. parsing command byte 0x6 for map 10.8 at 0x68aa8 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4a for map 10.8 at 0x68aab info: Load specific byte to $C1CE [xx] long_info: Loads a byte to C1CE. Seems to have no function in the game. [4A][Byte] parsing command byte 0x2 for map 10.8 at 0x68aad info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x6 for map 10.8 at 0x68ab0 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4a for map 10.8 at 0x68ab3 info: Load specific byte to $C1CE [xx] long_info: Loads a byte to C1CE. Seems to have no function in the game. [4A][Byte] parsing command byte 0x4 for map 10.8 at 0x68ab5 info: pointer code long_info: 3byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x5 for map 10.8 at 0x68ab9 info: pointer code long_info: 2byte pointer points to 3byte pointer; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x49 for map 10.8 at 0x68abc info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 10.8 at 0x68abd info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 skipping event data... (oops) map_group is: 10 map_id is: 9 event header address is: 0x69490 skipping event data... (oops) map_group is: 10 map_id is: 10 event header address is: 0x69935 skipping event data... (oops) map_group is: 10 map_id is: 11 event header address is: 0x69a01 skipping event data... (oops) map_group is: 10 map_id is: 12 event header address is: 0x69b0f skipping event data... (oops) map_group is: 10 map_id is: 13 event header address is: 0x69cf9 skipping event data... (oops) map_group is: 10 map_id is: 14 event header address is: 0x6a148 skipping event data... (oops) map_group is: 10 map_id is: 15 event header address is: 0x6a9d2 parsing signpost script.. signpost is at: x=5 y=0 parsing command byte 0x53 for map 10.15 at 0x6a2db info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xe for map 10.15 at 0x6a2dc info: ASM code1 [3b] long_info: Calls a predefined routine by interpreting the ASM the pointer points to. [0E][3byte pointer] parsing command byte 0x0 for map 10.15 at 0x6a2e0 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x2 for map 10.15 at 0x6a2e3 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0xd for map 10.15 at 0x6a2e6 info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0xd for map 10.15 at 0x6a2e9 info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0x93 for map 10.15 at 0x6a2ec info: Mart menu [dialog no][mart no 2b] long_info: Displays a whole mart menu, however, doesn't load font to ram. [93][Dialog no][Mart no (2byte)] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#AwBsp93 see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzB93 parsing command byte 0xb8 for map 10.15 at 0x6a2f0 info: None long_info: None skipping event data... (oops) parsing command byte 0x91 for map 10.15 at 0x6a19d info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 10.15 at 0x6a19e info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x8d for map 10.15 at 0x6a19f info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0xd1 for map 10.15 at 0x6a1a0 info: None long_info: None parsing command byte 0x34 for map None.None at 0x6a1a3 info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map None.None at 0x6a1a6 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x14 for map None.None at 0x6a1a9 info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0x90 for map None.None at 0x6a1ab info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] parsing command byte 0x1c for map None.None at 0x6a1af info: Check pre-ID-mapped RAM location [xx] long_info: Checks special game-technical values and writes then into RAM. [1C][following part][Ram check (when <> 08/09 see „numbers“ in list of following parts)] following part (and then hex values) 01 = PKMN count in party 00 - 06 02 = ??? 03 = Battle type of wild PKMN 04 = ??? 05 = PokéDex caught 00 - FA 06 = PokéDex seen 00 - FA 07 = Badge count 00 - 10 08 = Movement 00 = walk 01 = bike 02 = slipping 04 = surfer 08 = surfing pikachu 09 = HIRO direction 00 (d) 01 (u) 02 (l) 03 (r) 0A = Time in hours 00 - 18 0B = Day 00 (Mo) - 06 (Su) 0C = Map bank of current map 0D = Map no of current map 0E = Num. of diff. unowns seen 00 - 1A 0F = Action byte of map 10 = Amount of free spaces in pkmn box 00 - 14 11 = Minutes until end bug contest 00 - 14 12 = X position of HIRO 13 = Y position of HIRO 14 = phone call number parsing command byte 0x6 for map None.None at 0x6a1b1 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x61 for map None.None at 0x6a1b4 info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0x4 for map None.None at 0x6a1b6 info: pointer code long_info: 3byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x6 for map None.None at 0x6a1ba info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x34 for map None.None at 0x6a1bd info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map None.None at 0x6a1c0 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x6e for map None.None at 0x6a1c3 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x6f for map None.None at 0x6a1c5 info: Following code1 [leader id][follower id] long_info: A person1 follows another person2. The person1 that follows just repeats the movement of person2, even if the persons are not directly next to each other. [6F][Leader Person2][Follower Person1] parsing command byte 0x4 for map None.None at 0x6a1c8 info: pointer code long_info: 3byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x6e for map None.None at 0x6a1cc info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x6e for map None.None at 0x6a1ce info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x90 for map None.None at 0x6a1d0 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 10 map_id is: 16 event header address is: 0x6aac9 skipping event data... (oops) map_group is: 10 map_id is: 17 event header address is: 0x6b9ac parsing signpost script.. signpost is at: x=6 y=0 parsing command byte 0x53 for map 10.17 at 0x6a2db info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xe for map 10.17 at 0x6a2dc info: ASM code1 [3b] long_info: Calls a predefined routine by interpreting the ASM the pointer points to. [0E][3byte pointer] parsing command byte 0x0 for map 10.17 at 0x6a2e0 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x2 for map 10.17 at 0x6a2e3 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0xd for map 10.17 at 0x6a2e6 info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0xd for map 10.17 at 0x6a2e9 info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0x93 for map 10.17 at 0x6a2ec info: Mart menu [dialog no][mart no 2b] long_info: Displays a whole mart menu, however, doesn't load font to ram. [93][Dialog no][Mart no (2byte)] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#AwBsp93 see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzB93 parsing command byte 0xb8 for map 10.17 at 0x6a2f0 info: None long_info: None skipping event data... (oops) parsing command byte 0x91 for map 10.17 at 0x6ab11 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 10.17 at 0x6ab12 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x8d for map 10.17 at 0x6ab13 info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0x47 for map 10.17 at 0x6ab14 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x6b for map 10.17 at 0x6ab15 info: Move facing direction of person1 to look at person2 [2][1] long_info: Turns the head of person1 to another person2. [6B][Person2][Person1] Person2 = If number is greater than 0xFD, then use number of talked-to person. Person1 = If number equals 0xFE, then take number of talked-to person. parsing command byte 0x11 for map 10.17 at 0x6ab18 info: Trigger event check1 [xx][yy] long_info: Check the current number of the trigger event on map (map group/map id). [11][map group][map number] parsing command byte 0x20 for map 10.17 at 0x6ab1b info: Take item by id and quantity [xx][yy] long_info: Gives item (item no) amount times feedback: 00 = not enough items [20][item no][amount] parsing command byte 0x0 for map 10.17 at 0x6ab1e info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x2 for map 10.17 at 0x6ab21 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0xd2 for map 10.17 at 0x6ab24 info: None long_info: None parsing command byte 0x34 for map None.None at 0x6ab17 info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map None.None at 0x6ab1a info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x14 for map None.None at 0x6ab1d info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0x90 for map None.None at 0x6ab1f info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] parsing command byte 0x31 for map None.None at 0x6ab23 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map None.None at 0x6ab26 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x1c for map None.None at 0x6ab29 info: Check pre-ID-mapped RAM location [xx] long_info: Checks special game-technical values and writes then into RAM. [1C][following part][Ram check (when <> 08/09 see „numbers“ in list of following parts)] following part (and then hex values) 01 = PKMN count in party 00 - 06 02 = ??? 03 = Battle type of wild PKMN 04 = ??? 05 = PokéDex caught 00 - FA 06 = PokéDex seen 00 - FA 07 = Badge count 00 - 10 08 = Movement 00 = walk 01 = bike 02 = slipping 04 = surfer 08 = surfing pikachu 09 = HIRO direction 00 (d) 01 (u) 02 (l) 03 (r) 0A = Time in hours 00 - 18 0B = Day 00 (Mo) - 06 (Su) 0C = Map bank of current map 0D = Map no of current map 0E = Num. of diff. unowns seen 00 - 1A 0F = Action byte of map 10 = Amount of free spaces in pkmn box 00 - 14 11 = Minutes until end bug contest 00 - 14 12 = X position of HIRO 13 = Y position of HIRO 14 = phone call number parsing command byte 0x6 for map None.None at 0x6ab2b info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x6b for map None.None at 0x6ab2e info: Move facing direction of person1 to look at person2 [2][1] long_info: Turns the head of person1 to another person2. [6B][Person2][Person1] Person2 = If number is greater than 0xFD, then use number of talked-to person. Person1 = If number equals 0xFE, then take number of talked-to person. parsing command byte 0x42 for map None.None at 0x6ab31 info: Copy map name to memX [xx] long_info: Writes current location's name to MEMORY1, 2 or 3 for later use in text. [42][00-02 MEMORY] parsing command byte 0x6 for map None.None at 0x6ab33 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x6b for map None.None at 0x6ab36 info: Move facing direction of person1 to look at person2 [2][1] long_info: Turns the head of person1 to another person2. [6B][Person2][Person1] Person2 = If number is greater than 0xFD, then use number of talked-to person. Person1 = If number equals 0xFE, then take number of talked-to person. parsing command byte 0x0 for map None.None at 0x6ab39 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x6b for map None.None at 0x6ab3c info: Move facing direction of person1 to look at person2 [2][1] long_info: Turns the head of person1 to another person2. [6B][Person2][Person1] Person2 = If number is greater than 0xFD, then use number of talked-to person. Person1 = If number equals 0xFE, then take number of talked-to person. parsing command byte 0x6f for map None.None at 0x6ab3f info: Following code1 [leader id][follower id] long_info: A person1 follows another person2. The person1 that follows just repeats the movement of person2, even if the persons are not directly next to each other. [6F][Leader Person2][Follower Person1] parsing command byte 0x6f for map None.None at 0x6ab42 info: Following code1 [leader id][follower id] long_info: A person1 follows another person2. The person1 that follows just repeats the movement of person2, even if the persons are not directly next to each other. [6F][Leader Person2][Follower Person1] parsing command byte 0xd for map None.None at 0x6ab45 info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0x0 for map None.None at 0x6ab48 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x1c for map None.None at 0x6ab4b info: Check pre-ID-mapped RAM location [xx] long_info: Checks special game-technical values and writes then into RAM. [1C][following part][Ram check (when <> 08/09 see „numbers“ in list of following parts)] following part (and then hex values) 01 = PKMN count in party 00 - 06 02 = ??? 03 = Battle type of wild PKMN 04 = ??? 05 = PokéDex caught 00 - FA 06 = PokéDex seen 00 - FA 07 = Badge count 00 - 10 08 = Movement 00 = walk 01 = bike 02 = slipping 04 = surfer 08 = surfing pikachu 09 = HIRO direction 00 (d) 01 (u) 02 (l) 03 (r) 0A = Time in hours 00 - 18 0B = Day 00 (Mo) - 06 (Su) 0C = Map bank of current map 0D = Map no of current map 0E = Num. of diff. unowns seen 00 - 1A 0F = Action byte of map 10 = Amount of free spaces in pkmn box 00 - 14 11 = Minutes until end bug contest 00 - 14 12 = X position of HIRO 13 = Y position of HIRO 14 = phone call number parsing command byte 0x16 for map None.None at 0x6ab4d info: Add variables [xx] long_info: Adds xx and the variable in RAM. [16][xx] parsing command byte 0x3f for map None.None at 0x6ab4f info: Copy script RAM value into memX [xx] long_info: Reads RAM value and writes it to MEMORY1, 2 or 3 for later use in text. [3F][00-02 MEMORY] parsing command byte 0x4c for map None.None at 0x6ab51 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x4e for map None.None at 0x6ab54 info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x8 for map None.None at 0x6ab55 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4c for map None.None at 0x6ab58 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map None.None at 0x6ab5b info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map None.None at 0x6ab5c info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0xf for map None.None at 0x6ab5d info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0xf for map None.None at 0x6ab60 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x0 for map None.None at 0x6ab63 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x6e for map None.None at 0x6ab66 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x6f for map None.None at 0x6ab68 info: Following code1 [leader id][follower id] long_info: A person1 follows another person2. The person1 that follows just repeats the movement of person2, even if the persons are not directly next to each other. [6F][Leader Person2][Follower Person1] parsing command byte 0x0 for map None.None at 0x6ab6b info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x8b for map None.None at 0x6ab6e info: Deactive static facing after time [xx] long_info: Deactivates static facings on all persons on the screen after a time xx. [8B][xx] parsing command byte 0xf for map None.None at 0x6ab70 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0xc for map None.None at 0x6ab73 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] map_group is: 11 map_id is: 1 event header address is: 0x78a7c parsing signpost script.. signpost is at: x=12 y=6 parsing command byte 0x53 for map 11.1 at 0x78322 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xa8 for map 11.1 at 0x78323 info: None long_info: None parsing signpost script.. signpost is at: x=13 y=33 parsing command byte 0x53 for map 11.1 at 0x78325 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xed for map 11.1 at 0x78326 info: None long_info: None parsing signpost script.. signpost is at: x=10 y=13 parsing command byte 0x53 for map 11.1 at 0x78328 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x52 for map 11.1 at 0x78329 info: Display text (by pointer) and end [xxyy] long_info: Displays a text. Afterwards there is no other script interpreted. Corresponds to 47 + 4C + 53 + 49 + 90 [52][2byte textpointer] parsing signpost script.. signpost is at: x=8 y=32 parsing command byte 0xa7 for map 11.1 at 0x7832d info: None long_info: None parsing signpost script.. signpost is at: x=17 y=19 parsing command byte 0xa8 for map 11.1 at 0x78330 info: None long_info: None skipping event data... (oops) parsing command byte 0x34 for map None.None at 0x78005 info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map None.None at 0x78008 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x32 for map None.None at 0x7800b info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x33 for map None.None at 0x7800e info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x3 for map None.None at 0x78011 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x33 for map None.None at 0x78014 info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x32 for map None.None at 0x78017 info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x3 for map None.None at 0x7801a info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x34 for map None.None at 0x7801d info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x8 for map None.None at 0x78020 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x32 for map None.None at 0x78023 info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x3 for map None.None at 0x78026 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x33 for map None.None at 0x78029 info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x3 for map None.None at 0x7802c info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x34 for map None.None at 0x7802f info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x8 for map None.None at 0x78032 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x32 for map None.None at 0x78035 info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x90 for map None.None at 0x78038 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 11 map_id is: 2 event header address is: 0x1991d1 parsing signpost script.. signpost is at: x=10 y=14 parsing command byte 0x53 for map 11.2 at 0x198a3b info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x77 for map 11.2 at 0x198a3c info: Earthquake [xx] long_info: The screen shakes. xx gives time as well as displacement of the screen. [77][xx] parsing command byte 0x53 for map 11.2 at 0x198a3e info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x8f for map 11.2 at 0x198a3f info: Return code 1 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions are not affected and run like before the code. This code is mostly used for scripts called by the 2nd part of the script header, because else malfunctions occur. [8F] parsing signpost script.. signpost is at: x=4 y=17 parsing command byte 0x53 for map 11.2 at 0x198a3e info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x8f for map 11.2 at 0x198a3f info: Return code 1 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions are not affected and run like before the code. This code is mostly used for scripts called by the 2nd part of the script header, because else malfunctions occur. [8F] parsing signpost script.. signpost is at: x=26 y=27 parsing command byte 0x53 for map 11.2 at 0x198a41 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xab for map 11.2 at 0x198a42 info: None long_info: None parsing signpost script.. signpost is at: x=26 y=9 parsing command byte 0x53 for map 11.2 at 0x198a44 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xe4 for map 11.2 at 0x198a45 info: None long_info: None parsing signpost script.. signpost is at: x=22 y=18 parsing command byte 0x53 for map 11.2 at 0x198a47 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x29 for map 11.2 at 0x198a48 info: Delete cell phone number [xx] long_info: Deletes a number from the list. feedback: 00 = number deleted successfully 01 = number wasn't in list xx = number of person [29][xx] parsing command byte 0x53 for map 11.2 at 0x198a4a info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x5b for map 11.2 at 0x198a4b info: Load trainer from RAM long_info: Loads trainer data when HIRO is in a trainer's range of sight. Trainer group is read from CF2E and written to TrRAM1, the trainer number is read from CF2F and written to TrRAM2. 81 is written to BattleRAM. parsing command byte 0x4f for map 11.2 at 0x198a4c info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x4f for map 11.2 at 0x198a4f info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x4f for map 11.2 at 0x198a52 info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x4f for map 11.2 at 0x198a55 info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x4f for map 11.2 at 0x198a58 info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x0 for map 11.2 at 0x198a5b info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x50 for map 11.2 at 0x198a5e info: Write screen backup long_info: Writes backup of parts of the screen the box was overlapping. parsing command byte 0xf for map 11.2 at 0x198a5f info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x47 for map 11.2 at 0x198a62 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0xc for map 11.2 at 0x198a63 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=28 y=30 parsing command byte 0x53 for map 11.2 at 0x198a4a info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x5b for map 11.2 at 0x198a4b info: Load trainer from RAM long_info: Loads trainer data when HIRO is in a trainer's range of sight. Trainer group is read from CF2E and written to TrRAM1, the trainer number is read from CF2F and written to TrRAM2. 81 is written to BattleRAM. parsing command byte 0x4f for map 11.2 at 0x198a4c info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x4f for map 11.2 at 0x198a4f info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x4f for map 11.2 at 0x198a52 info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x4f for map 11.2 at 0x198a55 info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x4f for map 11.2 at 0x198a58 info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x0 for map 11.2 at 0x198a5b info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x50 for map 11.2 at 0x198a5e info: Write screen backup long_info: Writes backup of parts of the screen the box was overlapping. parsing command byte 0xf for map 11.2 at 0x198a5f info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x47 for map 11.2 at 0x198a62 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0xc for map 11.2 at 0x198a63 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=16 y=22 parsing command byte 0x53 for map 11.2 at 0x198a4d info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x81 for map 11.2 at 0x198a4e info: Play map's music long_info: Starts playing the original map music. Includes special check for surfer and bug contest song. [81] parsing command byte 0x4f for map 11.2 at 0x198a4f info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x4f for map 11.2 at 0x198a52 info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x4f for map 11.2 at 0x198a55 info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x4f for map 11.2 at 0x198a58 info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x0 for map 11.2 at 0x198a5b info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x50 for map 11.2 at 0x198a5e info: Write screen backup long_info: Writes backup of parts of the screen the box was overlapping. parsing command byte 0xf for map 11.2 at 0x198a5f info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x47 for map 11.2 at 0x198a62 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0xc for map 11.2 at 0x198a63 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=12 y=7 parsing command byte 0x53 for map 11.2 at 0x198a50 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xae for map 11.2 at 0x198a51 info: None long_info: None parsing signpost script.. signpost is at: x=8 y=6 parsing command byte 0x53 for map 11.2 at 0x198a53 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xd8 for map 11.2 at 0x198a54 info: None long_info: None parsing signpost script.. signpost is at: x=12 y=30 parsing command byte 0x53 for map 11.2 at 0x198a56 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xee for map 11.2 at 0x198a57 info: None long_info: None parsing signpost script.. signpost is at: x=16 y=27 parsing command byte 0xc for map 11.2 at 0x198a59 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=30 y=6 parsing command byte 0x53 for map 11.2 at 0x198a5c info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x22 for map 11.2 at 0x198a5d info: Give money to HIRO/account [xxyyzzaa] long_info: Gives zzyyxx money to HIRO/account. zzyyxx = amount of money (000000 - 0F423F) [22][00-HIRO/01-account][xxyyzz] parsing command byte 0x47 for map 11.2 at 0x198a62 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0xc for map 11.2 at 0x198a63 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) parsing command byte 0x36 for map None.None at 0x1988d8 info: Set (to 1) a bit on bit table 2 [xxyy] long_info: Sets a bit of BitTable2 to value 1. [36][Bit no (2byte)] parsing command byte 0x36 for map None.None at 0x1988db info: Set (to 1) a bit on bit table 2 [xxyy] long_info: Sets a bit of BitTable2 to value 1. [36][Bit no (2byte)] parsing command byte 0x31 for map None.None at 0x1988de info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map None.None at 0x1988e1 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x32 for map None.None at 0x1988e4 info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x90 for map None.None at 0x1988e7 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] parsing command byte 0x31 for map None.None at 0x1988e8 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x8 for map None.None at 0x1988eb info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x21 for map None.None at 0x1988ee info: Check if player has item [xx] long_info: Checks if item is possessed. feedback: 00 = does not have item 01 = has item [21][item no] parsing command byte 0x8 for map None.None at 0x1988f0 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x1c for map None.None at 0x1988f3 info: Check pre-ID-mapped RAM location [xx] long_info: Checks special game-technical values and writes then into RAM. [1C][following part][Ram check (when <> 08/09 see „numbers“ in list of following parts)] following part (and then hex values) 01 = PKMN count in party 00 - 06 02 = ??? 03 = Battle type of wild PKMN 04 = ??? 05 = PokéDex caught 00 - FA 06 = PokéDex seen 00 - FA 07 = Badge count 00 - 10 08 = Movement 00 = walk 01 = bike 02 = slipping 04 = surfer 08 = surfing pikachu 09 = HIRO direction 00 (d) 01 (u) 02 (l) 03 (r) 0A = Time in hours 00 - 18 0B = Day 00 (Mo) - 06 (Su) 0C = Map bank of current map 0D = Map no of current map 0E = Num. of diff. unowns seen 00 - 1A 0F = Action byte of map 10 = Amount of free spaces in pkmn box 00 - 14 11 = Minutes until end bug contest 00 - 14 12 = X position of HIRO 13 = Y position of HIRO 14 = phone call number parsing command byte 0x6 for map None.None at 0x1988f5 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x49 for map None.None at 0x1988f8 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x6 for map None.None at 0x1988f9 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x49 for map None.None at 0x1988fc info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x6e for map None.None at 0x1988fd info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x90 for map None.None at 0x1988ff info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 11 map_id is: 3 event header address is: 0x546dd parsing xy trigger byte scripts... x=8 y=5 parsing command byte 0x75 for map 11.3 at 0x540a0 info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0xf for map 11.3 at 0x540a3 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x1c for map 11.3 at 0x540a6 info: Check pre-ID-mapped RAM location [xx] long_info: Checks special game-technical values and writes then into RAM. [1C][following part][Ram check (when <> 08/09 see „numbers“ in list of following parts)] following part (and then hex values) 01 = PKMN count in party 00 - 06 02 = ??? 03 = Battle type of wild PKMN 04 = ??? 05 = PokéDex caught 00 - FA 06 = PokéDex seen 00 - FA 07 = Badge count 00 - 10 08 = Movement 00 = walk 01 = bike 02 = slipping 04 = surfer 08 = surfing pikachu 09 = HIRO direction 00 (d) 01 (u) 02 (l) 03 (r) 0A = Time in hours 00 - 18 0B = Day 00 (Mo) - 06 (Su) 0C = Map bank of current map 0D = Map no of current map 0E = Num. of diff. unowns seen 00 - 1A 0F = Action byte of map 10 = Amount of free spaces in pkmn box 00 - 14 11 = Minutes until end bug contest 00 - 14 12 = X position of HIRO 13 = Y position of HIRO 14 = phone call number parsing command byte 0x76 for map 11.3 at 0x540a8 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x47 for map 11.3 at 0x540ab info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 11.3 at 0x540ac info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 11.3 at 0x540af info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 11.3 at 0x540b0 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x69 for map 11.3 at 0x540b1 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x41 for map 11.3 at 0x540b4 info: Copy item name (by id) to memX [id][xx] long_info: Writes item name to MEMORY1, 2 or 3 for later use in text. [41][Item no][00-02 MEMORY] parsing command byte 0x32 for map 11.3 at 0x540b7 info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x91 for map 11.3 at 0x540ba info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=1 y=15 parsing command byte 0x34 for map 11.3 at 0x5410c info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map 11.3 at 0x5410f info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0xc for map 11.3 at 0x54112 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=4 y=15 parsing command byte 0x34 for map 11.3 at 0x5410c info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map 11.3 at 0x5410f info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0xc for map 11.3 at 0x54112 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) parsing command byte 0x91 for map 11.3 at 0x5400a info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 11.3 at 0x5400b info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 11 map_id is: 4 event header address is: 0x54907 parsing signpost script.. signpost is at: x=1 y=2 parsing command byte 0x53 for map 11.4 at 0x54784 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xed for map 11.4 at 0x54785 info: None long_info: None parsing signpost script.. signpost is at: x=0 y=3 parsing command byte 0x53 for map 11.4 at 0x54784 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xed for map 11.4 at 0x54785 info: None long_info: None parsing signpost script.. signpost is at: x=1 y=3 parsing command byte 0x53 for map 11.4 at 0x54784 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xed for map 11.4 at 0x54785 info: None long_info: None parsing signpost script.. signpost is at: x=0 y=5 parsing command byte 0x53 for map 11.4 at 0x54784 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xed for map 11.4 at 0x54785 info: None long_info: None parsing signpost script.. signpost is at: x=1 y=5 parsing command byte 0x53 for map 11.4 at 0x54784 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xed for map 11.4 at 0x54785 info: None long_info: None parsing signpost script.. signpost is at: x=0 y=6 parsing command byte 0x53 for map 11.4 at 0x54784 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xed for map 11.4 at 0x54785 info: None long_info: None parsing signpost script.. signpost is at: x=1 y=6 parsing command byte 0x53 for map 11.4 at 0x54784 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xed for map 11.4 at 0x54785 info: None long_info: None parsing signpost script.. signpost is at: x=6 y=6 parsing command byte 0x53 for map 11.4 at 0x54784 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xed for map 11.4 at 0x54785 info: None long_info: None parsing signpost script.. signpost is at: x=7 y=6 parsing command byte 0x53 for map 11.4 at 0x54784 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xed for map 11.4 at 0x54785 info: None long_info: None skipping event data... (oops) map_group is: 11 map_id is: 5 event header address is: 0x54b9c parsing signpost script.. signpost is at: x=0 y=1 parsing command byte 0xc for map 11.5 at 0x5499d info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=1 y=1 parsing command byte 0xc for map 11.5 at 0x5499d info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=7 y=1 parsing command byte 0xc for map 11.5 at 0x549a0 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 11 map_id is: 6 event header address is: 0x5509f parsing signpost script.. signpost is at: x=0 y=1 parsing command byte 0xc for map 11.6 at 0x54c6e info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=1 y=1 parsing command byte 0xc for map 11.6 at 0x54c6b info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=7 y=1 parsing command byte 0xc for map 11.6 at 0x54c71 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 11 map_id is: 7 event header address is: 0x5531f parsing xy trigger byte scripts... x=11 y=6 parsing command byte 0x69 for map 11.7 at 0x55130 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x51 for map 11.7 at 0x55133 info: Display text (by pointer), turn to HIRO, end [xxyy] long_info: Displays a text and lets person turn to HIRO. Afterwards there is no other script interpreted. Corresponds to 6A + 47 + 4C + 53 + 49 + 90 [51][2byte textpointer] skipping event data... (oops) parsing command byte 0x91 for map 11.7 at 0x550eb info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 11 map_id is: 8 event header address is: 0x5561e skipping event data... (oops) map_group is: 11 map_id is: 9 event header address is: 0x55741 parsing signpost script.. signpost is at: x=0 y=1 parsing command byte 0xc for map 11.9 at 0x55653 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=1 y=1 parsing command byte 0xc for map 11.9 at 0x55650 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=7 y=1 parsing command byte 0xc for map 11.9 at 0x55656 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 11 map_id is: 10 event header address is: 0x55953 parsing signpost script.. signpost is at: x=0 y=1 parsing command byte 0xc for map 11.10 at 0x55784 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=1 y=1 parsing command byte 0xc for map 11.10 at 0x55784 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=7 y=1 parsing command byte 0xc for map 11.10 at 0x55787 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 11 map_id is: 11 event header address is: 0x55b03 parsing signpost script.. signpost is at: x=14 y=0 parsing command byte 0x53 for map 11.11 at 0x5598d info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x80 for map 11.11 at 0x5598e info: Music fade-out then play next [xxyy][time] long_info: The current music is faded out and the new music is played afterwards. [80][Music no (2byte)][Time to fade out (00-7F)] parsing command byte 0x0 for map 11.11 at 0x55992 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xa4 for map 11.11 at 0x55995 info: None long_info: None parsing signpost script.. signpost is at: x=3 y=0 parsing command byte 0xc for map 11.11 at 0x55990 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 11 map_id is: 12 event header address is: 0x55d56 parsing signpost script.. signpost is at: x=14 y=0 parsing command byte 0x53 for map 11.12 at 0x55b76 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x28 for map 11.12 at 0x55b77 info: Give cell phone number [xx] long_info: Gives number to HIRO. feedback: 00 = number was added successfully 01 = Number already added, or no memory xx = number of person [28][xx] 01 = mother 02 = bike store 03 = bll 04 = elm parsing command byte 0xc for map 11.12 at 0x55b79 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=3 y=0 parsing command byte 0xc for map 11.12 at 0x55b79 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 11 map_id is: 13 event header address is: 0x55ea1 parsing signpost script.. signpost is at: x=14 y=0 parsing command byte 0x53 for map 11.13 at 0x55dc6 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x74 for map 11.13 at 0x55dc7 info: Display emoticon by bubble id and person id and time [xx][yy][zz] long_info: Displays the bubble above a persons head for the given time period. Attention: Bubbles get loaded into ram! [74][Bubble][Person][Time] for bubble ids see 0x73 parsing command byte 0x0 for map 11.13 at 0x55dcb info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf4 for map 11.13 at 0x55dce info: None long_info: None parsing signpost script.. signpost is at: x=3 y=0 parsing command byte 0xc for map 11.13 at 0x55dc9 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 11 map_id is: 14 event header address is: 0x56038 parsing signpost script.. signpost is at: x=14 y=0 parsing command byte 0x53 for map 11.14 at 0x55f02 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xd for map 11.14 at 0x55f03 info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0x14 for map 11.14 at 0x55f06 info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0x0 for map 11.14 at 0x55f08 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xb8 for map 11.14 at 0x55f0b info: None long_info: None parsing signpost script.. signpost is at: x=3 y=0 parsing command byte 0xc for map 11.14 at 0x55f05 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 11 map_id is: 15 event header address is: 0x56386 parsing signpost script.. signpost is at: x=14 y=0 parsing command byte 0x53 for map 11.15 at 0x5613d info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x64 for map 11.15 at 0x5613e info: ? Load the trainer talk-after script long_info: Interprets which script is going to be run, when a in the event-structure-defined trainer is talked to again. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau [64] parsing command byte 0x63 for map 11.15 at 0x5613f info: Set win/lose pointers for battle [xxyy][xxyy] long_info: Writes the win/lose pointer of a battle into the ram. [63][2byte pointer to text Win][2byte pointer to text Loss*] * When pointer = 0000 then "Blackout" instead of return to gameplay. parsing command byte 0x87 for map 11.15 at 0x56144 info: Special sound if TM was last checked long_info: When last given/checked Item was a TM then it plays sound 0x9B. If not, then 0x01. [87] parsing command byte 0xa4 for map 11.15 at 0x56145 info: None long_info: None parsing signpost script.. signpost is at: x=3 y=0 parsing command byte 0xc for map 11.15 at 0x56140 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) parsing command byte 0x1c for map None.None at 0x56090 info: Check pre-ID-mapped RAM location [xx] long_info: Checks special game-technical values and writes then into RAM. [1C][following part][Ram check (when <> 08/09 see „numbers“ in list of following parts)] following part (and then hex values) 01 = PKMN count in party 00 - 06 02 = ??? 03 = Battle type of wild PKMN 04 = ??? 05 = PokéDex caught 00 - FA 06 = PokéDex seen 00 - FA 07 = Badge count 00 - 10 08 = Movement 00 = walk 01 = bike 02 = slipping 04 = surfer 08 = surfing pikachu 09 = HIRO direction 00 (d) 01 (u) 02 (l) 03 (r) 0A = Time in hours 00 - 18 0B = Day 00 (Mo) - 06 (Su) 0C = Map bank of current map 0D = Map no of current map 0E = Num. of diff. unowns seen 00 - 1A 0F = Action byte of map 10 = Amount of free spaces in pkmn box 00 - 14 11 = Minutes until end bug contest 00 - 14 12 = X position of HIRO 13 = Y position of HIRO 14 = phone call number parsing command byte 0x6 for map None.None at 0x56092 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x60 for map None.None at 0x56095 info: Pokemon catching tutorial [xx] long_info: Starts a learn-how-to-catch battle with a Pokémon, whose data needs to be loaded beforehand see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke5C Player has to have at least 1 Pokémon for it to work. Items that are statically used: 1xPotion, 5xPoké ball. [60][xx] xx: Between 01 and 03. If <> 03 then HIRO sprite instead of dude sprite and kills itself when using the item system. parsing command byte 0x7 for map None.None at 0x56097 info: RAM check [<>byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x7 for map None.None at 0x5609a info: RAM check [<>byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x47 for map None.None at 0x5609d info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x31 for map None.None at 0x5609e info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map None.None at 0x560a1 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x31 for map None.None at 0x560a4 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map None.None at 0x560a7 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x3 for map None.None at 0x560aa info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x31 for map None.None at 0x560ad info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map None.None at 0x560b0 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x3 for map None.None at 0x560b3 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x94 for map None.None at 0x560b6 info: Display elevator menu by pointer [xxyy] long_info: Displays a whole elevator menu, but it doesn't load font to ram. Only works with warps with warp-to = 0xFF. [94][2byte pointer to floor list] parsing command byte 0x0 for map None.None at 0x560b9 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x94 for map None.None at 0x560bc info: Display elevator menu by pointer [xxyy] long_info: Displays a whole elevator menu, but it doesn't load font to ram. Only works with warps with warp-to = 0xFF. [94][2byte pointer to floor list] parsing command byte 0x0 for map None.None at 0x560bf info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x94 for map None.None at 0x560c2 info: Display elevator menu by pointer [xxyy] long_info: Displays a whole elevator menu, but it doesn't load font to ram. Only works with warps with warp-to = 0xFF. [94][2byte pointer to floor list] parsing command byte 0x0 for map None.None at 0x560c5 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x94 for map None.None at 0x560c8 info: Display elevator menu by pointer [xxyy] long_info: Displays a whole elevator menu, but it doesn't load font to ram. Only works with warps with warp-to = 0xFF. [94][2byte pointer to floor list] parsing command byte 0x0 for map None.None at 0x560cb info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x6b for map None.None at 0x560ce info: Move facing direction of person1 to look at person2 [2][1] long_info: Turns the head of person1 to another person2. [6B][Person2][Person1] Person2 = If number is greater than 0xFD, then use number of talked-to person. Person1 = If number equals 0xFE, then take number of talked-to person. parsing command byte 0xb for map None.None at 0x560d1 info: RAM check [>byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x12 for map None.None at 0x560d4 info: Activate trigger event from afar [xx][yy][zz] long_info: Changes trigger event number on map (map bank/map no) to xx. xx = trigger event number that should be activated [12][MapBank][MapNo][xx] parsing command byte 0x0 for map None.None at 0x560d8 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x61 for map None.None at 0x560db info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0x59 for map None.None at 0x560dd info: Load pikachu data long_info: Loads 0x19 (Pikachu) to PokéRAM and level 5 to LevelRAM. parsing command byte 0x0 for map None.None at 0x560de info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x61 for map None.None at 0x560e1 info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0xa for map None.None at 0x560e3 info: RAM check [ 03 then HIRO sprite instead of dude sprite and kills itself when using the item system. parsing command byte 0x31 for map None.None at 0x560e8 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x3 for map None.None at 0x560eb info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x4c for map None.None at 0x560ee info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x55 for map None.None at 0x560f1 info: Display a pokemon picture in a box by pokemon id [xx] long_info: Opens a box and puts a Pokémon picture into it. [55][xx] xx: <>00 : Pokémon no =00 : Pokémon no gets read from RAM parsing command byte 0xda for map None.None at 0x560f3 info: None long_info: None map_group is: 11 map_id is: 16 event header address is: 0x5664a parsing signpost script.. signpost is at: x=14 y=0 parsing command byte 0x53 for map 11.16 at 0x564c5 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x1a for map 11.16 at 0x564c6 info: Write variable from script RAM variable to actual RAM address [xxyy] long_info: Writes variable from RAM to actual RAM address. [1A][2-byte RAM address] parsing command byte 0x14 for map 11.16 at 0x564c9 info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0x0 for map 11.16 at 0x564cb info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xb5 for map 11.16 at 0x564ce info: None long_info: None parsing signpost script.. signpost is at: x=3 y=0 parsing command byte 0xc for map 11.16 at 0x564c8 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=8 y=1 parsing command byte 0x47 for map 11.16 at 0x563f5 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 11.16 at 0x563f6 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0xf for map 11.16 at 0x563f9 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x4f for map 11.16 at 0x563fc info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x59 for map 11.16 at 0x563ff info: Load pikachu data long_info: Loads 0x19 (Pikachu) to PokéRAM and level 5 to LevelRAM. parsing command byte 0x50 for map 11.16 at 0x56400 info: Write screen backup long_info: Writes backup of parts of the screen the box was overlapping. parsing command byte 0x6 for map 11.16 at 0x56401 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x64 for map 11.16 at 0x56404 info: ? Load the trainer talk-after script long_info: Interprets which script is going to be run, when a in the event-structure-defined trainer is talked to again. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau [64] parsing command byte 0x6 for map 11.16 at 0x56405 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x64 for map 11.16 at 0x56408 info: ? Load the trainer talk-after script long_info: Interprets which script is going to be run, when a in the event-structure-defined trainer is talked to again. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau [64] parsing command byte 0x6 for map 11.16 at 0x56409 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x64 for map 11.16 at 0x5640c info: ? Load the trainer talk-after script long_info: Interprets which script is going to be run, when a in the event-structure-defined trainer is talked to again. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau [64] parsing command byte 0x49 for map 11.16 at 0x5640d info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 11.16 at 0x5640e info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=9 y=1 parsing command byte 0x47 for map 11.16 at 0x563f5 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 11.16 at 0x563f6 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0xf for map 11.16 at 0x563f9 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x4f for map 11.16 at 0x563fc info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x59 for map 11.16 at 0x563ff info: Load pikachu data long_info: Loads 0x19 (Pikachu) to PokéRAM and level 5 to LevelRAM. parsing command byte 0x50 for map 11.16 at 0x56400 info: Write screen backup long_info: Writes backup of parts of the screen the box was overlapping. parsing command byte 0x6 for map 11.16 at 0x56401 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x64 for map 11.16 at 0x56404 info: ? Load the trainer talk-after script long_info: Interprets which script is going to be run, when a in the event-structure-defined trainer is talked to again. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau [64] parsing command byte 0x6 for map 11.16 at 0x56405 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x64 for map 11.16 at 0x56408 info: ? Load the trainer talk-after script long_info: Interprets which script is going to be run, when a in the event-structure-defined trainer is talked to again. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau [64] parsing command byte 0x6 for map 11.16 at 0x56409 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x64 for map 11.16 at 0x5640c info: ? Load the trainer talk-after script long_info: Interprets which script is going to be run, when a in the event-structure-defined trainer is talked to again. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau [64] parsing command byte 0x49 for map 11.16 at 0x5640d info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 11.16 at 0x5640e info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=10 y=1 parsing command byte 0x47 for map 11.16 at 0x563f5 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 11.16 at 0x563f6 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0xf for map 11.16 at 0x563f9 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x4f for map 11.16 at 0x563fc info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x59 for map 11.16 at 0x563ff info: Load pikachu data long_info: Loads 0x19 (Pikachu) to PokéRAM and level 5 to LevelRAM. parsing command byte 0x50 for map 11.16 at 0x56400 info: Write screen backup long_info: Writes backup of parts of the screen the box was overlapping. parsing command byte 0x6 for map 11.16 at 0x56401 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x64 for map 11.16 at 0x56404 info: ? Load the trainer talk-after script long_info: Interprets which script is going to be run, when a in the event-structure-defined trainer is talked to again. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau [64] parsing command byte 0x6 for map 11.16 at 0x56405 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x64 for map 11.16 at 0x56408 info: ? Load the trainer talk-after script long_info: Interprets which script is going to be run, when a in the event-structure-defined trainer is talked to again. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau [64] parsing command byte 0x6 for map 11.16 at 0x56409 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x64 for map 11.16 at 0x5640c info: ? Load the trainer talk-after script long_info: Interprets which script is going to be run, when a in the event-structure-defined trainer is talked to again. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau [64] parsing command byte 0x49 for map 11.16 at 0x5640d info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 11.16 at 0x5640e info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=11 y=1 parsing command byte 0x47 for map 11.16 at 0x563f5 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 11.16 at 0x563f6 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0xf for map 11.16 at 0x563f9 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x4f for map 11.16 at 0x563fc info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x59 for map 11.16 at 0x563ff info: Load pikachu data long_info: Loads 0x19 (Pikachu) to PokéRAM and level 5 to LevelRAM. parsing command byte 0x50 for map 11.16 at 0x56400 info: Write screen backup long_info: Writes backup of parts of the screen the box was overlapping. parsing command byte 0x6 for map 11.16 at 0x56401 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x64 for map 11.16 at 0x56404 info: ? Load the trainer talk-after script long_info: Interprets which script is going to be run, when a in the event-structure-defined trainer is talked to again. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau [64] parsing command byte 0x6 for map 11.16 at 0x56405 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x64 for map 11.16 at 0x56408 info: ? Load the trainer talk-after script long_info: Interprets which script is going to be run, when a in the event-structure-defined trainer is talked to again. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau [64] parsing command byte 0x6 for map 11.16 at 0x56409 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x64 for map 11.16 at 0x5640c info: ? Load the trainer talk-after script long_info: Interprets which script is going to be run, when a in the event-structure-defined trainer is talked to again. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau [64] parsing command byte 0x49 for map 11.16 at 0x5640d info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 11.16 at 0x5640e info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 skipping event data... (oops) map_group is: 11 map_id is: 17 event header address is: 0x566fe parsing signpost script.. signpost is at: x=3 y=0 parsing command byte 0x47 for map 11.17 at 0x56699 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x95 for map 11.17 at 0x5669a info: Display trade menu by trade id [xx] long_info: Displays a whole trade menu, but it doesn't load font to ram. [95][trade no] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDokTausch parsing command byte 0x66 for map 11.17 at 0x5669c info: ? Check if trainer talk-after script is executed just after battle or not long_info: Checks if the talk-after script of the event structure defined trainer is executed just after the battle or at a later point in time. feedback: 00 = no 01 = yes [66] parsing command byte 0x49 for map 11.17 at 0x5669d info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x8 for map 11.17 at 0x5669e info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x8b for map 11.17 at 0x566a1 info: Deactive static facing after time [xx] long_info: Deactivates static facings on all persons on the screen after a time xx. [8B][xx] parsing command byte 0x85 for map 11.17 at 0x566a3 info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0x6e for map 11.17 at 0x566a4 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x78 for map 11.17 at 0x566a6 info: Draw map data over current map [bank][pointer] long_info: This code draws another whole map as wide and high as the current map over the current map. The 3byte pointer points to the new map. [78][3byte pointer to new map data] parsing command byte 0x7 for map 11.17 at 0x566aa info: RAM check [<>byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0xdf for map 11.17 at 0x566ad info: None long_info: None skipping event data... (oops) map_group is: 11 map_id is: 18 event header address is: 0x56b6d parsing signpost script.. signpost is at: x=15 y=3 parsing command byte 0x53 for map 11.18 at 0x56773 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xc3 for map 11.18 at 0x56774 info: None long_info: None parsing signpost script.. signpost is at: x=15 y=5 parsing command byte 0x53 for map 11.18 at 0x56776 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x2b for map 11.18 at 0x56777 info: Check time of day [xx] long_info: Checks the time of day. feedback: 00 = time of day is the same 01 = time of day is not the same [2B][time of day (01morn-04night)] parsing command byte 0x53 for map 11.18 at 0x56779 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xa6 for map 11.18 at 0x5677a info: None long_info: None parsing signpost script.. signpost is at: x=15 y=6 parsing command byte 0x53 for map 11.18 at 0x56779 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xa6 for map 11.18 at 0x5677a info: None long_info: None parsing signpost script.. signpost is at: x=3 y=0 parsing command byte 0x53 for map 11.18 at 0x5677c info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x11 for map 11.18 at 0x5677d info: Trigger event check1 [xx][yy] long_info: Check the current number of the trigger event on map (map group/map id). [11][map group][map number] parsing command byte 0x96 for map 11.18 at 0x56780 info: Give cell phone number by id with YES/NO [id] long_info: Gives a telephone number but asks for decision beforehand. feedback: 00 = ok chosen 01 = Cell phone number already registered/Memory full 02 = no chosen [96][Cell phone number] parsing command byte 0xa4 for map 11.18 at 0x56782 info: None long_info: None skipping event data... (oops) parsing command byte 0x34 for map None.None at 0x5671b info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map None.None at 0x5671e info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x90 for map None.None at 0x56721 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] parsing command byte 0x34 for map None.None at 0x5672b info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map None.None at 0x5672e info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x33 for map None.None at 0x56731 info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x32 for map None.None at 0x56734 info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x90 for map None.None at 0x56737 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 11 map_id is: 19 event header address is: 0x571db parsing signpost script.. signpost is at: x=6 y=6 parsing command byte 0x17 for map 11.19 at 0x56e31 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x6 for map 11.19 at 0x56e33 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x6e for map 11.19 at 0x56e36 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x0 for map 11.19 at 0x56e38 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 11.19 at 0x56e3b info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 11.19 at 0x56e3e info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 11.19 at 0x56e3f info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=6 y=7 parsing command byte 0x17 for map 11.19 at 0x56e31 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x6 for map 11.19 at 0x56e33 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x6e for map 11.19 at 0x56e36 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x0 for map 11.19 at 0x56e38 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 11.19 at 0x56e3b info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 11.19 at 0x56e3e info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 11.19 at 0x56e3f info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=6 y=8 parsing command byte 0x17 for map 11.19 at 0x56e31 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x6 for map 11.19 at 0x56e33 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x6e for map 11.19 at 0x56e36 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x0 for map 11.19 at 0x56e38 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 11.19 at 0x56e3b info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 11.19 at 0x56e3e info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 11.19 at 0x56e3f info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=6 y=9 parsing command byte 0x17 for map 11.19 at 0x56e31 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x6 for map 11.19 at 0x56e33 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x6e for map 11.19 at 0x56e36 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x0 for map 11.19 at 0x56e38 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 11.19 at 0x56e3b info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 11.19 at 0x56e3e info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 11.19 at 0x56e3f info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=6 y=10 parsing command byte 0x17 for map 11.19 at 0x56e31 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x6 for map 11.19 at 0x56e33 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x6e for map 11.19 at 0x56e36 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x0 for map 11.19 at 0x56e38 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 11.19 at 0x56e3b info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 11.19 at 0x56e3e info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 11.19 at 0x56e3f info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=6 y=11 parsing command byte 0x17 for map 11.19 at 0x56e31 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x6 for map 11.19 at 0x56e33 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x6e for map 11.19 at 0x56e36 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x0 for map 11.19 at 0x56e38 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 11.19 at 0x56e3b info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 11.19 at 0x56e3e info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 11.19 at 0x56e3f info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=7 y=6 parsing command byte 0x17 for map 11.19 at 0x56e31 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x6 for map 11.19 at 0x56e33 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x6e for map 11.19 at 0x56e36 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x0 for map 11.19 at 0x56e38 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 11.19 at 0x56e3b info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 11.19 at 0x56e3e info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 11.19 at 0x56e3f info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=7 y=7 parsing command byte 0x48 for map 11.19 at 0x56e40 info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0x15 for map 11.19 at 0x56e42 info: Load variable into RAM [xx] long_info: [15][xx] parsing command byte 0xf for map 11.19 at 0x56e44 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 11.19 at 0x56e47 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 11.19 at 0x56e48 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=7 y=8 parsing command byte 0x17 for map 11.19 at 0x56e31 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x6 for map 11.19 at 0x56e33 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x6e for map 11.19 at 0x56e36 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x0 for map 11.19 at 0x56e38 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 11.19 at 0x56e3b info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 11.19 at 0x56e3e info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 11.19 at 0x56e3f info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=7 y=9 parsing command byte 0x17 for map 11.19 at 0x56e31 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x6 for map 11.19 at 0x56e33 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x6e for map 11.19 at 0x56e36 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x0 for map 11.19 at 0x56e38 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 11.19 at 0x56e3b info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 11.19 at 0x56e3e info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 11.19 at 0x56e3f info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=7 y=10 parsing command byte 0x17 for map 11.19 at 0x56e31 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x6 for map 11.19 at 0x56e33 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x6e for map 11.19 at 0x56e36 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x0 for map 11.19 at 0x56e38 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 11.19 at 0x56e3b info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 11.19 at 0x56e3e info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 11.19 at 0x56e3f info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=7 y=11 parsing command byte 0x17 for map 11.19 at 0x56e31 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x6 for map 11.19 at 0x56e33 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x6e for map 11.19 at 0x56e36 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x0 for map 11.19 at 0x56e38 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 11.19 at 0x56e3b info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 11.19 at 0x56e3e info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 11.19 at 0x56e3f info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=12 y=6 parsing command byte 0x17 for map 11.19 at 0x56e31 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x6 for map 11.19 at 0x56e33 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x6e for map 11.19 at 0x56e36 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x0 for map 11.19 at 0x56e38 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 11.19 at 0x56e3b info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 11.19 at 0x56e3e info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 11.19 at 0x56e3f info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=12 y=7 parsing command byte 0x17 for map 11.19 at 0x56e31 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x6 for map 11.19 at 0x56e33 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x6e for map 11.19 at 0x56e36 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x0 for map 11.19 at 0x56e38 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 11.19 at 0x56e3b info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 11.19 at 0x56e3e info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 11.19 at 0x56e3f info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=12 y=8 parsing command byte 0x17 for map 11.19 at 0x56e31 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x6 for map 11.19 at 0x56e33 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x6e for map 11.19 at 0x56e36 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x0 for map 11.19 at 0x56e38 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 11.19 at 0x56e3b info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 11.19 at 0x56e3e info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 11.19 at 0x56e3f info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=12 y=9 parsing command byte 0x17 for map 11.19 at 0x56e31 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x6 for map 11.19 at 0x56e33 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x6e for map 11.19 at 0x56e36 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x0 for map 11.19 at 0x56e38 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 11.19 at 0x56e3b info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 11.19 at 0x56e3e info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 11.19 at 0x56e3f info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=12 y=10 parsing command byte 0x17 for map 11.19 at 0x56e31 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x6 for map 11.19 at 0x56e33 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x6e for map 11.19 at 0x56e36 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x0 for map 11.19 at 0x56e38 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 11.19 at 0x56e3b info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 11.19 at 0x56e3e info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 11.19 at 0x56e3f info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=12 y=11 parsing command byte 0x17 for map 11.19 at 0x56e31 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x6 for map 11.19 at 0x56e33 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x6e for map 11.19 at 0x56e36 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x0 for map 11.19 at 0x56e38 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 11.19 at 0x56e3b info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 11.19 at 0x56e3e info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 11.19 at 0x56e3f info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=13 y=6 parsing command byte 0x48 for map 11.19 at 0x56e49 info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0xf for map 11.19 at 0x56e4b info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 11.19 at 0x56e4e info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 11.19 at 0x56e4f info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=13 y=7 parsing command byte 0x48 for map 11.19 at 0x56e49 info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0xf for map 11.19 at 0x56e4b info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 11.19 at 0x56e4e info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 11.19 at 0x56e4f info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=13 y=8 parsing command byte 0x48 for map 11.19 at 0x56e49 info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0xf for map 11.19 at 0x56e4b info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 11.19 at 0x56e4e info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 11.19 at 0x56e4f info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=13 y=9 parsing command byte 0x48 for map 11.19 at 0x56e49 info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0xf for map 11.19 at 0x56e4b info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 11.19 at 0x56e4e info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 11.19 at 0x56e4f info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=13 y=10 parsing command byte 0x48 for map 11.19 at 0x56e49 info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0xf for map 11.19 at 0x56e4b info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 11.19 at 0x56e4e info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 11.19 at 0x56e4f info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=13 y=11 parsing command byte 0x48 for map 11.19 at 0x56e49 info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0xf for map 11.19 at 0x56e4b info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 11.19 at 0x56e4e info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 11.19 at 0x56e4f info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=18 y=6 parsing command byte 0x48 for map 11.19 at 0x56e49 info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0xf for map 11.19 at 0x56e4b info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 11.19 at 0x56e4e info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 11.19 at 0x56e4f info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=18 y=7 parsing command byte 0x48 for map 11.19 at 0x56e49 info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0xf for map 11.19 at 0x56e4b info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 11.19 at 0x56e4e info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 11.19 at 0x56e4f info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=18 y=8 parsing command byte 0x48 for map 11.19 at 0x56e49 info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0xf for map 11.19 at 0x56e4b info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 11.19 at 0x56e4e info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 11.19 at 0x56e4f info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=18 y=9 parsing command byte 0x48 for map 11.19 at 0x56e49 info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0xf for map 11.19 at 0x56e4b info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 11.19 at 0x56e4e info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 11.19 at 0x56e4f info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=18 y=10 parsing command byte 0x48 for map 11.19 at 0x56e49 info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0xf for map 11.19 at 0x56e4b info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 11.19 at 0x56e4e info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 11.19 at 0x56e4f info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=18 y=11 parsing command byte 0x48 for map 11.19 at 0x56e49 info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0xf for map 11.19 at 0x56e4b info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 11.19 at 0x56e4e info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 11.19 at 0x56e4f info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=12 y=1 parsing command byte 0x53 for map 11.19 at 0x56e2e info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xaf for map 11.19 at 0x56e2f info: None long_info: None skipping event data... (oops) parsing command byte 0x31 for map None.None at 0x56bf9 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x8 for map None.None at 0x56bfc info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x21 for map None.None at 0x56bff info: Check if player has item [xx] long_info: Checks if item is possessed. feedback: 00 = does not have item 01 = has item [21][item no] parsing command byte 0x8 for map None.None at 0x56c01 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x1c for map None.None at 0x56c04 info: Check pre-ID-mapped RAM location [xx] long_info: Checks special game-technical values and writes then into RAM. [1C][following part][Ram check (when <> 08/09 see „numbers“ in list of following parts)] following part (and then hex values) 01 = PKMN count in party 00 - 06 02 = ??? 03 = Battle type of wild PKMN 04 = ??? 05 = PokéDex caught 00 - FA 06 = PokéDex seen 00 - FA 07 = Badge count 00 - 10 08 = Movement 00 = walk 01 = bike 02 = slipping 04 = surfer 08 = surfing pikachu 09 = HIRO direction 00 (d) 01 (u) 02 (l) 03 (r) 0A = Time in hours 00 - 18 0B = Day 00 (Mo) - 06 (Su) 0C = Map bank of current map 0D = Map no of current map 0E = Num. of diff. unowns seen 00 - 1A 0F = Action byte of map 10 = Amount of free spaces in pkmn box 00 - 14 11 = Minutes until end bug contest 00 - 14 12 = X position of HIRO 13 = Y position of HIRO 14 = phone call number parsing command byte 0x6 for map None.None at 0x56c06 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x6c for map None.None at 0x56c09 info: Store value in variable sprite RAM location x by id Y [xx][yy] long_info: Writes a number to the variable sprite RAM from D555 to D564 (see Compendium on the sprite system). [6C][xx][Sprite no] xx: Number between 0x00 and 0x0F parsing command byte 0x11 for map None.None at 0x56c0c info: Trigger event check1 [xx][yy] long_info: Check the current number of the trigger event on map (map group/map id). [11][map group][map number] parsing command byte 0xd for map None.None at 0x56c0f info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0x5e for map None.None at 0x56c12 info: Start pre-configured battle long_info: Starts trainer or Pokémon battle. BattleRAM: 80 = Poké battle; 81 = Trainer battle. feedback: 00 = win 01 = lose parsing command byte 0x0 for map None.None at 0x56c13 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x6c for map None.None at 0x56c16 info: Store value in variable sprite RAM location x by id Y [xx][yy] long_info: Writes a number to the variable sprite RAM from D555 to D564 (see Compendium on the sprite system). [6C][xx][Sprite no] xx: Number between 0x00 and 0x0F parsing command byte 0x90 for map None.None at 0x56c19 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 11 map_id is: 20 event header address is: 0x62564 parsing xy trigger byte scripts... x=3 y=7 parsing command byte 0x15 for map 11.20 at 0x60f94 info: Load variable into RAM [xx] long_info: [15][xx] parsing command byte 0xf for map 11.20 at 0x60f96 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x6 for map 11.20 at 0x60f99 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4f for map 11.20 at 0x60f9c info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x40 for map 11.20 at 0x60f9f info: Copy pokemon name (by id) to memX [id][xx] long_info: Writes pokémon name to MEMORY1, 2 or 3 for later use in text. [40][PKMN no][00-02 MEMORY] parsing command byte 0xd8 for map 11.20 at 0x60fa2 info: None long_info: None parsing xy trigger byte scripts... x=4 y=7 parsing command byte 0x15 for map 11.20 at 0x60fd9 info: Load variable into RAM [xx] long_info: [15][xx] parsing command byte 0xf for map 11.20 at 0x60fdb info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x6 for map 11.20 at 0x60fde info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4f for map 11.20 at 0x60fe1 info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x40 for map 11.20 at 0x60fe4 info: Copy pokemon name (by id) to memX [id][xx] long_info: Writes pokémon name to MEMORY1, 2 or 3 for later use in text. [40][PKMN no][00-02 MEMORY] parsing command byte 0x1d for map 11.20 at 0x60fe7 info: Write to pre-ID-mapped RAM location [xx] long_info: Writes variable from RAM to special game-technical value offsets. [1D][following part] where [following part] is the same as 0x1C parsing command byte 0x85 for map 11.20 at 0x60fe9 info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0x23 for map 11.20 at 0x60fea info: Take money from HIRO/account [xxyyzzaa] long_info: Takes zzyyxx money from HIRO/account. zzyyxx = amount of money (000000 - 0F423F) [23][00-HIRO/01-account][xxyyzz] parsing command byte 0x7 for map 11.20 at 0x60fef info: RAM check [<>byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x6f for map 11.20 at 0x60ff2 info: Following code1 [leader id][follower id] long_info: A person1 follows another person2. The person1 that follows just repeats the movement of person2, even if the persons are not directly next to each other. [6F][Leader Person2][Follower Person1] parsing command byte 0x11 for map 11.20 at 0x60ff5 info: Trigger event check1 [xx][yy] long_info: Check the current number of the trigger event on map (map group/map id). [11][map group][map number] parsing command byte 0x3 for map 11.20 at 0x60ff8 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x76 for map 11.20 at 0x60ffb info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x47 for map 11.20 at 0x60ffe info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 11.20 at 0x60fff info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 11.20 at 0x61002 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x9e for map 11.20 at 0x61003 info: Load wild pokemon data for a remote map [map group][map id] long_info: Activates the checks in the special tables for the wild pokémon data. [9E][map group][map id] see also http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDok3E_66ED parsing command byte 0x33 for map 11.20 at 0x61006 info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x33 for map 11.20 at 0x61009 info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x4c for map 11.20 at 0x6100c info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 11.20 at 0x6100f info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 11.20 at 0x61010 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x69 for map 11.20 at 0x61011 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x50 for map 11.20 at 0x61014 info: Write screen backup long_info: Writes backup of parts of the screen the box was overlapping. parsing command byte 0xf for map 11.20 at 0x61015 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x6e for map 11.20 at 0x61018 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x85 for map 11.20 at 0x6101a info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0x23 for map 11.20 at 0x6101b info: Take money from HIRO/account [xxyyzzaa] long_info: Takes zzyyxx money from HIRO/account. zzyyxx = amount of money (000000 - 0F423F) [23][00-HIRO/01-account][xxyyzz] parsing command byte 0x61 for map 11.20 at 0x61020 info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0x60 for map 11.20 at 0x61022 info: Pokemon catching tutorial [xx] long_info: Starts a learn-how-to-catch battle with a Pokémon, whose data needs to be loaded beforehand see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke5C Player has to have at least 1 Pokémon for it to work. Items that are statically used: 1xPotion, 5xPoké ball. [60][xx] xx: Between 01 and 03. If <> 03 then HIRO sprite instead of dude sprite and kills itself when using the item system. parsing command byte 0x6b for map 11.20 at 0x61024 info: Move facing direction of person1 to look at person2 [2][1] long_info: Turns the head of person1 to another person2. [6B][Person2][Person1] Person2 = If number is greater than 0xFD, then use number of talked-to person. Person1 = If number equals 0xFE, then take number of talked-to person. parsing command byte 0xfb for map 11.20 at 0x61027 info: None long_info: None skipping event data... (oops) map_group is: 11 map_id is: 21 event header address is: 0x62c32 parsing signpost script.. signpost is at: x=6 y=26 parsing command byte 0x47 for map 11.21 at 0x625da info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 11.21 at 0x625db info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 11.21 at 0x625de info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x7c for map 11.21 at 0x625df info: Write command queue [xxyy] long_info: Writes a command queue to the next free slot in ram. Max 4 command queues à 5 bytes. This code is buggy (bug fix: 25:7C74 --> 12). [7C][2byte pointer to 5byte command queue] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDok25_7CC9 parsing command byte 0x66 for map 11.21 at 0x625e2 info: ? Check if trainer talk-after script is executed just after battle or not long_info: Checks if the talk-after script of the event structure defined trainer is executed just after the battle or at a later point in time. feedback: 00 = no 01 = yes [66] parsing command byte 0x59 for map 11.21 at 0x625e3 info: Load pikachu data long_info: Loads 0x19 (Pikachu) to PokéRAM and level 5 to LevelRAM. parsing command byte 0x50 for map 11.21 at 0x625e4 info: Write screen backup long_info: Writes backup of parts of the screen the box was overlapping. parsing command byte 0x6 for map 11.21 at 0x625e5 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x65 for map 11.21 at 0x625e8 info: Disable/cancel trainer after-battle text long_info: Cancels the talk-after script of the in the event-structure-defined trainer when talk-after script is executed just after the battle. [65] parsing command byte 0x6 for map 11.21 at 0x625e9 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x65 for map 11.21 at 0x625ec info: Disable/cancel trainer after-battle text long_info: Cancels the talk-after script of the in the event-structure-defined trainer when talk-after script is executed just after the battle. [65] parsing command byte 0x3 for map 11.21 at 0x625ed info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x47 for map 11.21 at 0x625f0 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 11.21 at 0x625f1 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 11.21 at 0x625f4 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x3 for map 11.21 at 0x625f5 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x47 for map 11.21 at 0x625f8 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 11.21 at 0x625f9 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 11.21 at 0x625fc info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x3 for map 11.21 at 0x625fd info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x49 for map 11.21 at 0x62600 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 11.21 at 0x62601 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=6 y=28 parsing command byte 0x47 for map 11.21 at 0x62624 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 11.21 at 0x62625 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 11.21 at 0x62628 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x7c for map 11.21 at 0x62629 info: Write command queue [xxyy] long_info: Writes a command queue to the next free slot in ram. Max 4 command queues à 5 bytes. This code is buggy (bug fix: 25:7C74 --> 12). [7C][2byte pointer to 5byte command queue] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDok25_7CC9 parsing command byte 0x66 for map 11.21 at 0x6262c info: ? Check if trainer talk-after script is executed just after battle or not long_info: Checks if the talk-after script of the event structure defined trainer is executed just after the battle or at a later point in time. feedback: 00 = no 01 = yes [66] parsing command byte 0x59 for map 11.21 at 0x6262d info: Load pikachu data long_info: Loads 0x19 (Pikachu) to PokéRAM and level 5 to LevelRAM. parsing command byte 0x50 for map 11.21 at 0x6262e info: Write screen backup long_info: Writes backup of parts of the screen the box was overlapping. parsing command byte 0x6 for map 11.21 at 0x6262f info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x66 for map 11.21 at 0x62632 info: ? Check if trainer talk-after script is executed just after battle or not long_info: Checks if the talk-after script of the event structure defined trainer is executed just after the battle or at a later point in time. feedback: 00 = no 01 = yes [66] parsing command byte 0x6 for map 11.21 at 0x62633 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x66 for map 11.21 at 0x62636 info: ? Check if trainer talk-after script is executed just after battle or not long_info: Checks if the talk-after script of the event structure defined trainer is executed just after the battle or at a later point in time. feedback: 00 = no 01 = yes [66] parsing command byte 0x3 for map 11.21 at 0x62637 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x47 for map 11.21 at 0x6263a info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 11.21 at 0x6263b info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 11.21 at 0x6263e info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x3 for map 11.21 at 0x6263f info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x47 for map 11.21 at 0x62642 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 11.21 at 0x62643 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 11.21 at 0x62646 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x3 for map 11.21 at 0x62647 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x49 for map 11.21 at 0x6264a info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 11.21 at 0x6264b info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=3 y=26 parsing command byte 0x53 for map 11.21 at 0x62671 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x26 for map 11.21 at 0x62672 info: Take coins from HIRO [xxyy] long_info: Takes coins away from HIRO. yyxx = amount of coins (0000 - 270F) [26][xxyy] parsing command byte 0x54 for map 11.21 at 0x62675 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x82 for map 11.21 at 0x62676 info: Reload map music long_info: After a map reload no music is played. [82] parsing command byte 0x8e for map 11.21 at 0x62677 info: Priority jump to script by pointer (after 1st cycle) [xxyy] long_info: The pointer acts like code 03, but with this code all higher functions wait for a cycle before the script gets interpreted. [8E][2byte pointer to script] parsing command byte 0x82 for map 11.21 at 0x6267a info: Reload map music long_info: After a map reload no music is played. [82] parsing command byte 0x84 for map 11.21 at 0x6267b info: Play sound by sound number [xxyy] long_info: Plays the sound. [84][Sound no (2byte)] Sound no: See the music archive that should accompany this document Thanks to philb for this matter. He helped me to record a big part of these sounds. parsing command byte 0x84 for map 11.21 at 0x6267e info: Play sound by sound number [xxyy] long_info: Plays the sound. [84][Sound no (2byte)] Sound no: See the music archive that should accompany this document Thanks to philb for this matter. He helped me to record a big part of these sounds. parsing command byte 0xa0 for map 11.21 at 0x62681 info: Credits long_info: Shows the credits and HIRO is located on the Silver mountain plateau. [A0] parsing command byte 0xad for map 11.21 at 0x62682 info: None long_info: None skipping event data... (oops) map_group is: 11 map_id is: 22 event header address is: 0x62cf4 skipping event data... (oops) map_group is: 11 map_id is: 23 event header address is: 0x62f20 parsing xy trigger byte scripts... x=4 y=7 parsing command byte 0x31 for map 11.23 at 0x62d3d info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x8 for map 11.23 at 0x62d40 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x75 for map 11.23 at 0x62d43 info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0x14 for map 11.23 at 0x62d46 info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0x5 for map 11.23 at 0x62d48 info: pointer code long_info: 2byte pointer points to 3byte pointer; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x0 for map 11.23 at 0x62d4b info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 11.23 at 0x62d4e info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 11.23 at 0x62d51 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x71 for map 11.23 at 0x62d54 info: Move person by id to xy [id][xx][yy] long_info: Sets the X/Y values of a person anew. The person doesn't get shown immediately. Use hide&show. [71][Person][X][Y] parsing command byte 0x47 for map 11.23 at 0x62d58 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 11.23 at 0x62d59 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 11.23 at 0x62d5c info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 11.23 at 0x62d5d info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x69 for map 11.23 at 0x62d5e info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x6d for map 11.23 at 0x62d61 info: Hide person by id [xx] long_info: Hides a person. [6D][person id] parsing command byte 0x6b for map 11.23 at 0x62d63 info: Move facing direction of person1 to look at person2 [2][1] long_info: Turns the head of person1 to another person2. [6B][Person2][Person1] Person2 = If number is greater than 0xFD, then use number of talked-to person. Person1 = If number equals 0xFE, then take number of talked-to person. parsing command byte 0xc0 for map 11.23 at 0x62d66 info: None long_info: None skipping event data... (oops) parsing command byte 0x31 for map None.None at 0x62d2d info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x8 for map None.None at 0x62d30 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x6e for map None.None at 0x62d33 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x6f for map None.None at 0x62d35 info: Following code1 [leader id][follower id] long_info: A person1 follows another person2. The person1 that follows just repeats the movement of person2, even if the persons are not directly next to each other. [6F][Leader Person2][Follower Person1] parsing command byte 0x6e for map None.None at 0x62d38 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x6f for map None.None at 0x62d3a info: Following code1 [leader id][follower id] long_info: A person1 follows another person2. The person1 that follows just repeats the movement of person2, even if the persons are not directly next to each other. [6F][Leader Person2][Follower Person1] parsing command byte 0x31 for map None.None at 0x62d3d info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x8 for map None.None at 0x62d40 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x75 for map None.None at 0x62d43 info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0x14 for map None.None at 0x62d46 info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0x5 for map None.None at 0x62d48 info: pointer code long_info: 2byte pointer points to 3byte pointer; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x0 for map None.None at 0x62d4b info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map None.None at 0x62d4e info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map None.None at 0x62d51 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x71 for map None.None at 0x62d54 info: Move person by id to xy [id][xx][yy] long_info: Sets the X/Y values of a person anew. The person doesn't get shown immediately. Use hide&show. [71][Person][X][Y] parsing command byte 0x47 for map None.None at 0x62d58 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map None.None at 0x62d59 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map None.None at 0x62d5c info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map None.None at 0x62d5d info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x69 for map None.None at 0x62d5e info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x6d for map None.None at 0x62d61 info: Hide person by id [xx] long_info: Hides a person. [6D][person id] parsing command byte 0x6b for map None.None at 0x62d63 info: Move facing direction of person1 to look at person2 [2][1] long_info: Turns the head of person1 to another person2. [6B][Person2][Person1] Person2 = If number is greater than 0xFD, then use number of talked-to person. Person1 = If number equals 0xFE, then take number of talked-to person. parsing command byte 0xc0 for map None.None at 0x62d66 info: None long_info: None map_group is: 11 map_id is: 24 event header address is: 0x63250 parsing signpost script.. signpost is at: x=0 y=1 parsing command byte 0xc for map 11.24 at 0x62fd7 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=1 y=1 parsing command byte 0xc for map 11.24 at 0x62fd7 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) parsing command byte 0x34 for map None.None at 0x62f7b info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map None.None at 0x62f7e info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x32 for map None.None at 0x62f81 info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x33 for map None.None at 0x62f84 info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x90 for map None.None at 0x62f87 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 12 map_id is: 1 event header address is: 0x1adadb parsing signpost script.. signpost is at: x=19 y=5 parsing command byte 0x53 for map 12.1 at 0x1ad954 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x9b for map 12.1 at 0x1ad955 info: Cell phone call [call id][00] long_info: Initiates with the next step on a outer world map (permission byte) a phone call. [9B][Call no][00] call no: 01 = PokéRus 02 = Pokémon stolen 03 = Egg examined/ Assistant in Viola City 04 = Team Rocket on the radio 05 = PROF. ELM has got something for HIRO 06 = Bike shop gives bike away 07 = Mother is unhappy that HIRO didn't talk to her before leaving 08 = PROF. ELM has got something for HIRO a second time parsing command byte 0x93 for map 12.1 at 0x1ad958 info: Mart menu [dialog no][mart no 2b] long_info: Displays a whole mart menu, however, doesn't load font to ram. [93][Dialog no][Mart no (2byte)] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#AwBsp93 see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzB93 parsing command byte 0xb1 for map 12.1 at 0x1ad95c info: None long_info: None skipping event data... (oops) map_group is: 12 map_id is: 2 event header address is: 0x68242 parsing signpost script.. signpost is at: x=3 y=7 parsing command byte 0x53 for map 12.2 at 0x68052 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x38 for map 12.2 at 0x68053 info: Turn no wild pokemon battles long_info: This code turns all wild PKMN battles on. parsing command byte 0x42 for map 12.2 at 0x68054 info: Copy map name to memX [xx] long_info: Writes current location's name to MEMORY1, 2 or 3 for later use in text. [42][00-02 MEMORY] parsing command byte 0x18 for map 12.2 at 0x68056 info: G/S version check long_info: Check if version is gold or silver. Gives feedback. 00 = Gold 01 = Silver [18] parsing command byte 0xf5 for map 12.2 at 0x68057 info: None long_info: None parsing signpost script.. signpost is at: x=32 y=5 parsing command byte 0xf5 for map 12.2 at 0x68057 info: None long_info: None skipping event data... (oops) map_group is: 12 map_id is: 3 event header address is: 0x1aae77 parsing signpost script.. signpost is at: x=25 y=3 parsing command byte 0x53 for map 12.3 at 0x1aa9fd info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xb9 for map 12.3 at 0x1aa9fe info: None long_info: None parsing signpost script.. signpost is at: x=5 y=19 parsing command byte 0x53 for map 12.3 at 0x1aaa00 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xe7 for map 12.3 at 0x1aaa01 info: None long_info: None parsing signpost script.. signpost is at: x=5 y=13 parsing command byte 0x53 for map 12.3 at 0x1aaa03 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x28 for map 12.3 at 0x1aaa04 info: Give cell phone number [xx] long_info: Gives number to HIRO. feedback: 00 = number was added successfully 01 = Number already added, or no memory xx = number of person [28][xx] 01 = mother 02 = bike store 03 = bll 04 = elm parsing command byte 0x53 for map 12.3 at 0x1aaa06 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x4e for map 12.3 at 0x1aaa07 info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x6e for map 12.3 at 0x1aaa08 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x5e for map 12.3 at 0x1aaa0a info: Start pre-configured battle long_info: Starts trainer or Pokémon battle. BattleRAM: 80 = Poké battle; 81 = Trainer battle. feedback: 00 = win 01 = lose parsing command byte 0x6e for map 12.3 at 0x1aaa0b info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x10 for map 12.3 at 0x1aaa0d info: ASM code2 [2b to 3b to asm] long_info: Call an ASM script via a 2byte pointer pointing to a 3byte pointer. [10][2byte pointer pointing to 3byte pointer pointing to ASM script] parsing command byte 0x11 for map 12.3 at 0x1aaa10 info: Trigger event check1 [xx][yy] long_info: Check the current number of the trigger event on map (map group/map id). [11][map group][map number] parsing command byte 0x0 for map 12.3 at 0x1aaa13 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x95 for map 12.3 at 0x1aaa16 info: Display trade menu by trade id [xx] long_info: Displays a whole trade menu, but it doesn't load font to ram. [95][trade no] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDokTausch parsing command byte 0x91 for map 12.3 at 0x1aaa18 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=33 y=9 parsing command byte 0x53 for map 12.3 at 0x1aaa06 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x4e for map 12.3 at 0x1aaa07 info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x6e for map 12.3 at 0x1aaa08 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x5e for map 12.3 at 0x1aaa0a info: Start pre-configured battle long_info: Starts trainer or Pokémon battle. BattleRAM: 80 = Poké battle; 81 = Trainer battle. feedback: 00 = win 01 = lose parsing command byte 0x6e for map 12.3 at 0x1aaa0b info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x10 for map 12.3 at 0x1aaa0d info: ASM code2 [2b to 3b to asm] long_info: Call an ASM script via a 2byte pointer pointing to a 3byte pointer. [10][2byte pointer pointing to 3byte pointer pointing to ASM script] parsing command byte 0x11 for map 12.3 at 0x1aaa10 info: Trigger event check1 [xx][yy] long_info: Check the current number of the trigger event on map (map group/map id). [11][map group][map number] parsing command byte 0x0 for map 12.3 at 0x1aaa13 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x95 for map 12.3 at 0x1aaa16 info: Display trade menu by trade id [xx] long_info: Displays a whole trade menu, but it doesn't load font to ram. [95][trade no] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDokTausch parsing command byte 0x91 for map 12.3 at 0x1aaa18 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=27 y=15 parsing command byte 0x53 for map 12.3 at 0x1aaa09 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x5e for map 12.3 at 0x1aaa0a info: Start pre-configured battle long_info: Starts trainer or Pokémon battle. BattleRAM: 80 = Poké battle; 81 = Trainer battle. feedback: 00 = win 01 = lose parsing command byte 0x6e for map 12.3 at 0x1aaa0b info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x10 for map 12.3 at 0x1aaa0d info: ASM code2 [2b to 3b to asm] long_info: Call an ASM script via a 2byte pointer pointing to a 3byte pointer. [10][2byte pointer pointing to 3byte pointer pointing to ASM script] parsing command byte 0x11 for map 12.3 at 0x1aaa10 info: Trigger event check1 [xx][yy] long_info: Check the current number of the trigger event on map (map group/map id). [11][map group][map number] parsing command byte 0x0 for map 12.3 at 0x1aaa13 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x95 for map 12.3 at 0x1aaa16 info: Display trade menu by trade id [xx] long_info: Displays a whole trade menu, but it doesn't load font to ram. [95][trade no] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDokTausch parsing command byte 0x91 for map 12.3 at 0x1aaa18 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=10 y=5 parsing command byte 0xc for map 12.3 at 0x1aaa0c info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=22 y=13 parsing command byte 0xc for map 12.3 at 0x1aaa0f info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=12 y=19 parsing command byte 0xfc for map 12.3 at 0x1aaa12 info: None long_info: None skipping event data... (oops) parsing command byte 0x36 for map None.None at 0x1aa97f info: Set (to 1) a bit on bit table 2 [xxyy] long_info: Sets a bit of BitTable2 to value 1. [36][Bit no (2byte)] parsing command byte 0x90 for map None.None at 0x1aa982 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 12 map_id is: 4 event header address is: 0x1915df parsing signpost script.. signpost is at: x=3 y=0 parsing command byte 0x53 for map 12.4 at 0x191490 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xa3 for map 12.4 at 0x191491 info: Copy the name of a location (by id) to TEMPMEMORY1 long_info: By the location number the name of that location is written to TEMPMEMORY1. [A3][Location no] parsing command byte 0xc for map 12.4 at 0x191493 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 12 map_id is: 5 event header address is: 0x191791 skipping event data... (oops) map_group is: 12 map_id is: 6 event header address is: 0x1917dc skipping event data... (oops) map_group is: 12 map_id is: 7 event header address is: 0x191e4d parsing signpost script.. signpost is at: x=7 y=0 parsing command byte 0x53 for map 12.7 at 0x19187b info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xfc for map 12.7 at 0x19187c info: None long_info: None parsing signpost script.. signpost is at: x=9 y=0 parsing command byte 0x53 for map 12.7 at 0x19187e info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x29 for map 12.7 at 0x19187f info: Delete cell phone number [xx] long_info: Deletes a number from the list. feedback: 00 = number deleted successfully 01 = number wasn't in list xx = number of person [29][xx] parsing command byte 0x0 for map 12.7 at 0x191881 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x7f for map 12.7 at 0x191884 info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0xb3 for map 12.7 at 0x191885 info: None long_info: None skipping event data... (oops) map_group is: 12 map_id is: 8 event header address is: 0x191f48 parsing signpost script.. signpost is at: x=0 y=1 parsing command byte 0xc for map 12.8 at 0x191ebd info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=1 y=1 parsing command byte 0xc for map 12.8 at 0x191ebd info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 12 map_id is: 9 event header address is: 0x191ff8 skipping event data... (oops) map_group is: 12 map_id is: 10 event header address is: 0x192086 skipping event data... (oops) map_group is: 12 map_id is: 11 event header address is: 0x19263d parsing signpost script.. signpost is at: x=1 y=7 parsing command byte 0x53 for map 12.11 at 0x19212f info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x1e for map 12.11 at 0x192130 info: Write byte value to pre-ID-mapped RAM location [aa][xx] long_info: Writes variable xx to special game-technical value offsets. [1E][following part][xx] where [following part] is the same as 0x1C parsing command byte 0x25 for map 12.11 at 0x192133 info: Give coins to HIRO [xxyy] long_info: Gives coins to HIRO. yyxx = amount of coins (0000 - 270F) [25][xxyy] parsing command byte 0x3b for map 12.11 at 0x192136 info: Blackout warp modifier [map group][map id] long_info: Changes the map HIRO arrives at, after having a blackout. There needs to be flying data for that map. [3B][Map bank][Map no] parsing command byte 0x2d for map 12.11 at 0x192139 info: Give pokemon [pokemon][level][item][trainer2b][...] long_info: Gives a PKMN if there's space feedback: trainer id [2D][PKMN][PKMNlvl][PKMNitem][TRAINER] trainer: 00 = HIRO 01 = after the main code there are 4 bytes added [2byte pointer to trainer's name (max.0x0A figures + 0x50)][2byte pointer to nickname (max.0x0A figures + 0x50)] parsing command byte 0x0 for map 12.11 at 0x192142 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x91 for map 12.11 at 0x192145 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=3 y=7 parsing command byte 0x53 for map 12.11 at 0x19212f info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x1e for map 12.11 at 0x192130 info: Write byte value to pre-ID-mapped RAM location [aa][xx] long_info: Writes variable xx to special game-technical value offsets. [1E][following part][xx] where [following part] is the same as 0x1C parsing command byte 0x25 for map 12.11 at 0x192133 info: Give coins to HIRO [xxyy] long_info: Gives coins to HIRO. yyxx = amount of coins (0000 - 270F) [25][xxyy] parsing command byte 0x3b for map 12.11 at 0x192136 info: Blackout warp modifier [map group][map id] long_info: Changes the map HIRO arrives at, after having a blackout. There needs to be flying data for that map. [3B][Map bank][Map no] parsing command byte 0x2d for map 12.11 at 0x192139 info: Give pokemon [pokemon][level][item][trainer2b][...] long_info: Gives a PKMN if there's space feedback: trainer id [2D][PKMN][PKMNlvl][PKMNitem][TRAINER] trainer: 00 = HIRO 01 = after the main code there are 4 bytes added [2byte pointer to trainer's name (max.0x0A figures + 0x50)][2byte pointer to nickname (max.0x0A figures + 0x50)] parsing command byte 0x0 for map 12.11 at 0x192142 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x91 for map 12.11 at 0x192145 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=5 y=7 parsing command byte 0x53 for map 12.11 at 0x19212f info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x1e for map 12.11 at 0x192130 info: Write byte value to pre-ID-mapped RAM location [aa][xx] long_info: Writes variable xx to special game-technical value offsets. [1E][following part][xx] where [following part] is the same as 0x1C parsing command byte 0x25 for map 12.11 at 0x192133 info: Give coins to HIRO [xxyy] long_info: Gives coins to HIRO. yyxx = amount of coins (0000 - 270F) [25][xxyy] parsing command byte 0x3b for map 12.11 at 0x192136 info: Blackout warp modifier [map group][map id] long_info: Changes the map HIRO arrives at, after having a blackout. There needs to be flying data for that map. [3B][Map bank][Map no] parsing command byte 0x2d for map 12.11 at 0x192139 info: Give pokemon [pokemon][level][item][trainer2b][...] long_info: Gives a PKMN if there's space feedback: trainer id [2D][PKMN][PKMNlvl][PKMNitem][TRAINER] trainer: 00 = HIRO 01 = after the main code there are 4 bytes added [2byte pointer to trainer's name (max.0x0A figures + 0x50)][2byte pointer to nickname (max.0x0A figures + 0x50)] parsing command byte 0x0 for map 12.11 at 0x192142 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x91 for map 12.11 at 0x192145 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=7 y=7 parsing command byte 0x53 for map 12.11 at 0x19212f info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x1e for map 12.11 at 0x192130 info: Write byte value to pre-ID-mapped RAM location [aa][xx] long_info: Writes variable xx to special game-technical value offsets. [1E][following part][xx] where [following part] is the same as 0x1C parsing command byte 0x25 for map 12.11 at 0x192133 info: Give coins to HIRO [xxyy] long_info: Gives coins to HIRO. yyxx = amount of coins (0000 - 270F) [25][xxyy] parsing command byte 0x3b for map 12.11 at 0x192136 info: Blackout warp modifier [map group][map id] long_info: Changes the map HIRO arrives at, after having a blackout. There needs to be flying data for that map. [3B][Map bank][Map no] parsing command byte 0x2d for map 12.11 at 0x192139 info: Give pokemon [pokemon][level][item][trainer2b][...] long_info: Gives a PKMN if there's space feedback: trainer id [2D][PKMN][PKMNlvl][PKMNitem][TRAINER] trainer: 00 = HIRO 01 = after the main code there are 4 bytes added [2byte pointer to trainer's name (max.0x0A figures + 0x50)][2byte pointer to nickname (max.0x0A figures + 0x50)] parsing command byte 0x0 for map 12.11 at 0x192142 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x91 for map 12.11 at 0x192145 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=9 y=7 parsing command byte 0x53 for map 12.11 at 0x19212f info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x1e for map 12.11 at 0x192130 info: Write byte value to pre-ID-mapped RAM location [aa][xx] long_info: Writes variable xx to special game-technical value offsets. [1E][following part][xx] where [following part] is the same as 0x1C parsing command byte 0x25 for map 12.11 at 0x192133 info: Give coins to HIRO [xxyy] long_info: Gives coins to HIRO. yyxx = amount of coins (0000 - 270F) [25][xxyy] parsing command byte 0x3b for map 12.11 at 0x192136 info: Blackout warp modifier [map group][map id] long_info: Changes the map HIRO arrives at, after having a blackout. There needs to be flying data for that map. [3B][Map bank][Map no] parsing command byte 0x2d for map 12.11 at 0x192139 info: Give pokemon [pokemon][level][item][trainer2b][...] long_info: Gives a PKMN if there's space feedback: trainer id [2D][PKMN][PKMNlvl][PKMNitem][TRAINER] trainer: 00 = HIRO 01 = after the main code there are 4 bytes added [2byte pointer to trainer's name (max.0x0A figures + 0x50)][2byte pointer to nickname (max.0x0A figures + 0x50)] parsing command byte 0x0 for map 12.11 at 0x192142 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x91 for map 12.11 at 0x192145 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=1 y=9 parsing command byte 0x53 for map 12.11 at 0x19212f info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x1e for map 12.11 at 0x192130 info: Write byte value to pre-ID-mapped RAM location [aa][xx] long_info: Writes variable xx to special game-technical value offsets. [1E][following part][xx] where [following part] is the same as 0x1C parsing command byte 0x25 for map 12.11 at 0x192133 info: Give coins to HIRO [xxyy] long_info: Gives coins to HIRO. yyxx = amount of coins (0000 - 270F) [25][xxyy] parsing command byte 0x3b for map 12.11 at 0x192136 info: Blackout warp modifier [map group][map id] long_info: Changes the map HIRO arrives at, after having a blackout. There needs to be flying data for that map. [3B][Map bank][Map no] parsing command byte 0x2d for map 12.11 at 0x192139 info: Give pokemon [pokemon][level][item][trainer2b][...] long_info: Gives a PKMN if there's space feedback: trainer id [2D][PKMN][PKMNlvl][PKMNitem][TRAINER] trainer: 00 = HIRO 01 = after the main code there are 4 bytes added [2byte pointer to trainer's name (max.0x0A figures + 0x50)][2byte pointer to nickname (max.0x0A figures + 0x50)] parsing command byte 0x0 for map 12.11 at 0x192142 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x91 for map 12.11 at 0x192145 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=3 y=9 parsing command byte 0x53 for map 12.11 at 0x19212f info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x1e for map 12.11 at 0x192130 info: Write byte value to pre-ID-mapped RAM location [aa][xx] long_info: Writes variable xx to special game-technical value offsets. [1E][following part][xx] where [following part] is the same as 0x1C parsing command byte 0x25 for map 12.11 at 0x192133 info: Give coins to HIRO [xxyy] long_info: Gives coins to HIRO. yyxx = amount of coins (0000 - 270F) [25][xxyy] parsing command byte 0x3b for map 12.11 at 0x192136 info: Blackout warp modifier [map group][map id] long_info: Changes the map HIRO arrives at, after having a blackout. There needs to be flying data for that map. [3B][Map bank][Map no] parsing command byte 0x2d for map 12.11 at 0x192139 info: Give pokemon [pokemon][level][item][trainer2b][...] long_info: Gives a PKMN if there's space feedback: trainer id [2D][PKMN][PKMNlvl][PKMNitem][TRAINER] trainer: 00 = HIRO 01 = after the main code there are 4 bytes added [2byte pointer to trainer's name (max.0x0A figures + 0x50)][2byte pointer to nickname (max.0x0A figures + 0x50)] parsing command byte 0x0 for map 12.11 at 0x192142 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x91 for map 12.11 at 0x192145 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=5 y=9 parsing command byte 0x53 for map 12.11 at 0x19212f info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x1e for map 12.11 at 0x192130 info: Write byte value to pre-ID-mapped RAM location [aa][xx] long_info: Writes variable xx to special game-technical value offsets. [1E][following part][xx] where [following part] is the same as 0x1C parsing command byte 0x25 for map 12.11 at 0x192133 info: Give coins to HIRO [xxyy] long_info: Gives coins to HIRO. yyxx = amount of coins (0000 - 270F) [25][xxyy] parsing command byte 0x3b for map 12.11 at 0x192136 info: Blackout warp modifier [map group][map id] long_info: Changes the map HIRO arrives at, after having a blackout. There needs to be flying data for that map. [3B][Map bank][Map no] parsing command byte 0x2d for map 12.11 at 0x192139 info: Give pokemon [pokemon][level][item][trainer2b][...] long_info: Gives a PKMN if there's space feedback: trainer id [2D][PKMN][PKMNlvl][PKMNitem][TRAINER] trainer: 00 = HIRO 01 = after the main code there are 4 bytes added [2byte pointer to trainer's name (max.0x0A figures + 0x50)][2byte pointer to nickname (max.0x0A figures + 0x50)] parsing command byte 0x0 for map 12.11 at 0x192142 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x91 for map 12.11 at 0x192145 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=7 y=9 parsing command byte 0x53 for map 12.11 at 0x19212f info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x1e for map 12.11 at 0x192130 info: Write byte value to pre-ID-mapped RAM location [aa][xx] long_info: Writes variable xx to special game-technical value offsets. [1E][following part][xx] where [following part] is the same as 0x1C parsing command byte 0x25 for map 12.11 at 0x192133 info: Give coins to HIRO [xxyy] long_info: Gives coins to HIRO. yyxx = amount of coins (0000 - 270F) [25][xxyy] parsing command byte 0x3b for map 12.11 at 0x192136 info: Blackout warp modifier [map group][map id] long_info: Changes the map HIRO arrives at, after having a blackout. There needs to be flying data for that map. [3B][Map bank][Map no] parsing command byte 0x2d for map 12.11 at 0x192139 info: Give pokemon [pokemon][level][item][trainer2b][...] long_info: Gives a PKMN if there's space feedback: trainer id [2D][PKMN][PKMNlvl][PKMNitem][TRAINER] trainer: 00 = HIRO 01 = after the main code there are 4 bytes added [2byte pointer to trainer's name (max.0x0A figures + 0x50)][2byte pointer to nickname (max.0x0A figures + 0x50)] parsing command byte 0x0 for map 12.11 at 0x192142 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x91 for map 12.11 at 0x192145 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=9 y=9 parsing command byte 0x53 for map 12.11 at 0x19212f info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x1e for map 12.11 at 0x192130 info: Write byte value to pre-ID-mapped RAM location [aa][xx] long_info: Writes variable xx to special game-technical value offsets. [1E][following part][xx] where [following part] is the same as 0x1C parsing command byte 0x25 for map 12.11 at 0x192133 info: Give coins to HIRO [xxyy] long_info: Gives coins to HIRO. yyxx = amount of coins (0000 - 270F) [25][xxyy] parsing command byte 0x3b for map 12.11 at 0x192136 info: Blackout warp modifier [map group][map id] long_info: Changes the map HIRO arrives at, after having a blackout. There needs to be flying data for that map. [3B][Map bank][Map no] parsing command byte 0x2d for map 12.11 at 0x192139 info: Give pokemon [pokemon][level][item][trainer2b][...] long_info: Gives a PKMN if there's space feedback: trainer id [2D][PKMN][PKMNlvl][PKMNitem][TRAINER] trainer: 00 = HIRO 01 = after the main code there are 4 bytes added [2byte pointer to trainer's name (max.0x0A figures + 0x50)][2byte pointer to nickname (max.0x0A figures + 0x50)] parsing command byte 0x0 for map 12.11 at 0x192142 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x91 for map 12.11 at 0x192145 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=1 y=11 parsing command byte 0x53 for map 12.11 at 0x19212f info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x1e for map 12.11 at 0x192130 info: Write byte value to pre-ID-mapped RAM location [aa][xx] long_info: Writes variable xx to special game-technical value offsets. [1E][following part][xx] where [following part] is the same as 0x1C parsing command byte 0x25 for map 12.11 at 0x192133 info: Give coins to HIRO [xxyy] long_info: Gives coins to HIRO. yyxx = amount of coins (0000 - 270F) [25][xxyy] parsing command byte 0x3b for map 12.11 at 0x192136 info: Blackout warp modifier [map group][map id] long_info: Changes the map HIRO arrives at, after having a blackout. There needs to be flying data for that map. [3B][Map bank][Map no] parsing command byte 0x2d for map 12.11 at 0x192139 info: Give pokemon [pokemon][level][item][trainer2b][...] long_info: Gives a PKMN if there's space feedback: trainer id [2D][PKMN][PKMNlvl][PKMNitem][TRAINER] trainer: 00 = HIRO 01 = after the main code there are 4 bytes added [2byte pointer to trainer's name (max.0x0A figures + 0x50)][2byte pointer to nickname (max.0x0A figures + 0x50)] parsing command byte 0x0 for map 12.11 at 0x192142 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x91 for map 12.11 at 0x192145 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=3 y=11 parsing command byte 0x53 for map 12.11 at 0x19212f info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x1e for map 12.11 at 0x192130 info: Write byte value to pre-ID-mapped RAM location [aa][xx] long_info: Writes variable xx to special game-technical value offsets. [1E][following part][xx] where [following part] is the same as 0x1C parsing command byte 0x25 for map 12.11 at 0x192133 info: Give coins to HIRO [xxyy] long_info: Gives coins to HIRO. yyxx = amount of coins (0000 - 270F) [25][xxyy] parsing command byte 0x3b for map 12.11 at 0x192136 info: Blackout warp modifier [map group][map id] long_info: Changes the map HIRO arrives at, after having a blackout. There needs to be flying data for that map. [3B][Map bank][Map no] parsing command byte 0x2d for map 12.11 at 0x192139 info: Give pokemon [pokemon][level][item][trainer2b][...] long_info: Gives a PKMN if there's space feedback: trainer id [2D][PKMN][PKMNlvl][PKMNitem][TRAINER] trainer: 00 = HIRO 01 = after the main code there are 4 bytes added [2byte pointer to trainer's name (max.0x0A figures + 0x50)][2byte pointer to nickname (max.0x0A figures + 0x50)] parsing command byte 0x0 for map 12.11 at 0x192142 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x91 for map 12.11 at 0x192145 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=5 y=11 parsing command byte 0x53 for map 12.11 at 0x19212f info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x1e for map 12.11 at 0x192130 info: Write byte value to pre-ID-mapped RAM location [aa][xx] long_info: Writes variable xx to special game-technical value offsets. [1E][following part][xx] where [following part] is the same as 0x1C parsing command byte 0x25 for map 12.11 at 0x192133 info: Give coins to HIRO [xxyy] long_info: Gives coins to HIRO. yyxx = amount of coins (0000 - 270F) [25][xxyy] parsing command byte 0x3b for map 12.11 at 0x192136 info: Blackout warp modifier [map group][map id] long_info: Changes the map HIRO arrives at, after having a blackout. There needs to be flying data for that map. [3B][Map bank][Map no] parsing command byte 0x2d for map 12.11 at 0x192139 info: Give pokemon [pokemon][level][item][trainer2b][...] long_info: Gives a PKMN if there's space feedback: trainer id [2D][PKMN][PKMNlvl][PKMNitem][TRAINER] trainer: 00 = HIRO 01 = after the main code there are 4 bytes added [2byte pointer to trainer's name (max.0x0A figures + 0x50)][2byte pointer to nickname (max.0x0A figures + 0x50)] parsing command byte 0x0 for map 12.11 at 0x192142 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x91 for map 12.11 at 0x192145 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=7 y=11 parsing command byte 0x53 for map 12.11 at 0x19212f info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x1e for map 12.11 at 0x192130 info: Write byte value to pre-ID-mapped RAM location [aa][xx] long_info: Writes variable xx to special game-technical value offsets. [1E][following part][xx] where [following part] is the same as 0x1C parsing command byte 0x25 for map 12.11 at 0x192133 info: Give coins to HIRO [xxyy] long_info: Gives coins to HIRO. yyxx = amount of coins (0000 - 270F) [25][xxyy] parsing command byte 0x3b for map 12.11 at 0x192136 info: Blackout warp modifier [map group][map id] long_info: Changes the map HIRO arrives at, after having a blackout. There needs to be flying data for that map. [3B][Map bank][Map no] parsing command byte 0x2d for map 12.11 at 0x192139 info: Give pokemon [pokemon][level][item][trainer2b][...] long_info: Gives a PKMN if there's space feedback: trainer id [2D][PKMN][PKMNlvl][PKMNitem][TRAINER] trainer: 00 = HIRO 01 = after the main code there are 4 bytes added [2byte pointer to trainer's name (max.0x0A figures + 0x50)][2byte pointer to nickname (max.0x0A figures + 0x50)] parsing command byte 0x0 for map 12.11 at 0x192142 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x91 for map 12.11 at 0x192145 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=9 y=11 parsing command byte 0x53 for map 12.11 at 0x19212f info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x1e for map 12.11 at 0x192130 info: Write byte value to pre-ID-mapped RAM location [aa][xx] long_info: Writes variable xx to special game-technical value offsets. [1E][following part][xx] where [following part] is the same as 0x1C parsing command byte 0x25 for map 12.11 at 0x192133 info: Give coins to HIRO [xxyy] long_info: Gives coins to HIRO. yyxx = amount of coins (0000 - 270F) [25][xxyy] parsing command byte 0x3b for map 12.11 at 0x192136 info: Blackout warp modifier [map group][map id] long_info: Changes the map HIRO arrives at, after having a blackout. There needs to be flying data for that map. [3B][Map bank][Map no] parsing command byte 0x2d for map 12.11 at 0x192139 info: Give pokemon [pokemon][level][item][trainer2b][...] long_info: Gives a PKMN if there's space feedback: trainer id [2D][PKMN][PKMNlvl][PKMNitem][TRAINER] trainer: 00 = HIRO 01 = after the main code there are 4 bytes added [2byte pointer to trainer's name (max.0x0A figures + 0x50)][2byte pointer to nickname (max.0x0A figures + 0x50)] parsing command byte 0x0 for map 12.11 at 0x192142 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x91 for map 12.11 at 0x192145 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=3 y=15 parsing command byte 0x34 for map 12.11 at 0x192132 info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map 12.11 at 0x192135 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0xc for map 12.11 at 0x192138 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=6 y=15 parsing command byte 0x34 for map 12.11 at 0x192132 info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map 12.11 at 0x192135 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0xc for map 12.11 at 0x192138 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 12 map_id is: 12 event header address is: 0x192807 skipping event data... (oops) parsing command byte 0x91 for map 12.12 at 0x1926e9 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 12 map_id is: 13 event header address is: 0x192830 skipping event data... (oops) map_group is: 13 map_id is: 1 event header address is: 0x1ac69a parsing signpost script.. signpost is at: x=7 y=27 parsing command byte 0x53 for map 13.1 at 0x1ac57e info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x75 for map 13.1 at 0x1ac57f info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0x1a for map 13.1 at 0x1ac582 info: Write variable from script RAM variable to actual RAM address [xxyy] long_info: Writes variable from RAM to actual RAM address. [1A][2-byte RAM address] parsing command byte 0xa5 for map 13.1 at 0x1ac585 info: None long_info: None skipping event data... (oops) map_group is: 13 map_id is: 2 event header address is: 0x1ac7cf parsing signpost script.. signpost is at: x=7 y=9 parsing command byte 0x53 for map 13.2 at 0x1ac6db info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x6b for map 13.2 at 0x1ac6dc info: Move facing direction of person1 to look at person2 [2][1] long_info: Turns the head of person1 to another person2. [6B][Person2][Person1] Person2 = If number is greater than 0xFD, then use number of talked-to person. Person1 = If number equals 0xFE, then take number of talked-to person. parsing command byte 0x9d for map 13.2 at 0x1ac6df info: Give item by id and quantity with 'put in pocket' text [id][qty] long_info: The same as 0x1F but this code comments where HIRO puts what item in a short monologue. [9D][Item][Amount] parsing command byte 0xaa for map 13.2 at 0x1ac6e2 info: None long_info: None parsing signpost script.. signpost is at: x=3 y=5 parsing command byte 0x53 for map 13.2 at 0x1ac6de info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x9d for map 13.2 at 0x1ac6df info: Give item by id and quantity with 'put in pocket' text [id][qty] long_info: The same as 0x1F but this code comments where HIRO puts what item in a short monologue. [9D][Item][Amount] parsing command byte 0xaa for map 13.2 at 0x1ac6e2 info: None long_info: None parsing signpost script.. signpost is at: x=13 y=13 parsing command byte 0x53 for map 13.2 at 0x1ac6e1 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xaa for map 13.2 at 0x1ac6e2 info: None long_info: None parsing signpost script.. signpost is at: x=11 y=5 parsing command byte 0x53 for map 13.2 at 0x1ac6e4 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xc1 for map 13.2 at 0x1ac6e5 info: None long_info: None skipping event data... (oops) parsing command byte 0x36 for map None.None at 0x1ac6d1 info: Set (to 1) a bit on bit table 2 [xxyy] long_info: Sets a bit of BitTable2 to value 1. [36][Bit no (2byte)] parsing command byte 0x90 for map None.None at 0x1ac6d4 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 13 map_id is: 3 event header address is: 0x19b017 parsing signpost script.. signpost is at: x=0 y=1 parsing command byte 0xc for map 13.3 at 0x19aebd info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=1 y=1 parsing command byte 0xc for map 13.3 at 0x19aebd info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=2 y=1 parsing command byte 0x53 for map 13.3 at 0x19aeba info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xe8 for map 13.3 at 0x19aebb info: None long_info: None skipping event data... (oops) parsing command byte 0x91 for map 13.3 at 0x19aea2 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 13 map_id is: 4 event header address is: 0x19b0b9 parsing signpost script.. signpost is at: x=3 y=5 parsing command byte 0x53 for map 13.4 at 0x19b04a info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x50 for map 13.4 at 0x19b04b info: Write screen backup long_info: Writes backup of parts of the screen the box was overlapping. parsing command byte 0x70 for map 13.4 at 0x19b04c info: Stop all follow code long_info: Ends all current follow codes. parsing command byte 0x53 for map 13.4 at 0x19b04d info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x87 for map 13.4 at 0x19b04e info: Special sound if TM was last checked long_info: When last given/checked Item was a TM then it plays sound 0x9B. If not, then 0x01. [87] parsing command byte 0x70 for map 13.4 at 0x19b04f info: Stop all follow code long_info: Ends all current follow codes. parsing command byte 0x0 for map 13.4 at 0x19b050 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xaf for map 13.4 at 0x19b053 info: None long_info: None parsing signpost script.. signpost is at: x=0 y=1 parsing command byte 0x53 for map 13.4 at 0x19b04d info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x87 for map 13.4 at 0x19b04e info: Special sound if TM was last checked long_info: When last given/checked Item was a TM then it plays sound 0x9B. If not, then 0x01. [87] parsing command byte 0x70 for map 13.4 at 0x19b04f info: Stop all follow code long_info: Ends all current follow codes. parsing command byte 0x0 for map 13.4 at 0x19b050 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xaf for map 13.4 at 0x19b053 info: None long_info: None skipping event data... (oops) map_group is: 13 map_id is: 5 event header address is: 0x19b3a8 skipping event data... (oops) map_group is: 13 map_id is: 6 event header address is: 0x19ba33 parsing signpost script.. signpost is at: x=6 y=1 parsing command byte 0xc for map 13.6 at 0x19b418 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=7 y=1 parsing command byte 0xc for map 13.6 at 0x19b418 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=8 y=1 parsing command byte 0xc for map 13.6 at 0x19b418 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=9 y=1 parsing command byte 0xc for map 13.6 at 0x19b418 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=0 y=7 parsing command byte 0xc for map 13.6 at 0x19b418 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=1 y=7 parsing command byte 0xc for map 13.6 at 0x19b418 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=2 y=7 parsing command byte 0xc for map 13.6 at 0x19b418 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=3 y=7 parsing command byte 0xc for map 13.6 at 0x19b418 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=6 y=7 parsing command byte 0xc for map 13.6 at 0x19b418 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=7 y=7 parsing command byte 0xc for map 13.6 at 0x19b418 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=8 y=7 parsing command byte 0xc for map 13.6 at 0x19b418 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=9 y=7 parsing command byte 0xc for map 13.6 at 0x19b418 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=4 y=0 parsing command byte 0x53 for map 13.6 at 0x19b41b info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xea for map 13.6 at 0x19b41c info: None long_info: None parsing signpost script.. signpost is at: x=5 y=0 parsing command byte 0x53 for map 13.6 at 0x19b41e info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x9 for map 13.6 at 0x19b41f info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x45 for map 13.6 at 0x19b422 info: Show HIRO put the ITEMNAME in the ITEMPOCKET text box long_info: Text box: "HIRO put the ITEMNAME in the ITEMPOCKET." The item number has to have been loaded beforehand (e.g. by Give item code). parsing command byte 0x79 for map 13.6 at 0x19b423 info: Change block to block id on map [xx][yy][id] long_info: Changes a block on the current map by giving the new block number and its X/Y values measured in half-blocks. [79][X][Y][Block] parsing command byte 0x0 for map 13.6 at 0x19b427 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x8a for map 13.6 at 0x19b42a info: Wait code long_info: This code lets the game wait for 2 * xx time intervals. [8A][xx] xx: Numbers from 0x01 to 0xFF. If 0x00 is chosen then the time can be manipulated by previously loading a number to RAM2. parsing command byte 0x7f for map 13.6 at 0x19b42c info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0x80 for map 13.6 at 0x19b42d info: Music fade-out then play next [xxyy][time] long_info: The current music is faded out and the new music is played afterwards. [80][Music no (2byte)][Time to fade out (00-7F)] parsing command byte 0x14 for map 13.6 at 0x19b431 info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0x4f for map 13.6 at 0x19b433 info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0xd4 for map 13.6 at 0x19b436 info: None long_info: None parsing signpost script.. signpost is at: x=9 y=3 parsing command byte 0x53 for map 13.6 at 0x19b421 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x45 for map 13.6 at 0x19b422 info: Show HIRO put the ITEMNAME in the ITEMPOCKET text box long_info: Text box: "HIRO put the ITEMNAME in the ITEMPOCKET." The item number has to have been loaded beforehand (e.g. by Give item code). parsing command byte 0x79 for map 13.6 at 0x19b423 info: Change block to block id on map [xx][yy][id] long_info: Changes a block on the current map by giving the new block number and its X/Y values measured in half-blocks. [79][X][Y][Block] parsing command byte 0x0 for map 13.6 at 0x19b427 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x8a for map 13.6 at 0x19b42a info: Wait code long_info: This code lets the game wait for 2 * xx time intervals. [8A][xx] xx: Numbers from 0x01 to 0xFF. If 0x00 is chosen then the time can be manipulated by previously loading a number to RAM2. parsing command byte 0x7f for map 13.6 at 0x19b42c info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0x80 for map 13.6 at 0x19b42d info: Music fade-out then play next [xxyy][time] long_info: The current music is faded out and the new music is played afterwards. [80][Music no (2byte)][Time to fade out (00-7F)] parsing command byte 0x14 for map 13.6 at 0x19b431 info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0x4f for map 13.6 at 0x19b433 info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0xd4 for map 13.6 at 0x19b436 info: None long_info: None parsing signpost script.. signpost is at: x=0 y=1 parsing command byte 0x53 for map 13.6 at 0x19b424 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x5e for map 13.6 at 0x19b425 info: Start pre-configured battle long_info: Starts trainer or Pokémon battle. BattleRAM: 80 = Poké battle; 81 = Trainer battle. feedback: 00 = win 01 = lose parsing command byte 0x79 for map 13.6 at 0x19b426 info: Change block to block id on map [xx][yy][id] long_info: Changes a block on the current map by giving the new block number and its X/Y values measured in half-blocks. [79][X][Y][Block] parsing command byte 0x8a for map 13.6 at 0x19b42a info: Wait code long_info: This code lets the game wait for 2 * xx time intervals. [8A][xx] xx: Numbers from 0x01 to 0xFF. If 0x00 is chosen then the time can be manipulated by previously loading a number to RAM2. parsing command byte 0x7f for map 13.6 at 0x19b42c info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0x80 for map 13.6 at 0x19b42d info: Music fade-out then play next [xxyy][time] long_info: The current music is faded out and the new music is played afterwards. [80][Music no (2byte)][Time to fade out (00-7F)] parsing command byte 0x14 for map 13.6 at 0x19b431 info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0x4f for map 13.6 at 0x19b433 info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0xd4 for map 13.6 at 0x19b436 info: None long_info: None skipping event data... (oops) map_group is: 14 map_id is: 1 event header address is: 0x1ae18a parsing signpost script.. signpost is at: x=49 y=13 parsing command byte 0x53 for map 14.1 at 0x1adfb5 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x63 for map 14.1 at 0x1adfb6 info: Set win/lose pointers for battle [xxyy][xxyy] long_info: Writes the win/lose pointer of a battle into the ram. [63][2byte pointer to text Win][2byte pointer to text Loss*] * When pointer = 0000 then "Blackout" instead of return to gameplay. parsing command byte 0xe7 for map 14.1 at 0x1adfbb info: None long_info: None skipping event data... (oops) map_group is: 14 map_id is: 2 event header address is: 0x18c2f5 parsing signpost script.. signpost is at: x=25 y=23 parsing command byte 0x53 for map 14.2 at 0x18c029 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xff for map 14.2 at 0x18c02a info: None long_info: None parsing signpost script.. signpost is at: x=11 y=17 parsing command byte 0x53 for map 14.2 at 0x18c02c info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x1e for map 14.2 at 0x18c02d info: Write byte value to pre-ID-mapped RAM location [aa][xx] long_info: Writes variable xx to special game-technical value offsets. [1E][following part][xx] where [following part] is the same as 0x1C parsing command byte 0x5e for map 14.2 at 0x18c030 info: Start pre-configured battle long_info: Starts trainer or Pokémon battle. BattleRAM: 80 = Poké battle; 81 = Trainer battle. feedback: 00 = win 01 = lose parsing command byte 0x42 for map 14.2 at 0x18c031 info: Copy map name to memX [xx] long_info: Writes current location's name to MEMORY1, 2 or 3 for later use in text. [42][00-02 MEMORY] parsing command byte 0xa9 for map 14.2 at 0x18c033 info: None long_info: None parsing signpost script.. signpost is at: x=15 y=9 parsing command byte 0x53 for map 14.2 at 0x18c02f info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x5e for map 14.2 at 0x18c030 info: Start pre-configured battle long_info: Starts trainer or Pokémon battle. BattleRAM: 80 = Poké battle; 81 = Trainer battle. feedback: 00 = win 01 = lose parsing command byte 0x42 for map 14.2 at 0x18c031 info: Copy map name to memX [xx] long_info: Writes current location's name to MEMORY1, 2 or 3 for later use in text. [42][00-02 MEMORY] parsing command byte 0xa9 for map 14.2 at 0x18c033 info: None long_info: None parsing signpost script.. signpost is at: x=33 y=19 parsing command byte 0x53 for map 14.2 at 0x18c032 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xa9 for map 14.2 at 0x18c033 info: None long_info: None parsing signpost script.. signpost is at: x=19 y=29 parsing command byte 0x53 for map 14.2 at 0x18c035 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xdc for map 14.2 at 0x18c036 info: None long_info: None parsing signpost script.. signpost is at: x=14 y=25 parsing command byte 0xc for map 14.2 at 0x18c038 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=24 y=17 parsing command byte 0xc for map 14.2 at 0x18c03b info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) parsing command byte 0x36 for map None.None at 0x18c005 info: Set (to 1) a bit on bit table 2 [xxyy] long_info: Sets a bit of BitTable2 to value 1. [36][Bit no (2byte)] parsing command byte 0x90 for map None.None at 0x18c008 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 14 map_id is: 3 event header address is: 0x1a2838 skipping event data... (oops) map_group is: 14 map_id is: 4 event header address is: 0x1a2d88 parsing signpost script.. signpost is at: x=2 y=11 parsing command byte 0x34 for map 14.4 at 0x1a28c0 info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map 14.4 at 0x1a28c3 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0xc for map 14.4 at 0x1a28c6 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=7 y=11 parsing command byte 0x34 for map 14.4 at 0x1a28c0 info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map 14.4 at 0x1a28c3 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0xc for map 14.4 at 0x1a28c6 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 14 map_id is: 5 event header address is: 0x1a2eae skipping event data... (oops) map_group is: 14 map_id is: 6 event header address is: 0x1a2ff4 skipping event data... (oops) map_group is: 14 map_id is: 7 event header address is: 0x1a304c skipping event data... (oops) map_group is: 14 map_id is: 8 event header address is: 0x1a308a parsing signpost script.. signpost is at: x=0 y=1 parsing command byte 0xc for map 14.8 at 0x1a305c info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=1 y=1 parsing command byte 0xc for map 14.8 at 0x1a305c info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 15 map_id is: 1 event header address is: 0x74d18 parsing xy trigger byte scripts... x=7 y=15 parsing command byte 0x76 for map 15.1 at 0x7491f info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x31 for map 15.1 at 0x74922 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 15.1 at 0x74925 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x31 for map 15.1 at 0x74928 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 15.1 at 0x7492b info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x76 for map 15.1 at 0x7492e info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x47 for map 15.1 at 0x74931 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x31 for map 15.1 at 0x74932 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x8 for map 15.1 at 0x74935 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x1c for map 15.1 at 0x74938 info: Check pre-ID-mapped RAM location [xx] long_info: Checks special game-technical values and writes then into RAM. [1C][following part][Ram check (when <> 08/09 see „numbers“ in list of following parts)] following part (and then hex values) 01 = PKMN count in party 00 - 06 02 = ??? 03 = Battle type of wild PKMN 04 = ??? 05 = PokéDex caught 00 - FA 06 = PokéDex seen 00 - FA 07 = Badge count 00 - 10 08 = Movement 00 = walk 01 = bike 02 = slipping 04 = surfer 08 = surfing pikachu 09 = HIRO direction 00 (d) 01 (u) 02 (l) 03 (r) 0A = Time in hours 00 - 18 0B = Day 00 (Mo) - 06 (Su) 0C = Map bank of current map 0D = Map no of current map 0E = Num. of diff. unowns seen 00 - 1A 0F = Action byte of map 10 = Amount of free spaces in pkmn box 00 - 14 11 = Minutes until end bug contest 00 - 14 12 = X position of HIRO 13 = Y position of HIRO 14 = phone call number parsing command byte 0x6 for map 15.1 at 0x7493a info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x49 for map 15.1 at 0x7493d info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x6 for map 15.1 at 0x7493e info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x49 for map 15.1 at 0x74941 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x6 for map 15.1 at 0x74942 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x49 for map 15.1 at 0x74945 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x6 for map 15.1 at 0x74946 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x49 for map 15.1 at 0x74949 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x6 for map 15.1 at 0x7494a info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x49 for map 15.1 at 0x7494d info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x4c for map 15.1 at 0x7494e info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x4e for map 15.1 at 0x74951 info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x8 for map 15.1 at 0x74952 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4c for map 15.1 at 0x74955 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x55 for map 15.1 at 0x74958 info: Display a pokemon picture in a box by pokemon id [xx] long_info: Opens a box and puts a Pokémon picture into it. [55][xx] xx: <>00 : Pokémon no =00 : Pokémon no gets read from RAM parsing command byte 0x44 for map 15.1 at 0x7495a info: Copy text (by pointer) to memX [aabb][xx] long_info: Writes string to MEMORY1, 2 or 3 for later use in text. [44][2byte pointer to string (max. 0x0C figures + 0x50)][00-02 MEMORY] See 0C codes: 0C2900, 0C2A00, 0C1B00, 0C2200, Usage of variable strings in text. parsing command byte 0x4c for map 15.1 at 0x7495e info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 15.1 at 0x74961 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 15.1 at 0x74962 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x33 for map 15.1 at 0x74963 info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x69 for map 15.1 at 0x74966 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x4a for map 15.1 at 0x74969 info: Load specific byte to $C1CE [xx] long_info: Loads a byte to C1CE. Seems to have no function in the game. [4A][Byte] parsing command byte 0xc0 for map 15.1 at 0x7496b info: None long_info: None parsing signpost script.. signpost is at: x=1 y=22 parsing command byte 0xea for map 15.1 at 0x74a2d info: None long_info: None skipping event data... (oops) parsing command byte 0x91 for map 15.1 at 0x748ac info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x8d for map 15.1 at 0x748ad info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0xb1 for map 15.1 at 0x748ae info: None long_info: None map_group is: 15 map_id is: 2 event header address is: 0x750e3 parsing xy trigger byte scripts... x=7 y=11 parsing command byte 0x76 for map 15.2 at 0x74e20 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x31 for map 15.2 at 0x74e23 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 15.2 at 0x74e26 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x31 for map 15.2 at 0x74e29 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 15.2 at 0x74e2c info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x76 for map 15.2 at 0x74e2f info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x47 for map 15.2 at 0x74e32 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x1c for map 15.2 at 0x74e33 info: Check pre-ID-mapped RAM location [xx] long_info: Checks special game-technical values and writes then into RAM. [1C][following part][Ram check (when <> 08/09 see „numbers“ in list of following parts)] following part (and then hex values) 01 = PKMN count in party 00 - 06 02 = ??? 03 = Battle type of wild PKMN 04 = ??? 05 = PokéDex caught 00 - FA 06 = PokéDex seen 00 - FA 07 = Badge count 00 - 10 08 = Movement 00 = walk 01 = bike 02 = slipping 04 = surfer 08 = surfing pikachu 09 = HIRO direction 00 (d) 01 (u) 02 (l) 03 (r) 0A = Time in hours 00 - 18 0B = Day 00 (Mo) - 06 (Su) 0C = Map bank of current map 0D = Map no of current map 0E = Num. of diff. unowns seen 00 - 1A 0F = Action byte of map 10 = Amount of free spaces in pkmn box 00 - 14 11 = Minutes until end bug contest 00 - 14 12 = X position of HIRO 13 = Y position of HIRO 14 = phone call number parsing command byte 0x6 for map 15.2 at 0x74e35 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4e for map 15.2 at 0x74e38 info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x6 for map 15.2 at 0x74e39 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4e for map 15.2 at 0x74e3c info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x6 for map 15.2 at 0x74e3d info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4e for map 15.2 at 0x74e40 info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x6 for map 15.2 at 0x74e41 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4e for map 15.2 at 0x74e44 info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x6 for map 15.2 at 0x74e45 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4e for map 15.2 at 0x74e48 info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x4c for map 15.2 at 0x74e49 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x4e for map 15.2 at 0x74e4c info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x8 for map 15.2 at 0x74e4d info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4c for map 15.2 at 0x74e50 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x55 for map 15.2 at 0x74e53 info: Display a pokemon picture in a box by pokemon id [xx] long_info: Opens a box and puts a Pokémon picture into it. [55][xx] xx: <>00 : Pokémon no =00 : Pokémon no gets read from RAM parsing command byte 0x44 for map 15.2 at 0x74e55 info: Copy text (by pointer) to memX [aabb][xx] long_info: Writes string to MEMORY1, 2 or 3 for later use in text. [44][2byte pointer to string (max. 0x0C figures + 0x50)][00-02 MEMORY] See 0C codes: 0C2900, 0C2A00, 0C1B00, 0C2200, Usage of variable strings in text. parsing command byte 0x4c for map 15.2 at 0x74e59 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 15.2 at 0x74e5c info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 15.2 at 0x74e5d info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x33 for map 15.2 at 0x74e5e info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x69 for map 15.2 at 0x74e61 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x4e for map 15.2 at 0x74e64 info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x3 for map 15.2 at 0x74e65 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x4c for map 15.2 at 0x74e68 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 15.2 at 0x74e6b info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 15.2 at 0x74e6c info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x69 for map 15.2 at 0x74e6d info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x4e for map 15.2 at 0x74e70 info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x91 for map 15.2 at 0x74e71 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=16 y=13 parsing command byte 0xeb for map 15.2 at 0x74eee info: None long_info: None skipping event data... (oops) parsing command byte 0x91 for map 15.2 at 0x74d9d info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x8d for map 15.2 at 0x74d9e info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0xa6 for map 15.2 at 0x74d9f info: None long_info: None parsing command byte 0x36 for map None.None at 0x74da2 info: Set (to 1) a bit on bit table 2 [xxyy] long_info: Sets a bit of BitTable2 to value 1. [36][Bit no (2byte)] parsing command byte 0x90 for map None.None at 0x74da5 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 15 map_id is: 3 event header address is: 0x754f1 parsing xy trigger byte scripts... x=24 y=6 parsing command byte 0x6f for map 15.3 at 0x751eb info: Following code1 [leader id][follower id] long_info: A person1 follows another person2. The person1 that follows just repeats the movement of person2, even if the persons are not directly next to each other. [6F][Leader Person2][Follower Person1] parsing command byte 0x5 for map 15.3 at 0x751ee info: pointer code long_info: 2byte pointer points to 3byte pointer; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x85 for map 15.3 at 0x751f1 info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0x41 for map 15.3 at 0x751f2 info: Copy item name (by id) to memX [id][xx] long_info: Writes item name to MEMORY1, 2 or 3 for later use in text. [41][Item no][00-02 MEMORY] parsing command byte 0x0 for map 15.3 at 0x751f5 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x69 for map 15.3 at 0x751f8 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x52 for map 15.3 at 0x751fb info: Display text (by pointer) and end [xxyy] long_info: Displays a text. Afterwards there is no other script interpreted. Corresponds to 47 + 4C + 53 + 49 + 90 [52][2byte textpointer] parsing xy trigger byte scripts... x=25 y=6 parsing command byte 0x72 for map 15.3 at 0x751e7 info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0x14 for map 15.3 at 0x751e9 info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0x6f for map 15.3 at 0x751eb info: Following code1 [leader id][follower id] long_info: A person1 follows another person2. The person1 that follows just repeats the movement of person2, even if the persons are not directly next to each other. [6F][Leader Person2][Follower Person1] parsing command byte 0x5 for map 15.3 at 0x751ee info: pointer code long_info: 2byte pointer points to 3byte pointer; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x85 for map 15.3 at 0x751f1 info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0x41 for map 15.3 at 0x751f2 info: Copy item name (by id) to memX [id][xx] long_info: Writes item name to MEMORY1, 2 or 3 for later use in text. [41][Item no][00-02 MEMORY] parsing command byte 0x0 for map 15.3 at 0x751f5 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x69 for map 15.3 at 0x751f8 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x52 for map 15.3 at 0x751fb info: Display text (by pointer) and end [xxyy] long_info: Displays a text. Afterwards there is no other script interpreted. Corresponds to 47 + 4C + 53 + 49 + 90 [52][2byte textpointer] skipping event data... (oops) parsing command byte 0x91 for map 15.3 at 0x75135 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x8d for map 15.3 at 0x75136 info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0x3b for map 15.3 at 0x75137 info: Blackout warp modifier [map group][map id] long_info: Changes the map HIRO arrives at, after having a blackout. There needs to be flying data for that map. [3B][Map bank][Map no] parsing command byte 0x91 for map 15.3 at 0x7513a info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 15.3 at 0x7513a info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 15 map_id is: 4 event header address is: 0x759ce parsing signpost script.. signpost is at: x=6 y=13 parsing command byte 0xc for map 15.4 at 0x75634 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=7 y=19 parsing command byte 0xc for map 15.4 at 0x75634 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=7 y=31 parsing command byte 0xc for map 15.4 at 0x75634 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 15 map_id is: 5 event header address is: 0x75e42 parsing signpost script.. signpost is at: x=7 y=1 parsing command byte 0x47 for map 15.5 at 0x75aac info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 15.5 at 0x75aad info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 15.5 at 0x75ab0 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 15.5 at 0x75ab1 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0xf for map 15.5 at 0x75ab2 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0xf for map 15.5 at 0x75ab5 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0xf for map 15.5 at 0x75ab8 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0xf for map 15.5 at 0x75abb info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x7f for map 15.5 at 0x75abe info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0xd for map 15.5 at 0x75abf info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0x3c for map 15.5 at 0x75ac2 info: Warp to [map group][map id][x][y] long_info: Warps to another map. If all data is 00s, then the current map is reloaded with the current X and Y coordinates. Old script is not finished without a [90]. [3C][Map bank][Map no][X][Y] parsing command byte 0x32 for map 15.5 at 0x75ac7 info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x4c for map 15.5 at 0x75aca info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 15.5 at 0x75acd info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 15.5 at 0x75ace info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x31 for map 15.5 at 0x75acf info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 15.5 at 0x75ad2 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x31 for map 15.5 at 0x75ad5 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 15.5 at 0x75ad8 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x31 for map 15.5 at 0x75adb info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 15.5 at 0x75ade info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x91 for map 15.5 at 0x75ae1 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=7 y=2 parsing command byte 0x47 for map 15.5 at 0x75aac info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 15.5 at 0x75aad info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 15.5 at 0x75ab0 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 15.5 at 0x75ab1 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0xf for map 15.5 at 0x75ab2 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0xf for map 15.5 at 0x75ab5 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0xf for map 15.5 at 0x75ab8 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0xf for map 15.5 at 0x75abb info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x7f for map 15.5 at 0x75abe info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0xd for map 15.5 at 0x75abf info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0x3c for map 15.5 at 0x75ac2 info: Warp to [map group][map id][x][y] long_info: Warps to another map. If all data is 00s, then the current map is reloaded with the current X and Y coordinates. Old script is not finished without a [90]. [3C][Map bank][Map no][X][Y] parsing command byte 0x32 for map 15.5 at 0x75ac7 info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x4c for map 15.5 at 0x75aca info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 15.5 at 0x75acd info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 15.5 at 0x75ace info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x31 for map 15.5 at 0x75acf info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 15.5 at 0x75ad2 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x31 for map 15.5 at 0x75ad5 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 15.5 at 0x75ad8 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x31 for map 15.5 at 0x75adb info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 15.5 at 0x75ade info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x91 for map 15.5 at 0x75ae1 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=7 y=7 parsing command byte 0xc for map 15.5 at 0x75b01 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 15 map_id is: 6 event header address is: 0x76678 parsing signpost script.. signpost is at: x=4 y=25 parsing command byte 0xc for map 15.6 at 0x76001 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 15 map_id is: 7 event header address is: 0x76ee9 parsing xy trigger byte scripts... x=30 y=7 parsing command byte 0x31 for map 15.7 at 0x7673c info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 15.7 at 0x7673f info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x69 for map 15.7 at 0x76742 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x68 for map 15.7 at 0x76745 info: Move person (by id) with moving data (by pointer) [id][xxyy] long_info: Moves the person using moving data. [68][Person][2byte pointer to moving data] see also http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzB68bis69 parsing command byte 0x6 for map 15.7 at 0x76749 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x8b for map 15.7 at 0x7674c info: Deactive static facing after time [xx] long_info: Deactivates static facings on all persons on the screen after a time xx. [8B][xx] parsing command byte 0x6e for map 15.7 at 0x7674e info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x91 for map 15.7 at 0x76750 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing xy trigger byte scripts... x=31 y=7 parsing command byte 0x31 for map 15.7 at 0x76751 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 15.7 at 0x76754 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x69 for map 15.7 at 0x76757 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x68 for map 15.7 at 0x7675a info: Move person (by id) with moving data (by pointer) [id][xxyy] long_info: Moves the person using moving data. [68][Person][2byte pointer to moving data] see also http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzB68bis69 parsing command byte 0x6 for map 15.7 at 0x7675e info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x8b for map 15.7 at 0x76761 info: Deactive static facing after time [xx] long_info: Deactivates static facings on all persons on the screen after a time xx. [8B][xx] parsing command byte 0x6e for map 15.7 at 0x76763 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x91 for map 15.7 at 0x76765 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=27 y=9 parsing command byte 0xc for map 15.7 at 0x7686e info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) parsing command byte 0x91 for map 15.7 at 0x7673a info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 15.7 at 0x7673b info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 15 map_id is: 8 event header address is: 0x76fec skipping event data... (oops) map_group is: 15 map_id is: 9 event header address is: 0x7705a skipping event data... (oops) map_group is: 15 map_id is: 10 event header address is: 0x77158 parsing xy trigger byte scripts... x=7 y=11 parsing command byte 0x34 for map 15.10 at 0x7709a info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map 15.10 at 0x7709d info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x1c for map 15.10 at 0x770a0 info: Check pre-ID-mapped RAM location [xx] long_info: Checks special game-technical values and writes then into RAM. [1C][following part][Ram check (when <> 08/09 see „numbers“ in list of following parts)] following part (and then hex values) 01 = PKMN count in party 00 - 06 02 = ??? 03 = Battle type of wild PKMN 04 = ??? 05 = PokéDex caught 00 - FA 06 = PokéDex seen 00 - FA 07 = Badge count 00 - 10 08 = Movement 00 = walk 01 = bike 02 = slipping 04 = surfer 08 = surfing pikachu 09 = HIRO direction 00 (d) 01 (u) 02 (l) 03 (r) 0A = Time in hours 00 - 18 0B = Day 00 (Mo) - 06 (Su) 0C = Map bank of current map 0D = Map no of current map 0E = Num. of diff. unowns seen 00 - 1A 0F = Action byte of map 10 = Amount of free spaces in pkmn box 00 - 14 11 = Minutes until end bug contest 00 - 14 12 = X position of HIRO 13 = Y position of HIRO 14 = phone call number parsing command byte 0x7 for map 15.10 at 0x770a2 info: RAM check [<>byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x71 for map 15.10 at 0x770a5 info: Move person by id to xy [id][xx][yy] long_info: Sets the X/Y values of a person anew. The person doesn't get shown immediately. Use hide&show. [71][Person][X][Y] parsing command byte 0x17 for map 15.10 at 0x770a9 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x6f for map 15.10 at 0x770ab info: Following code1 [leader id][follower id] long_info: A person1 follows another person2. The person1 that follows just repeats the movement of person2, even if the persons are not directly next to each other. [6F][Leader Person2][Follower Person1] parsing command byte 0x3 for map 15.10 at 0x770ae info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x21 for map 15.10 at 0x770b1 info: Check if player has item [xx] long_info: Checks if item is possessed. feedback: 00 = does not have item 01 = has item [21][item no] parsing command byte 0x8b for map 15.10 at 0x770b3 info: Deactive static facing after time [xx] long_info: Deactivates static facings on all persons on the screen after a time xx. [8B][xx] parsing command byte 0x6f for map 15.10 at 0x770b5 info: Following code1 [leader id][follower id] long_info: A person1 follows another person2. The person1 that follows just repeats the movement of person2, even if the persons are not directly next to each other. [6F][Leader Person2][Follower Person1] parsing command byte 0x2 for map 15.10 at 0x770b8 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x23 for map 15.10 at 0x770bb info: Take money from HIRO/account [xxyyzzaa] long_info: Takes zzyyxx money from HIRO/account. zzyyxx = amount of money (000000 - 0F423F) [23][00-HIRO/01-account][xxyyzz] parsing command byte 0x70 for map 15.10 at 0x770c0 info: Stop all follow code long_info: Ends all current follow codes. parsing command byte 0x2 for map 15.10 at 0x770c1 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x23 for map 15.10 at 0x770c4 info: Take money from HIRO/account [xxyyzzaa] long_info: Takes zzyyxx money from HIRO/account. zzyyxx = amount of money (000000 - 0F423F) [23][00-HIRO/01-account][xxyyzz] parsing command byte 0x71 for map 15.10 at 0x770c9 info: Move person by id to xy [id][xx][yy] long_info: Sets the X/Y values of a person anew. The person doesn't get shown immediately. Use hide&show. [71][Person][X][Y] parsing command byte 0x69 for map 15.10 at 0x770cd info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x71 for map 15.10 at 0x770d0 info: Move person by id to xy [id][xx][yy] long_info: Sets the X/Y values of a person anew. The person doesn't get shown immediately. Use hide&show. [71][Person][X][Y] parsing command byte 0x69 for map 15.10 at 0x770d4 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x71 for map 15.10 at 0x770d7 info: Move person by id to xy [id][xx][yy] long_info: Sets the X/Y values of a person anew. The person doesn't get shown immediately. Use hide&show. [71][Person][X][Y] parsing command byte 0x69 for map 15.10 at 0x770db info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x71 for map 15.10 at 0x770de info: Move person by id to xy [id][xx][yy] long_info: Sets the X/Y values of a person anew. The person doesn't get shown immediately. Use hide&show. [71][Person][X][Y] parsing command byte 0x69 for map 15.10 at 0x770e2 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x71 for map 15.10 at 0x770e5 info: Move person by id to xy [id][xx][yy] long_info: Sets the X/Y values of a person anew. The person doesn't get shown immediately. Use hide&show. [71][Person][X][Y] parsing command byte 0x30 for map 15.10 at 0x770e9 info: Check letter against known letter [xxyy] long_info: Opens a PKMN list. Selected PKMN must have the right letter + the right contents. If OK, then PKMN is taken away feedback: 00 = wrong letter 01 = OK 02 = Cancelled 03 = Chosen PKMN has no letter 04 = Chosen PKMN is the only one in the list. [30][2byte pointer to letter item no + 0x20 bytes letter text] parsing command byte 0x2 for map 15.10 at 0x770ec info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x2 for map 15.10 at 0x770ef info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x71 for map 15.10 at 0x770f2 info: Move person by id to xy [id][xx][yy] long_info: Sets the X/Y values of a person anew. The person doesn't get shown immediately. Use hide&show. [71][Person][X][Y] parsing command byte 0x8b for map 15.10 at 0x770f6 info: Deactive static facing after time [xx] long_info: Deactivates static facings on all persons on the screen after a time xx. [8B][xx] parsing command byte 0x75 for map 15.10 at 0x770f8 info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0xf for map 15.10 at 0x770fb info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x0 for map 15.10 at 0x770fe info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 15.10 at 0x77101 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x70 for map 15.10 at 0x77104 info: Stop all follow code long_info: Ends all current follow codes. parsing command byte 0x2 for map 15.10 at 0x77105 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x2 for map 15.10 at 0x77108 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x6e for map 15.10 at 0x7710b info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x6e for map 15.10 at 0x7710d info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x71 for map 15.10 at 0x7710f info: Move person by id to xy [id][xx][yy] long_info: Sets the X/Y values of a person anew. The person doesn't get shown immediately. Use hide&show. [71][Person][X][Y] parsing command byte 0x36 for map 15.10 at 0x77113 info: Set (to 1) a bit on bit table 2 [xxyy] long_info: Sets a bit of BitTable2 to value 1. [36][Bit no (2byte)] parsing command byte 0x91 for map 15.10 at 0x77116 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=7 y=7 parsing command byte 0xec for map 15.10 at 0x77118 info: None long_info: None parsing signpost script.. signpost is at: x=17 y=7 parsing command byte 0x53 for map 15.10 at 0x7711b info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x3b for map 15.10 at 0x7711c info: Blackout warp modifier [map group][map id] long_info: Changes the map HIRO arrives at, after having a blackout. There needs to be flying data for that map. [3B][Map bank][Map no] parsing command byte 0xf for map 15.10 at 0x7711f info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x47 for map 15.10 at 0x77122 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x8 for map 15.10 at 0x77123 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x2f for map 15.10 at 0x77126 info: Attach item to last pokemon in list [xxyy] long_info: Gives last PKMN in list an item and letter text if applicable. Replaces existing items. [2F][2byte pointer to item no + 0x20 bytes letter text] parsing command byte 0x2d for map 15.10 at 0x77129 info: Give pokemon [pokemon][level][item][trainer2b][...] long_info: Gives a PKMN if there's space feedback: trainer id [2D][PKMN][PKMNlvl][PKMNitem][TRAINER] trainer: 00 = HIRO 01 = after the main code there are 4 bytes added [2byte pointer to trainer's name (max.0x0A figures + 0x50)][2byte pointer to nickname (max.0x0A figures + 0x50)] parsing command byte 0x2c for map 15.10 at 0x7712e info: Check for pokemon [xx] long_info: Checks if there is a certain PKMN in team. feedback: 00 = in team 01 = not in team xx = pkmn id [2C][xx] parsing command byte 0x8 for map 15.10 at 0x77130 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x47 for map 15.10 at 0x77133 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0xf for map 15.10 at 0x77134 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x33 for map 15.10 at 0x77137 info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x47 for map 15.10 at 0x7713a info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x0 for map 15.10 at 0x7713b info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xe8 for map 15.10 at 0x7713e info: None long_info: None skipping event data... (oops) parsing command byte 0x91 for map 15.10 at 0x77092 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x33 for map None.None at 0x77093 info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x90 for map None.None at 0x77096 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] parsing command byte 0x6e for map None.None at 0x77097 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x90 for map None.None at 0x77099 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 15 map_id is: 11 event header address is: 0x771e7 skipping event data... (oops) map_group is: 15 map_id is: 12 event header address is: 0x7726a skipping event data... (oops) parsing command byte 0x31 for map None.None at 0x77230 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map None.None at 0x77233 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x21 for map None.None at 0x77236 info: Check if player has item [xx] long_info: Checks if item is possessed. feedback: 00 = does not have item 01 = has item [21][item no] parsing command byte 0x9 for map None.None at 0x77238 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x3 for map None.None at 0x7723b info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x6f for map None.None at 0x7723e info: Following code1 [leader id][follower id] long_info: A person1 follows another person2. The person1 that follows just repeats the movement of person2, even if the persons are not directly next to each other. [6F][Leader Person2][Follower Person1] parsing command byte 0x6e for map None.None at 0x77241 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x90 for map None.None at 0x77243 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 16 map_id is: 1 event header address is: 0x1ae579 parsing signpost script.. signpost is at: x=11 y=7 parsing command byte 0x53 for map 16.1 at 0x1ae537 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x3a for map 16.1 at 0x1ae538 info: Set target for 0xFF warps [warp id][map group][map id] long_info: Changes warp data for all warps of the current map that have a 0xFF for warp-to data. [3A][Nee warp-to][New map bank][New map no] parsing command byte 0x8d for map 16.1 at 0x1ae53c info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0x83 for map 16.1 at 0x1ae53d info: Play cry by id or RAM [cry][00] long_info: Plays the Pokémon's cry. [83][Cry no][00] If the cry no = 00 then the number is taken from RAM. parsing command byte 0x8e for map 16.1 at 0x1ae540 info: Priority jump to script by pointer (after 1st cycle) [xxyy] long_info: The pointer acts like code 03, but with this code all higher functions wait for a cycle before the script gets interpreted. [8E][2byte pointer to script] parsing command byte 0x8b for map 16.1 at 0x1ae543 info: Deactive static facing after time [xx] long_info: Deactivates static facings on all persons on the screen after a time xx. [8B][xx] parsing command byte 0x93 for map 16.1 at 0x1ae545 info: Mart menu [dialog no][mart no 2b] long_info: Displays a whole mart menu, however, doesn't load font to ram. [93][Dialog no][Mart no (2byte)] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#AwBsp93 see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzB93 parsing command byte 0x51 for map 16.1 at 0x1ae549 info: Display text (by pointer), turn to HIRO, end [xxyy] long_info: Displays a text and lets person turn to HIRO. Afterwards there is no other script interpreted. Corresponds to 6A + 47 + 4C + 53 + 49 + 90 [51][2byte textpointer] skipping event data... (oops) parsing command byte 0x36 for map None.None at 0x1ae533 info: Set (to 1) a bit on bit table 2 [xxyy] long_info: Sets a bit of BitTable2 to value 1. [36][Bit no (2byte)] parsing command byte 0x90 for map None.None at 0x1ae536 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 16 map_id is: 2 event header address is: 0x180441 parsing xy trigger byte scripts... x=16 y=4 parsing command byte 0x31 for map 16.2 at 0x180053 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x8 for map 16.2 at 0x180056 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x34 for map 16.2 at 0x180059 info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map 16.2 at 0x18005c info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x1c for map 16.2 at 0x18005f info: Check pre-ID-mapped RAM location [xx] long_info: Checks special game-technical values and writes then into RAM. [1C][following part][Ram check (when <> 08/09 see „numbers“ in list of following parts)] following part (and then hex values) 01 = PKMN count in party 00 - 06 02 = ??? 03 = Battle type of wild PKMN 04 = ??? 05 = PokéDex caught 00 - FA 06 = PokéDex seen 00 - FA 07 = Badge count 00 - 10 08 = Movement 00 = walk 01 = bike 02 = slipping 04 = surfer 08 = surfing pikachu 09 = HIRO direction 00 (d) 01 (u) 02 (l) 03 (r) 0A = Time in hours 00 - 18 0B = Day 00 (Mo) - 06 (Su) 0C = Map bank of current map 0D = Map no of current map 0E = Num. of diff. unowns seen 00 - 1A 0F = Action byte of map 10 = Amount of free spaces in pkmn box 00 - 14 11 = Minutes until end bug contest 00 - 14 12 = X position of HIRO 13 = Y position of HIRO 14 = phone call number parsing command byte 0x6 for map 16.2 at 0x180061 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x41 for map 16.2 at 0x180064 info: Copy item name (by id) to memX [id][xx] long_info: Writes item name to MEMORY1, 2 or 3 for later use in text. [41][Item no][00-02 MEMORY] parsing command byte 0x2b for map 16.2 at 0x180067 info: Check time of day [xx] long_info: Checks the time of day. feedback: 00 = time of day is the same 01 = time of day is not the same [2B][time of day (01morn-04night)] parsing command byte 0x6 for map 16.2 at 0x180069 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x41 for map 16.2 at 0x18006c info: Copy item name (by id) to memX [id][xx] long_info: Writes item name to MEMORY1, 2 or 3 for later use in text. [41][Item no][00-02 MEMORY] parsing command byte 0x2b for map 16.2 at 0x18006f info: Check time of day [xx] long_info: Checks the time of day. feedback: 00 = time of day is the same 01 = time of day is not the same [2B][time of day (01morn-04night)] parsing command byte 0x6 for map 16.2 at 0x180071 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x41 for map 16.2 at 0x180074 info: Copy item name (by id) to memX [id][xx] long_info: Writes item name to MEMORY1, 2 or 3 for later use in text. [41][Item no][00-02 MEMORY] parsing command byte 0x11 for map 16.2 at 0x180077 info: Trigger event check1 [xx][yy] long_info: Check the current number of the trigger event on map (map group/map id). [11][map group][map number] parsing command byte 0x5 for map 16.2 at 0x18007a info: pointer code long_info: 2byte pointer points to 3byte pointer; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x0 for map 16.2 at 0x18007d info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 16.2 at 0x180080 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x6a for map 16.2 at 0x180083 info: Move talked-to person's facing direction to HIRO long_info: Turns the heads of the talked-to persons to HIRO. [6A] parsing command byte 0x0 for map 16.2 at 0x180084 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x69 for map 16.2 at 0x180087 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x41 for map 16.2 at 0x18008a info: Copy item name (by id) to memX [id][xx] long_info: Writes item name to MEMORY1, 2 or 3 for later use in text. [41][Item no][00-02 MEMORY] parsing command byte 0x0 for map 16.2 at 0x18008d info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x3 for map 16.2 at 0x180090 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x40 for map 16.2 at 0x180093 info: Copy pokemon name (by id) to memX [id][xx] long_info: Writes pokémon name to MEMORY1, 2 or 3 for later use in text. [40][PKMN no][00-02 MEMORY] parsing command byte 0x3 for map 16.2 at 0x180096 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x41 for map 16.2 at 0x180099 info: Copy item name (by id) to memX [id][xx] long_info: Writes item name to MEMORY1, 2 or 3 for later use in text. [41][Item no][00-02 MEMORY] parsing command byte 0x0 for map 16.2 at 0x18009c info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x41 for map 16.2 at 0x18009f info: Copy item name (by id) to memX [id][xx] long_info: Writes item name to MEMORY1, 2 or 3 for later use in text. [41][Item no][00-02 MEMORY] parsing command byte 0x6 for map 16.2 at 0x1800a2 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x41 for map 16.2 at 0x1800a5 info: Copy item name (by id) to memX [id][xx] long_info: Writes item name to MEMORY1, 2 or 3 for later use in text. [41][Item no][00-02 MEMORY] parsing command byte 0x2b for map 16.2 at 0x1800a8 info: Check time of day [xx] long_info: Checks the time of day. feedback: 00 = time of day is the same 01 = time of day is not the same [2B][time of day (01morn-04night)] parsing command byte 0x6 for map 16.2 at 0x1800aa info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x41 for map 16.2 at 0x1800ad info: Copy item name (by id) to memX [id][xx] long_info: Writes item name to MEMORY1, 2 or 3 for later use in text. [41][Item no][00-02 MEMORY] parsing command byte 0x2b for map 16.2 at 0x1800b0 info: Check time of day [xx] long_info: Checks the time of day. feedback: 00 = time of day is the same 01 = time of day is not the same [2B][time of day (01morn-04night)] parsing command byte 0x6 for map 16.2 at 0x1800b2 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x41 for map 16.2 at 0x1800b5 info: Copy item name (by id) to memX [id][xx] long_info: Writes item name to MEMORY1, 2 or 3 for later use in text. [41][Item no][00-02 MEMORY] parsing command byte 0x76 for map 16.2 at 0x1800b8 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x75 for map 16.2 at 0x1800bb info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0xf for map 16.2 at 0x1800be info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x0 for map 16.2 at 0x1800c1 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x69 for map 16.2 at 0x1800c4 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x41 for map 16.2 at 0x1800c7 info: Copy item name (by id) to memX [id][xx] long_info: Writes item name to MEMORY1, 2 or 3 for later use in text. [41][Item no][00-02 MEMORY] parsing command byte 0x0 for map 16.2 at 0x1800ca info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x2 for map 16.2 at 0x1800cd info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0xf5 for map 16.2 at 0x1800d0 info: None long_info: None parsing xy trigger byte scripts... x=17 y=4 parsing command byte 0x31 for map 16.2 at 0x180094 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x8 for map 16.2 at 0x180097 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x34 for map 16.2 at 0x18009a info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map 16.2 at 0x18009d info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x1c for map 16.2 at 0x1800a0 info: Check pre-ID-mapped RAM location [xx] long_info: Checks special game-technical values and writes then into RAM. [1C][following part][Ram check (when <> 08/09 see „numbers“ in list of following parts)] following part (and then hex values) 01 = PKMN count in party 00 - 06 02 = ??? 03 = Battle type of wild PKMN 04 = ??? 05 = PokéDex caught 00 - FA 06 = PokéDex seen 00 - FA 07 = Badge count 00 - 10 08 = Movement 00 = walk 01 = bike 02 = slipping 04 = surfer 08 = surfing pikachu 09 = HIRO direction 00 (d) 01 (u) 02 (l) 03 (r) 0A = Time in hours 00 - 18 0B = Day 00 (Mo) - 06 (Su) 0C = Map bank of current map 0D = Map no of current map 0E = Num. of diff. unowns seen 00 - 1A 0F = Action byte of map 10 = Amount of free spaces in pkmn box 00 - 14 11 = Minutes until end bug contest 00 - 14 12 = X position of HIRO 13 = Y position of HIRO 14 = phone call number parsing command byte 0x6 for map 16.2 at 0x1800a2 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x41 for map 16.2 at 0x1800a5 info: Copy item name (by id) to memX [id][xx] long_info: Writes item name to MEMORY1, 2 or 3 for later use in text. [41][Item no][00-02 MEMORY] parsing command byte 0x2b for map 16.2 at 0x1800a8 info: Check time of day [xx] long_info: Checks the time of day. feedback: 00 = time of day is the same 01 = time of day is not the same [2B][time of day (01morn-04night)] parsing command byte 0x6 for map 16.2 at 0x1800aa info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x41 for map 16.2 at 0x1800ad info: Copy item name (by id) to memX [id][xx] long_info: Writes item name to MEMORY1, 2 or 3 for later use in text. [41][Item no][00-02 MEMORY] parsing command byte 0x2b for map 16.2 at 0x1800b0 info: Check time of day [xx] long_info: Checks the time of day. feedback: 00 = time of day is the same 01 = time of day is not the same [2B][time of day (01morn-04night)] parsing command byte 0x6 for map 16.2 at 0x1800b2 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x41 for map 16.2 at 0x1800b5 info: Copy item name (by id) to memX [id][xx] long_info: Writes item name to MEMORY1, 2 or 3 for later use in text. [41][Item no][00-02 MEMORY] parsing command byte 0x76 for map 16.2 at 0x1800b8 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x75 for map 16.2 at 0x1800bb info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0xf for map 16.2 at 0x1800be info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x0 for map 16.2 at 0x1800c1 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x69 for map 16.2 at 0x1800c4 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x41 for map 16.2 at 0x1800c7 info: Copy item name (by id) to memX [id][xx] long_info: Writes item name to MEMORY1, 2 or 3 for later use in text. [41][Item no][00-02 MEMORY] parsing command byte 0x0 for map 16.2 at 0x1800ca info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x2 for map 16.2 at 0x1800cd info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0xf5 for map 16.2 at 0x1800d0 info: None long_info: None skipping event data... (oops) parsing command byte 0x91 for map 16.2 at 0x180009 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x12 for map None.None at 0x18000a info: Activate trigger event from afar [xx][yy][zz] long_info: Changes trigger event number on map (map bank/map no) to xx. xx = trigger event number that should be activated [12][MapBank][MapNo][xx] parsing command byte 0x12 for map None.None at 0x18000e info: Activate trigger event from afar [xx][yy][zz] long_info: Changes trigger event number on map (map bank/map no) to xx. xx = trigger event number that should be activated [12][MapBank][MapNo][xx] parsing command byte 0x12 for map None.None at 0x180012 info: Activate trigger event from afar [xx][yy][zz] long_info: Changes trigger event number on map (map bank/map no) to xx. xx = trigger event number that should be activated [12][MapBank][MapNo][xx] parsing command byte 0x12 for map None.None at 0x180016 info: Activate trigger event from afar [xx][yy][zz] long_info: Changes trigger event number on map (map bank/map no) to xx. xx = trigger event number that should be activated [12][MapBank][MapNo][xx] parsing command byte 0x12 for map None.None at 0x18001a info: Activate trigger event from afar [xx][yy][zz] long_info: Changes trigger event number on map (map bank/map no) to xx. xx = trigger event number that should be activated [12][MapBank][MapNo][xx] parsing command byte 0x12 for map None.None at 0x18001e info: Activate trigger event from afar [xx][yy][zz] long_info: Changes trigger event number on map (map bank/map no) to xx. xx = trigger event number that should be activated [12][MapBank][MapNo][xx] parsing command byte 0x32 for map None.None at 0x180022 info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x32 for map None.None at 0x180025 info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x32 for map None.None at 0x180028 info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x32 for map None.None at 0x18002b info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x32 for map None.None at 0x18002e info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x32 for map None.None at 0x180031 info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x32 for map None.None at 0x180034 info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x32 for map None.None at 0x180037 info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x32 for map None.None at 0x18003a info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x32 for map None.None at 0x18003d info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x32 for map None.None at 0x180040 info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x32 for map None.None at 0x180043 info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x32 for map None.None at 0x180046 info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x32 for map None.None at 0x180049 info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x32 for map None.None at 0x18004c info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x33 for map None.None at 0x18004f info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x90 for map None.None at 0x180052 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 16 map_id is: 3 event header address is: 0x1806f9 skipping event data... (oops) parsing command byte 0x8d for map 16.3 at 0x1804c6 info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0xe0 for map 16.3 at 0x1804c7 info: None long_info: None parsing command byte 0x91 for map 16.3 at 0x1804ca info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x31 for map None.None at 0x1804cb info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x8 for map None.None at 0x1804ce info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x7a for map None.None at 0x1804d1 info: Reload/redisplay map long_info: Reloads and re-displays the map completely. Loads tileset and all map data anew. Screen gets light. [7A] parsing command byte 0x4 for map None.None at 0x1804d2 info: pointer code long_info: 3byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0xa for map None.None at 0x1804d6 info: RAM check [ return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x67 for map 16.7 at 0x180e80 info: Set last talked-to person [xx] long_info: Sets the number of the last person talked to. [67][person] parsing command byte 0x54 for map 16.7 at 0x180e82 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 16.7 at 0x180e83 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x64 for map 16.7 at 0x180e84 info: ? Load the trainer talk-after script long_info: Interprets which script is going to be run, when a in the event-structure-defined trainer is talked to again. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau [64] parsing command byte 0xa4 for map 16.7 at 0x180e85 info: None long_info: None parsing xy trigger byte scripts... x=5 y=5 parsing command byte 0xf for map 16.7 at 0x180e74 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x69 for map 16.7 at 0x180e77 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x4f for map 16.7 at 0x180e7a info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x2 for map 16.7 at 0x180e7d info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x67 for map 16.7 at 0x180e80 info: Set last talked-to person [xx] long_info: Sets the number of the last person talked to. [67][person] parsing command byte 0x54 for map 16.7 at 0x180e82 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 16.7 at 0x180e83 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x64 for map 16.7 at 0x180e84 info: ? Load the trainer talk-after script long_info: Interprets which script is going to be run, when a in the event-structure-defined trainer is talked to again. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau [64] parsing command byte 0xa4 for map 16.7 at 0x180e85 info: None long_info: None skipping event data... (oops) parsing command byte 0x8d for map 16.7 at 0x180e39 info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0x53 for map 16.7 at 0x180e3a info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x4e for map 16.7 at 0x180e3b info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x91 for map 16.7 at 0x180e3c info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 16.7 at 0x180e3d info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x31 for map None.None at 0x180e3e info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x8 for map None.None at 0x180e41 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x7a for map None.None at 0x180e44 info: Reload/redisplay map long_info: Reloads and re-displays the map completely. Loads tileset and all map data anew. Screen gets light. [7A] parsing command byte 0x4 for map None.None at 0x180e45 info: pointer code long_info: 3byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x12 for map None.None at 0x180e49 info: Activate trigger event from afar [xx][yy][zz] long_info: Changes trigger event number on map (map bank/map no) to xx. xx = trigger event number that should be activated [12][MapBank][MapNo][xx] parsing command byte 0x4e for map None.None at 0x180e4d info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x7a for map None.None at 0x180e4e info: Reload/redisplay map long_info: Reloads and re-displays the map completely. Loads tileset and all map data anew. Screen gets light. [7A] parsing command byte 0x4 for map None.None at 0x180e4f info: pointer code long_info: 3byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x69 for map None.None at 0x180e53 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x4f for map None.None at 0x180e56 info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x85 for map None.None at 0x180e59 info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0x1b for map None.None at 0x180e5a info: Load variable [xxyy][zz] long_info: Writes zz to ram address. [1B][2-byte RAM address][zz] parsing command byte 0x7a for map None.None at 0x180e5e info: Reload/redisplay map long_info: Reloads and re-displays the map completely. Loads tileset and all map data anew. Screen gets light. [7A] parsing command byte 0x4 for map None.None at 0x180e5f info: pointer code long_info: 3byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x49 for map None.None at 0x180e63 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x14 for map None.None at 0x180e64 info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0x33 for map None.None at 0x180e66 info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x91 for map None.None at 0x180e69 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 16 map_id is: 8 event header address is: 0x181678 skipping event data... (oops) parsing command byte 0x8d for map 16.8 at 0x18144f info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0x54 for map 16.8 at 0x181450 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x54 for map 16.8 at 0x181451 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x91 for map 16.8 at 0x181452 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 16.8 at 0x181453 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 17 map_id is: 1 event header address is: 0x1a27aa parsing signpost script.. signpost is at: x=29 y=13 parsing command byte 0x53 for map 17.1 at 0x1a2496 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x1c for map 17.1 at 0x1a2497 info: Check pre-ID-mapped RAM location [xx] long_info: Checks special game-technical values and writes then into RAM. [1C][following part][Ram check (when <> 08/09 see „numbers“ in list of following parts)] following part (and then hex values) 01 = PKMN count in party 00 - 06 02 = ??? 03 = Battle type of wild PKMN 04 = ??? 05 = PokéDex caught 00 - FA 06 = PokéDex seen 00 - FA 07 = Badge count 00 - 10 08 = Movement 00 = walk 01 = bike 02 = slipping 04 = surfer 08 = surfing pikachu 09 = HIRO direction 00 (d) 01 (u) 02 (l) 03 (r) 0A = Time in hours 00 - 18 0B = Day 00 (Mo) - 06 (Su) 0C = Map bank of current map 0D = Map no of current map 0E = Num. of diff. unowns seen 00 - 1A 0F = Action byte of map 10 = Amount of free spaces in pkmn box 00 - 14 11 = Minutes until end bug contest 00 - 14 12 = X position of HIRO 13 = Y position of HIRO 14 = phone call number parsing command byte 0x53 for map 17.1 at 0x1a2499 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x5b for map 17.1 at 0x1a249a info: Load trainer from RAM long_info: Loads trainer data when HIRO is in a trainer's range of sight. Trainer group is read from CF2E and written to TrRAM1, the trainer number is read from CF2F and written to TrRAM2. 81 is written to BattleRAM. parsing command byte 0x67 for map 17.1 at 0x1a249b info: Set last talked-to person [xx] long_info: Sets the number of the last person talked to. [67][person] parsing command byte 0x7d for map 17.1 at 0x1a249d info: Delete command queue long_info: Deletes a command queue and frees a slot in ram. [7D][First command of the resp. queue] parsing command byte 0xf4 for map 17.1 at 0x1a249f info: None long_info: None parsing signpost script.. signpost is at: x=41 y=11 parsing command byte 0x53 for map 17.1 at 0x1a2499 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x5b for map 17.1 at 0x1a249a info: Load trainer from RAM long_info: Loads trainer data when HIRO is in a trainer's range of sight. Trainer group is read from CF2E and written to TrRAM1, the trainer number is read from CF2F and written to TrRAM2. 81 is written to BattleRAM. parsing command byte 0x67 for map 17.1 at 0x1a249b info: Set last talked-to person [xx] long_info: Sets the number of the last person talked to. [67][person] parsing command byte 0x7d for map 17.1 at 0x1a249d info: Delete command queue long_info: Deletes a command queue and frees a slot in ram. [7D][First command of the resp. queue] parsing command byte 0xf4 for map 17.1 at 0x1a249f info: None long_info: None parsing signpost script.. signpost is at: x=17 y=13 parsing command byte 0x53 for map 17.1 at 0x1a249c info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x7d for map 17.1 at 0x1a249d info: Delete command queue long_info: Deletes a command queue and frees a slot in ram. [7D][First command of the resp. queue] parsing command byte 0xf4 for map 17.1 at 0x1a249f info: None long_info: None parsing signpost script.. signpost is at: x=30 y=13 parsing command byte 0xf4 for map 17.1 at 0x1a249f info: None long_info: None skipping event data... (oops) map_group is: 17 map_id is: 2 event header address is: 0x1ad6a1 skipping event data... (oops) map_group is: 17 map_id is: 3 event header address is: 0x1aa90a parsing signpost script.. signpost is at: x=19 y=9 parsing command byte 0x53 for map 17.3 at 0x1aa5e1 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xe3 for map 17.3 at 0x1aa5e2 info: None long_info: None skipping event data... (oops) map_group is: 17 map_id is: 4 event header address is: 0x1ad077 parsing signpost script.. signpost is at: x=9 y=5 parsing command byte 0x53 for map 17.4 at 0x1acf59 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x51 for map 17.4 at 0x1acf5a info: Display text (by pointer), turn to HIRO, end [xxyy] long_info: Displays a text and lets person turn to HIRO. Afterwards there is no other script interpreted. Corresponds to 6A + 47 + 4C + 53 + 49 + 90 [51][2byte textpointer] skipping event data... (oops) map_group is: 17 map_id is: 5 event header address is: 0x194d67 parsing signpost script.. signpost is at: x=21 y=15 parsing command byte 0x53 for map 17.5 at 0x194b2b info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x22 for map 17.5 at 0x194b2c info: Give money to HIRO/account [xxyyzzaa] long_info: Gives zzyyxx money to HIRO/account. zzyyxx = amount of money (000000 - 0F423F) [22][00-HIRO/01-account][xxyyzz] parsing command byte 0x53 for map 17.5 at 0x194b31 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x8b for map 17.5 at 0x194b32 info: Deactive static facing after time [xx] long_info: Deactivates static facings on all persons on the screen after a time xx. [8B][xx] parsing command byte 0x53 for map 17.5 at 0x194b34 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xd5 for map 17.5 at 0x194b35 info: None long_info: None parsing signpost script.. signpost is at: x=5 y=29 parsing command byte 0x53 for map 17.5 at 0x194b2e info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x4a for map 17.5 at 0x194b2f info: Load specific byte to $C1CE [xx] long_info: Loads a byte to C1CE. Seems to have no function in the game. [4A][Byte] parsing command byte 0x53 for map 17.5 at 0x194b31 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x8b for map 17.5 at 0x194b32 info: Deactive static facing after time [xx] long_info: Deactivates static facings on all persons on the screen after a time xx. [8B][xx] parsing command byte 0x53 for map 17.5 at 0x194b34 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xd5 for map 17.5 at 0x194b35 info: None long_info: None parsing signpost script.. signpost is at: x=25 y=15 parsing command byte 0x53 for map 17.5 at 0x194b31 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x8b for map 17.5 at 0x194b32 info: Deactive static facing after time [xx] long_info: Deactivates static facings on all persons on the screen after a time xx. [8B][xx] parsing command byte 0x53 for map 17.5 at 0x194b34 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xd5 for map 17.5 at 0x194b35 info: None long_info: None parsing signpost script.. signpost is at: x=27 y=29 parsing command byte 0x53 for map 17.5 at 0x194b34 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xd5 for map 17.5 at 0x194b35 info: None long_info: None parsing signpost script.. signpost is at: x=17 y=5 parsing command byte 0x53 for map 17.5 at 0x194b37 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xf0 for map 17.5 at 0x194b38 info: None long_info: None parsing signpost script.. signpost is at: x=13 y=15 parsing command byte 0x53 for map 17.5 at 0x194b3a info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x37 for map 17.5 at 0x194b3b info: Turn off wild pokemon battles long_info: This code turns all wild PKMN battles off. [37] parsing command byte 0x4d for map 17.5 at 0x194b3c info: Repeat text [FF][FF] long_info: Opens a text box and writes the text written latest resp. whose address was put statically to D175-D177. Doesn't load font. [4D][FF][FF] Without FF for both bytes, no operation occurs parsing command byte 0x0 for map 17.5 at 0x194b3f info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 17.5 at 0x194b42 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 17.5 at 0x194b45 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xa4 for map 17.5 at 0x194b48 info: None long_info: None parsing signpost script.. signpost is at: x=20 y=27 parsing command byte 0xc for map 17.5 at 0x194b3d info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=6 y=13 parsing command byte 0xc for map 17.5 at 0x194b40 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) parsing command byte 0x36 for map None.None at 0x194b1e info: Set (to 1) a bit on bit table 2 [xxyy] long_info: Sets a bit of BitTable2 to value 1. [36][Bit no (2byte)] parsing command byte 0x90 for map None.None at 0x194b21 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 17 map_id is: 6 event header address is: 0x195d6e skipping event data... (oops) map_group is: 17 map_id is: 7 event header address is: 0x195da7 skipping event data... (oops) map_group is: 17 map_id is: 8 event header address is: 0x196353 parsing signpost script.. signpost is at: x=3 y=15 parsing command byte 0x34 for map 17.8 at 0x195f17 info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map 17.8 at 0x195f1a info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0xc for map 17.8 at 0x195f1d info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=6 y=15 parsing command byte 0x34 for map 17.8 at 0x195f17 info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map 17.8 at 0x195f1a info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0xc for map 17.8 at 0x195f1d info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 17 map_id is: 9 event header address is: 0x196428 skipping event data... (oops) map_group is: 17 map_id is: 10 event header address is: 0x19656e skipping event data... (oops) parsing command byte 0x91 for map 17.10 at 0x196458 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 17 map_id is: 11 event header address is: 0x1965b9 skipping event data... (oops) map_group is: 17 map_id is: 12 event header address is: 0x19676b parsing signpost script.. signpost is at: x=0 y=1 parsing command byte 0xc for map 17.12 at 0x1965e3 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=1 y=1 parsing command byte 0xc for map 17.12 at 0x1965e3 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=7 y=0 parsing command byte 0x53 for map 17.12 at 0x1965dd info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xea for map 17.12 at 0x1965de info: None long_info: None parsing signpost script.. signpost is at: x=9 y=0 parsing command byte 0x53 for map 17.12 at 0x1965e0 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x26 for map 17.12 at 0x1965e1 info: Take coins from HIRO [xxyy] long_info: Takes coins away from HIRO. yyxx = amount of coins (0000 - 270F) [26][xxyy] parsing command byte 0x2 for map 17.12 at 0x1965e4 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x8c for map 17.12 at 0x1965e7 info: Priority jump to script by pointer [xxyy] long_info: The pointer acts like code 00, but with this higher functions like the bike etc. are not paid attention to, while the script is running. [8C][2byte pointer to script] parsing command byte 0xa6 for map 17.12 at 0x1965ea info: None long_info: None skipping event data... (oops) map_group is: 17 map_id is: 13 event header address is: 0x1967e1 skipping event data... (oops) map_group is: 18 map_id is: 1 event header address is: 0x6c2e1 parsing signpost script.. signpost is at: x=11 y=7 parsing command byte 0x53 for map 18.1 at 0x6c069 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xb7 for map 18.1 at 0x6c06a info: None long_info: None parsing signpost script.. signpost is at: x=10 y=5 parsing command byte 0x53 for map 18.1 at 0x6c066 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xaa for map 18.1 at 0x6c067 info: None long_info: None skipping event data... (oops) map_group is: 18 map_id is: 2 event header address is: 0x1a72cf parsing signpost script.. signpost is at: x=11 y=27 parsing command byte 0x53 for map 18.2 at 0x1a7005 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xa0 for map 18.2 at 0x1a7006 info: Credits long_info: Shows the credits and HIRO is located on the Silver mountain plateau. [A0] parsing command byte 0x72 for map 18.2 at 0x1a7007 info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0xc1 for map 18.2 at 0x1a7009 info: None long_info: None parsing signpost script.. signpost is at: x=13 y=9 parsing command byte 0x53 for map 18.2 at 0x1a7008 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xc1 for map 18.2 at 0x1a7009 info: None long_info: None parsing signpost script.. signpost is at: x=14 y=13 parsing command byte 0xf3 for map 18.2 at 0x1a700f info: None long_info: None skipping event data... (oops) map_group is: 18 map_id is: 3 event header address is: 0x1ae504 parsing signpost script.. signpost is at: x=5 y=3 parsing command byte 0x53 for map 18.3 at 0x1ae41e info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xdc for map 18.3 at 0x1ae41f info: None long_info: None skipping event data... (oops) map_group is: 18 map_id is: 4 event header address is: 0x1ad8ac parsing signpost script.. signpost is at: x=11 y=3 parsing command byte 0x53 for map 18.4 at 0x1ad6f0 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xf7 for map 18.4 at 0x1ad6f1 info: None long_info: None parsing signpost script.. signpost is at: x=15 y=7 parsing command byte 0x53 for map 18.4 at 0x1ad6f3 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x1c for map 18.4 at 0x1ad6f4 info: Check pre-ID-mapped RAM location [xx] long_info: Checks special game-technical values and writes then into RAM. [1C][following part][Ram check (when <> 08/09 see „numbers“ in list of following parts)] following part (and then hex values) 01 = PKMN count in party 00 - 06 02 = ??? 03 = Battle type of wild PKMN 04 = ??? 05 = PokéDex caught 00 - FA 06 = PokéDex seen 00 - FA 07 = Badge count 00 - 10 08 = Movement 00 = walk 01 = bike 02 = slipping 04 = surfer 08 = surfing pikachu 09 = HIRO direction 00 (d) 01 (u) 02 (l) 03 (r) 0A = Time in hours 00 - 18 0B = Day 00 (Mo) - 06 (Su) 0C = Map bank of current map 0D = Map no of current map 0E = Num. of diff. unowns seen 00 - 1A 0F = Action byte of map 10 = Amount of free spaces in pkmn box 00 - 14 11 = Minutes until end bug contest 00 - 14 12 = X position of HIRO 13 = Y position of HIRO 14 = phone call number parsing command byte 0x53 for map 18.4 at 0x1ad6f6 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x61 for map 18.4 at 0x1ad6f7 info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0x53 for map 18.4 at 0x1ad6f9 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x80 for map 18.4 at 0x1ad6fa info: Music fade-out then play next [xxyy][time] long_info: The current music is faded out and the new music is played afterwards. [80][Music no (2byte)][Time to fade out (00-7F)] parsing command byte 0x0 for map 18.4 at 0x1ad6fe info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 18.4 at 0x1ad701 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xa7 for map 18.4 at 0x1ad704 info: None long_info: None parsing signpost script.. signpost is at: x=3 y=9 parsing command byte 0x53 for map 18.4 at 0x1ad6f6 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x61 for map 18.4 at 0x1ad6f7 info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0x53 for map 18.4 at 0x1ad6f9 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x80 for map 18.4 at 0x1ad6fa info: Music fade-out then play next [xxyy][time] long_info: The current music is faded out and the new music is played afterwards. [80][Music no (2byte)][Time to fade out (00-7F)] parsing command byte 0x0 for map 18.4 at 0x1ad6fe info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 18.4 at 0x1ad701 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xa7 for map 18.4 at 0x1ad704 info: None long_info: None parsing signpost script.. signpost is at: x=15 y=13 parsing command byte 0x53 for map 18.4 at 0x1ad6f9 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x80 for map 18.4 at 0x1ad6fa info: Music fade-out then play next [xxyy][time] long_info: The current music is faded out and the new music is played afterwards. [80][Music no (2byte)][Time to fade out (00-7F)] parsing command byte 0x0 for map 18.4 at 0x1ad6fe info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 18.4 at 0x1ad701 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xa7 for map 18.4 at 0x1ad704 info: None long_info: None parsing signpost script.. signpost is at: x=6 y=5 parsing command byte 0xc for map 18.4 at 0x1ad6fc info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=2 y=5 parsing command byte 0xc for map 18.4 at 0x1ad6ff info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) parsing command byte 0x36 for map None.None at 0x1ad6e0 info: Set (to 1) a bit on bit table 2 [xxyy] long_info: Sets a bit of BitTable2 to value 1. [36][Bit no (2byte)] parsing command byte 0x90 for map None.None at 0x1ad6e3 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 18 map_id is: 5 event header address is: 0x7e872 skipping event data... (oops) map_group is: 18 map_id is: 6 event header address is: 0x7e8bd skipping event data... (oops) map_group is: 18 map_id is: 7 event header address is: 0x7e9ea parsing signpost script.. signpost is at: x=0 y=1 parsing command byte 0xc for map 18.7 at 0x7e8ee info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=1 y=1 parsing command byte 0xc for map 18.7 at 0x7e8ee info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 18 map_id is: 8 event header address is: 0x7eac4 parsing signpost script.. signpost is at: x=0 y=1 parsing command byte 0xc for map 18.8 at 0x7ea4a info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=1 y=1 parsing command byte 0xc for map 18.8 at 0x7ea4a info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 18 map_id is: 9 event header address is: 0x7eafd skipping event data... (oops) parsing command byte 0x91 for map 18.9 at 0x7eaf1 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 18 map_id is: 10 event header address is: 0x7ec0e skipping event data... (oops) map_group is: 18 map_id is: 11 event header address is: 0x7ee1d skipping event data... (oops) map_group is: 18 map_id is: 12 event header address is: 0x7f3b9 parsing signpost script.. signpost is at: x=11 y=0 parsing command byte 0x53 for map 18.12 at 0x7eeb6 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xe3 for map 18.12 at 0x7eeb7 info: None long_info: None parsing signpost script.. signpost is at: x=5 y=0 parsing command byte 0x53 for map 18.12 at 0x7eeb9 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x2d for map 18.12 at 0x7eeba info: Give pokemon [pokemon][level][item][trainer2b][...] long_info: Gives a PKMN if there's space feedback: trainer id [2D][PKMN][PKMNlvl][PKMNitem][TRAINER] trainer: 00 = HIRO 01 = after the main code there are 4 bytes added [2byte pointer to trainer's name (max.0x0A figures + 0x50)][2byte pointer to nickname (max.0x0A figures + 0x50)] parsing command byte 0x0 for map 18.12 at 0x7eebf info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xab for map 18.12 at 0x7eec2 info: None long_info: None skipping event data... (oops) map_group is: 18 map_id is: 13 event header address is: 0x7f45b skipping event data... (oops) map_group is: 18 map_id is: 14 event header address is: 0x7f60b skipping event data... (oops) map_group is: 19 map_id is: 1 event header address is: 0x1a541d parsing signpost script.. signpost is at: x=31 y=5 parsing command byte 0x53 for map 19.1 at 0x1a540d info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x13 for map 19.1 at 0x1a540e info: Trigger event check long_info: Checks the number of the trigger events on the current map. [13] parsing command byte 0x54 for map 19.1 at 0x1a540f info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xa3 for map 19.1 at 0x1a5410 info: Copy the name of a location (by id) to TEMPMEMORY1 long_info: By the location number the name of that location is written to TEMPMEMORY1. [A3][Location no] parsing command byte 0x20 for map 19.1 at 0x1a5412 info: Take item by id and quantity [xx][yy] long_info: Gives item (item no) amount times feedback: 00 = not enough items [20][item no][amount] parsing command byte 0x8e for map 19.1 at 0x1a5415 info: Priority jump to script by pointer (after 1st cycle) [xxyy] long_info: The pointer acts like code 03, but with this code all higher functions wait for a cycle before the script gets interpreted. [8E][2byte pointer to script] parsing command byte 0x84 for map 19.1 at 0x1a5418 info: Play sound by sound number [xxyy] long_info: Plays the sound. [84][Sound no (2byte)] Sound no: See the music archive that should accompany this document Thanks to philb for this matter. He helped me to record a big part of these sounds. parsing command byte 0xfe for map 19.1 at 0x1a541b info: None long_info: None parsing signpost script.. signpost is at: x=25 y=2 parsing command byte 0xa3 for map 19.1 at 0x1a5410 info: Copy the name of a location (by id) to TEMPMEMORY1 long_info: By the location number the name of that location is written to TEMPMEMORY1. [A3][Location no] parsing command byte 0x20 for map 19.1 at 0x1a5412 info: Take item by id and quantity [xx][yy] long_info: Gives item (item no) amount times feedback: 00 = not enough items [20][item no][amount] parsing command byte 0x8e for map 19.1 at 0x1a5415 info: Priority jump to script by pointer (after 1st cycle) [xxyy] long_info: The pointer acts like code 03, but with this code all higher functions wait for a cycle before the script gets interpreted. [8E][2byte pointer to script] parsing command byte 0x84 for map 19.1 at 0x1a5418 info: Play sound by sound number [xxyy] long_info: Plays the sound. [84][Sound no (2byte)] Sound no: See the music archive that should accompany this document Thanks to philb for this matter. He helped me to record a big part of these sounds. parsing command byte 0xfe for map 19.1 at 0x1a541b info: None long_info: None skipping event data... (oops) map_group is: 19 map_id is: 2 event header address is: 0x1b205f parsing signpost script.. signpost is at: x=24 y=19 parsing command byte 0xc for map 19.2 at 0x1b204b info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=17 y=13 parsing command byte 0x53 for map 19.2 at 0x1b204e info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x54 for map 19.2 at 0x1b204f info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x60 for map 19.2 at 0x1b2050 info: Pokemon catching tutorial [xx] long_info: Starts a learn-how-to-catch battle with a Pokémon, whose data needs to be loaded beforehand see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke5C Player has to have at least 1 Pokémon for it to work. Items that are statically used: 1xPotion, 5xPoké ball. [60][xx] xx: Between 01 and 03. If <> 03 then HIRO sprite instead of dude sprite and kills itself when using the item system. parsing command byte 0x0 for map 19.2 at 0x1b2052 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x8c for map 19.2 at 0x1b2055 info: Priority jump to script by pointer [xxyy] long_info: The pointer acts like code 00, but with this higher functions like the bike etc. are not paid attention to, while the script is running. [8C][2byte pointer to script] parsing command byte 0x92 for map 19.2 at 0x1b2058 info: Reset sophisticated functions long_info: Resets all sophisticated functions to 0. [92] parsing command byte 0x88 for map 19.2 at 0x1b2059 info: Engine remote control [bb][xxyy] long_info: This code controls the engine via "data stream". [88][3byte pointer to control structure] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA88 parsing command byte 0x91 for map 19.2 at 0x1b205d info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=9 y=25 parsing command byte 0xb8 for map 19.2 at 0x1b2051 info: None long_info: None skipping event data... (oops) parsing command byte 0x36 for map None.None at 0x1b2047 info: Set (to 1) a bit on bit table 2 [xxyy] long_info: Sets a bit of BitTable2 to value 1. [36][Bit no (2byte)] parsing command byte 0x90 for map None.None at 0x1b204a info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 19 map_id is: 3 event header address is: 0x1ae622 skipping event data... (oops) map_group is: 19 map_id is: 4 event header address is: 0x1ae762 parsing signpost script.. signpost is at: x=0 y=1 parsing command byte 0xc for map 19.4 at 0x1ae67f info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=1 y=1 parsing command byte 0xc for map 19.4 at 0x1ae67f info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) parsing command byte 0x91 for map 19.4 at 0x1ae657 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 20 map_id is: 1 event header address is: 0x19337f parsing signpost script.. signpost is at: x=7 y=3 parsing command byte 0x48 for map 20.1 at 0x192c93 info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0xf for map 20.1 at 0x192c95 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 20.1 at 0x192c98 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 20.1 at 0x192c99 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 skipping event data... (oops) parsing command byte 0xf for map 20.1 at 0x19285f info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x6 for map 20.1 at 0x192862 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x68 for map 20.1 at 0x192865 info: Move person (by id) with moving data (by pointer) [id][xxyy] long_info: Moves the person using moving data. [68][Person][2byte pointer to moving data] see also http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzB68bis69 parsing command byte 0x31 for map 20.1 at 0x192869 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 20.1 at 0x19286c info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x8d for map 20.1 at 0x19286f info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0x87 for map 20.1 at 0x192870 info: Special sound if TM was last checked long_info: When last given/checked Item was a TM then it plays sound 0x9B. If not, then 0x01. [87] parsing command byte 0x68 for map 20.1 at 0x192871 info: Move person (by id) with moving data (by pointer) [id][xxyy] long_info: Moves the person using moving data. [68][Person][2byte pointer to moving data] see also http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzB68bis69 parsing command byte 0x6a for map 20.1 at 0x192875 info: Move talked-to person's facing direction to HIRO long_info: Turns the heads of the talked-to persons to HIRO. [6A] parsing command byte 0x91 for map 20.1 at 0x192876 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x8d for map 20.1 at 0x192873 info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0xb6 for map 20.1 at 0x192874 info: None long_info: None parsing command byte 0x8d for map 20.1 at 0x192877 info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0xdd for map 20.1 at 0x192878 info: None long_info: None parsing command byte 0x8d for map 20.1 at 0x19287b info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0x4e for map 20.1 at 0x19287c info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x6c for map 20.1 at 0x19287d info: Store value in variable sprite RAM location x by id Y [xx][yy] long_info: Writes a number to the variable sprite RAM from D555 to D564 (see Compendium on the sprite system). [6C][xx][Sprite no] xx: Number between 0x00 and 0x0F parsing command byte 0xc3 for map 20.1 at 0x192880 info: None long_info: None parsing command byte 0x8d for map 20.1 at 0x19287f info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0xc3 for map 20.1 at 0x192880 info: None long_info: None parsing command byte 0x8d for map 20.1 at 0x192883 info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0xea for map 20.1 at 0x192884 info: None long_info: None map_group is: 20 map_id is: 2 event header address is: 0x193429 parsing signpost script.. signpost is at: x=4 y=4 parsing command byte 0xf for map 20.2 at 0x193405 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x8a for map 20.2 at 0x193408 info: Wait code long_info: This code lets the game wait for 2 * xx time intervals. [8A][xx] xx: Numbers from 0x01 to 0xFF. If 0x00 is chosen then the time can be manipulated by previously loading a number to RAM2. parsing command byte 0x91 for map 20.2 at 0x19340a info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=5 y=4 parsing command byte 0xf for map 20.2 at 0x193405 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x8a for map 20.2 at 0x193408 info: Wait code long_info: This code lets the game wait for 2 * xx time intervals. [8A][xx] xx: Numbers from 0x01 to 0xFF. If 0x00 is chosen then the time can be manipulated by previously loading a number to RAM2. parsing command byte 0x91 for map 20.2 at 0x19340a info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 skipping event data... (oops) parsing command byte 0x8d for map 20.2 at 0x1933e9 info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0xfe for map 20.2 at 0x1933ea info: None long_info: None parsing command byte 0x91 for map 20.2 at 0x1933ed info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0xf for map None.None at 0x1933ee info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x8 for map None.None at 0x1933f1 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x6e for map None.None at 0x1933f4 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x6f for map None.None at 0x1933f6 info: Following code1 [leader id][follower id] long_info: A person1 follows another person2. The person1 that follows just repeats the movement of person2, even if the persons are not directly next to each other. [6F][Leader Person2][Follower Person1] parsing command byte 0x6e for map None.None at 0x1933f9 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x6f for map None.None at 0x1933fb info: Following code1 [leader id][follower id] long_info: A person1 follows another person2. The person1 that follows just repeats the movement of person2, even if the persons are not directly next to each other. [6F][Leader Person2][Follower Person1] parsing command byte 0x14 for map None.None at 0x1933fe info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0x12 for map None.None at 0x193400 info: Activate trigger event from afar [xx][yy][zz] long_info: Changes trigger event number on map (map bank/map no) to xx. xx = trigger event number that should be activated [12][MapBank][MapNo][xx] parsing command byte 0x91 for map None.None at 0x193404 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 20 map_id is: 3 event header address is: 0x1934b7 parsing signpost script.. signpost is at: x=4 y=4 parsing command byte 0xf for map 20.3 at 0x193493 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x8a for map 20.3 at 0x193496 info: Wait code long_info: This code lets the game wait for 2 * xx time intervals. [8A][xx] xx: Numbers from 0x01 to 0xFF. If 0x00 is chosen then the time can be manipulated by previously loading a number to RAM2. parsing command byte 0x91 for map 20.3 at 0x193498 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=5 y=4 parsing command byte 0xf for map 20.3 at 0x193493 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x8a for map 20.3 at 0x193496 info: Wait code long_info: This code lets the game wait for 2 * xx time intervals. [8A][xx] xx: Numbers from 0x01 to 0xFF. If 0x00 is chosen then the time can be manipulated by previously loading a number to RAM2. parsing command byte 0x91 for map 20.3 at 0x193498 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 skipping event data... (oops) parsing command byte 0x8d for map 20.3 at 0x193471 info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0x8c for map 20.3 at 0x193472 info: Priority jump to script by pointer [xxyy] long_info: The pointer acts like code 00, but with this higher functions like the bike etc. are not paid attention to, while the script is running. [8C][2byte pointer to script] parsing command byte 0x91 for map 20.3 at 0x193475 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 20.3 at 0x193475 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 20.3 at 0x193476 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0xf for map None.None at 0x193477 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x8 for map None.None at 0x19347a info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x6e for map None.None at 0x19347d info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x6f for map None.None at 0x19347f info: Following code1 [leader id][follower id] long_info: A person1 follows another person2. The person1 that follows just repeats the movement of person2, even if the persons are not directly next to each other. [6F][Leader Person2][Follower Person1] parsing command byte 0x6e for map None.None at 0x193482 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x6f for map None.None at 0x193484 info: Following code1 [leader id][follower id] long_info: A person1 follows another person2. The person1 that follows just repeats the movement of person2, even if the persons are not directly next to each other. [6F][Leader Person2][Follower Person1] parsing command byte 0x12 for map None.None at 0x193487 info: Activate trigger event from afar [xx][yy][zz] long_info: Changes trigger event number on map (map bank/map no) to xx. xx = trigger event number that should be activated [12][MapBank][MapNo][xx] parsing command byte 0x90 for map None.None at 0x19348b info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] parsing command byte 0x12 for map None.None at 0x193487 info: Activate trigger event from afar [xx][yy][zz] long_info: Changes trigger event number on map (map bank/map no) to xx. xx = trigger event number that should be activated [12][MapBank][MapNo][xx] parsing command byte 0x90 for map None.None at 0x19348b info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 20 map_id is: 4 event header address is: 0x193538 parsing signpost script.. signpost is at: x=4 y=4 parsing command byte 0xf for map 20.4 at 0x193514 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x8a for map 20.4 at 0x193517 info: Wait code long_info: This code lets the game wait for 2 * xx time intervals. [8A][xx] xx: Numbers from 0x01 to 0xFF. If 0x00 is chosen then the time can be manipulated by previously loading a number to RAM2. parsing command byte 0x91 for map 20.4 at 0x193519 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=5 y=4 parsing command byte 0xf for map 20.4 at 0x193514 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x8a for map 20.4 at 0x193517 info: Wait code long_info: This code lets the game wait for 2 * xx time intervals. [8A][xx] xx: Numbers from 0x01 to 0xFF. If 0x00 is chosen then the time can be manipulated by previously loading a number to RAM2. parsing command byte 0x91 for map 20.4 at 0x193519 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 skipping event data... (oops) parsing command byte 0x8d for map 20.4 at 0x1934f8 info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0xd for map 20.4 at 0x1934f9 info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0x91 for map 20.4 at 0x1934fc info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 20.4 at 0x1934fc info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0xf for map None.None at 0x1934fd info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x8 for map None.None at 0x193500 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x6e for map None.None at 0x193503 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x6f for map None.None at 0x193505 info: Following code1 [leader id][follower id] long_info: A person1 follows another person2. The person1 that follows just repeats the movement of person2, even if the persons are not directly next to each other. [6F][Leader Person2][Follower Person1] parsing command byte 0x6e for map None.None at 0x193508 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x6f for map None.None at 0x19350a info: Following code1 [leader id][follower id] long_info: A person1 follows another person2. The person1 that follows just repeats the movement of person2, even if the persons are not directly next to each other. [6F][Leader Person2][Follower Person1] parsing command byte 0x14 for map None.None at 0x19350d info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0x12 for map None.None at 0x19350f info: Activate trigger event from afar [xx][yy][zz] long_info: Changes trigger event number on map (map bank/map no) to xx. xx = trigger event number that should be activated [12][MapBank][MapNo][xx] parsing command byte 0x91 for map None.None at 0x193513 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 20 map_id is: 5 event header address is: 0x1935af parsing signpost script.. signpost is at: x=4 y=2 parsing command byte 0x48 for map 20.5 at 0x193582 info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0xf for map 20.5 at 0x193584 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x4c for map 20.5 at 0x193587 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 20.5 at 0x19358a info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x7c for map 20.5 at 0x19358b info: Write command queue [xxyy] long_info: Writes a command queue to the next free slot in ram. Max 4 command queues à 5 bytes. This code is buggy (bug fix: 25:7C74 --> 12). [7C][2byte pointer to 5byte command queue] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDok25_7CC9 parsing command byte 0x0 for map 20.5 at 0x19358e info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 20.5 at 0x193591 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xb3 for map 20.5 at 0x193594 info: None long_info: None skipping event data... (oops) parsing command byte 0x8d for map 20.5 at 0x193576 info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0x7b for map 20.5 at 0x193577 info: Reload/redisplay map portion occupied by HIRO long_info: Reloads and re-displays the part of the map HIRO is on, without reloading any other map data or the tileset. [7B] parsing command byte 0x75 for map 20.5 at 0x193578 info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0x14 for map 20.5 at 0x19357b info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0x12 for map 20.5 at 0x19357d info: Activate trigger event from afar [xx][yy][zz] long_info: Changes trigger event number on map (map bank/map no) to xx. xx = trigger event number that should be activated [12][MapBank][MapNo][xx] parsing command byte 0x91 for map 20.5 at 0x193581 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 20.5 at 0x19357a info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 20 map_id is: 6 event header address is: 0x193673 parsing signpost script.. signpost is at: x=4 y=2 parsing command byte 0x48 for map 20.6 at 0x1935da info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0xf for map 20.6 at 0x1935dc info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x6 for map 20.6 at 0x1935df info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x76 for map 20.6 at 0x1935e2 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x0 for map 20.6 at 0x1935e5 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x76 for map 20.6 at 0x1935e8 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0xf4 for map 20.6 at 0x1935eb info: None long_info: None skipping event data... (oops) parsing command byte 0x8d for map 20.6 at 0x1935ce info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0xd3 for map 20.6 at 0x1935cf info: None long_info: None parsing command byte 0x91 for map 20.6 at 0x1935d2 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 21 map_id is: 1 event header address is: 0x1ad463 parsing signpost script.. signpost is at: x=5 y=11 parsing command byte 0x53 for map 21.1 at 0x1ad382 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x88 for map 21.1 at 0x1ad383 info: Engine remote control [bb][xxyy] long_info: This code controls the engine via "data stream". [88][3byte pointer to control structure] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA88 parsing command byte 0x54 for map 21.1 at 0x1ad387 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x0 for map 21.1 at 0x1ad388 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xa0 for map 21.1 at 0x1ad38b info: Credits long_info: Shows the credits and HIRO is located on the Silver mountain plateau. [A0] parsing command byte 0xb3 for map 21.1 at 0x1ad38c info: None long_info: None parsing signpost script.. signpost is at: x=6 y=9 parsing command byte 0x53 for map 21.1 at 0x1ad385 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x56 for map 21.1 at 0x1ad386 info: ?? Display a pokemon picture and a yes/no box long_info: Displays a YES/NO box at X08/Y05. feedback: 00 = no chosen 01 = yes chosen parsing command byte 0x54 for map 21.1 at 0x1ad387 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x0 for map 21.1 at 0x1ad388 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xa0 for map 21.1 at 0x1ad38b info: Credits long_info: Shows the credits and HIRO is located on the Silver mountain plateau. [A0] parsing command byte 0xb3 for map 21.1 at 0x1ad38c info: None long_info: None skipping event data... (oops) map_group is: 21 map_id is: 2 event header address is: 0x1ad35c parsing signpost script.. signpost is at: x=5 y=5 parsing command byte 0x53 for map 21.2 at 0x1ad32c info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x2f for map 21.2 at 0x1ad32d info: Attach item to last pokemon in list [xxyy] long_info: Gives last PKMN in list an item and letter text if applicable. Replaces existing items. [2F][2byte pointer to item no + 0x20 bytes letter text] parsing command byte 0x82 for map 21.2 at 0x1ad330 info: Reload map music long_info: After a map reload no music is played. [82] parsing command byte 0x98 for map 21.2 at 0x1ad331 info: Hang-up phone long_info: Simulates the hanging-up. [98] parsing command byte 0x82 for map 21.2 at 0x1ad332 info: Reload map music long_info: After a map reload no music is played. [82] parsing command byte 0x8b for map 21.2 at 0x1ad333 info: Deactive static facing after time [xx] long_info: Deactivates static facings on all persons on the screen after a time xx. [8B][xx] parsing command byte 0x8d for map 21.2 at 0x1ad335 info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0x86 for map 21.2 at 0x1ad336 info: Warp sound long_info: Evaluates which sound is played when HIRO enters a Warp field. Usage via script ingame is rather not useful. [86] parsing command byte 0x7f for map 21.2 at 0x1ad337 info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0x91 for map 21.2 at 0x1ad338 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 skipping event data... (oops) parsing command byte 0x1c for map None.None at 0x1ad318 info: Check pre-ID-mapped RAM location [xx] long_info: Checks special game-technical values and writes then into RAM. [1C][following part][Ram check (when <> 08/09 see „numbers“ in list of following parts)] following part (and then hex values) 01 = PKMN count in party 00 - 06 02 = ??? 03 = Battle type of wild PKMN 04 = ??? 05 = PokéDex caught 00 - FA 06 = PokéDex seen 00 - FA 07 = Badge count 00 - 10 08 = Movement 00 = walk 01 = bike 02 = slipping 04 = surfer 08 = surfing pikachu 09 = HIRO direction 00 (d) 01 (u) 02 (l) 03 (r) 0A = Time in hours 00 - 18 0B = Day 00 (Mo) - 06 (Su) 0C = Map bank of current map 0D = Map no of current map 0E = Num. of diff. unowns seen 00 - 1A 0F = Action byte of map 10 = Amount of free spaces in pkmn box 00 - 14 11 = Minutes until end bug contest 00 - 14 12 = X position of HIRO 13 = Y position of HIRO 14 = phone call number parsing command byte 0xb for map None.None at 0x1ad31a info: RAM check [>byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x53 for map None.None at 0x1ad31d info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x1c for map None.None at 0x1ad31e info: Check pre-ID-mapped RAM location [xx] long_info: Checks special game-technical values and writes then into RAM. [1C][following part][Ram check (when <> 08/09 see „numbers“ in list of following parts)] following part (and then hex values) 01 = PKMN count in party 00 - 06 02 = ??? 03 = Battle type of wild PKMN 04 = ??? 05 = PokéDex caught 00 - FA 06 = PokéDex seen 00 - FA 07 = Badge count 00 - 10 08 = Movement 00 = walk 01 = bike 02 = slipping 04 = surfer 08 = surfing pikachu 09 = HIRO direction 00 (d) 01 (u) 02 (l) 03 (r) 0A = Time in hours 00 - 18 0B = Day 00 (Mo) - 06 (Su) 0C = Map bank of current map 0D = Map no of current map 0E = Num. of diff. unowns seen 00 - 1A 0F = Action byte of map 10 = Amount of free spaces in pkmn box 00 - 14 11 = Minutes until end bug contest 00 - 14 12 = X position of HIRO 13 = Y position of HIRO 14 = phone call number parsing command byte 0xa for map None.None at 0x1ad320 info: RAM check [00 = call number [9C] parsing command byte 0x4c for map 21.6 at 0x70bc5 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x0 for map 21.6 at 0x70bc8 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x7f for map 21.6 at 0x70bcb info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0xa9 for map 21.6 at 0x70bcc info: None long_info: None parsing signpost script.. signpost is at: x=3 y=0 parsing command byte 0xc for map 21.6 at 0x70bc6 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 21 map_id is: 7 event header address is: 0x70eab parsing signpost script.. signpost is at: x=14 y=0 parsing command byte 0x53 for map 21.7 at 0x70d50 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x85 for map 21.7 at 0x70d51 info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0x4e for map 21.7 at 0x70d52 info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x0 for map 21.7 at 0x70d53 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xa2 for map 21.7 at 0x70d56 info: Set memX to a string by a pointer [aabb][bank][xx] long_info: MEMORY1, 2 or 3 can directly be filled with a string from a different rom bank. [A2][2byte pointer][Bank][00-02 MEMORY] parsing command byte 0xa3 for map 21.7 at 0x70d5b info: Copy the name of a location (by id) to TEMPMEMORY1 long_info: By the location number the name of that location is written to TEMPMEMORY1. [A3][Location no] parsing command byte 0xa2 for map 21.7 at 0x70d5d info: Set memX to a string by a pointer [aabb][bank][xx] long_info: MEMORY1, 2 or 3 can directly be filled with a string from a different rom bank. [A2][2byte pointer][Bank][00-02 MEMORY] parsing command byte 0xb6 for map 21.7 at 0x70d62 info: None long_info: None parsing signpost script.. signpost is at: x=3 y=0 parsing command byte 0xc for map 21.7 at 0x70d4d info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 21 map_id is: 8 event header address is: 0x70fbc parsing signpost script.. signpost is at: x=14 y=0 parsing command byte 0x53 for map 21.8 at 0x70f1b info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x8c for map 21.8 at 0x70f1c info: Priority jump to script by pointer [xxyy] long_info: The pointer acts like code 00, but with this higher functions like the bike etc. are not paid attention to, while the script is running. [8C][2byte pointer to script] parsing command byte 0x14 for map 21.8 at 0x70f1f info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0x0 for map 21.8 at 0x70f21 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x7f for map 21.8 at 0x70f24 info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0xa7 for map 21.8 at 0x70f25 info: None long_info: None parsing signpost script.. signpost is at: x=3 y=0 parsing command byte 0xc for map 21.8 at 0x70f1e info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 21 map_id is: 9 event header address is: 0x71110 parsing signpost script.. signpost is at: x=14 y=0 parsing command byte 0x53 for map 21.9 at 0x7101d info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x0 for map 21.9 at 0x7101e info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x14 for map 21.9 at 0x71021 info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0x0 for map 21.9 at 0x71023 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xb6 for map 21.9 at 0x71026 info: None long_info: None parsing signpost script.. signpost is at: x=3 y=0 parsing command byte 0xc for map 21.9 at 0x71020 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 21 map_id is: 10 event header address is: 0x71363 parsing signpost script.. signpost is at: x=14 y=0 parsing command byte 0x53 for map 21.10 at 0x7124a info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x3e for map 21.10 at 0x7124b info: Read coins amount [xx] long_info: Reads amount of coins in coin case and writes it to MEMORY 1, 2, or 3 for later use in text. [3E][00-02 MEMORY] parsing command byte 0xc for map 21.10 at 0x7124d info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=3 y=0 parsing command byte 0xc for map 21.10 at 0x709ec info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=8 y=1 parsing command byte 0x47 for map 21.10 at 0x71180 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 21.10 at 0x71181 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0xf for map 21.10 at 0x71184 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x4f for map 21.10 at 0x71187 info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x59 for map 21.10 at 0x7118a info: Load pikachu data long_info: Loads 0x19 (Pikachu) to PokéRAM and level 5 to LevelRAM. parsing command byte 0x50 for map 21.10 at 0x7118b info: Write screen backup long_info: Writes backup of parts of the screen the box was overlapping. parsing command byte 0x6 for map 21.10 at 0x7118c info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x51 for map 21.10 at 0x7118f info: Display text (by pointer), turn to HIRO, end [xxyy] long_info: Displays a text and lets person turn to HIRO. Afterwards there is no other script interpreted. Corresponds to 6A + 47 + 4C + 53 + 49 + 90 [51][2byte textpointer] parsing signpost script.. signpost is at: x=9 y=1 parsing command byte 0x47 for map 21.10 at 0x71180 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 21.10 at 0x71181 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0xf for map 21.10 at 0x71184 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x4f for map 21.10 at 0x71187 info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x59 for map 21.10 at 0x7118a info: Load pikachu data long_info: Loads 0x19 (Pikachu) to PokéRAM and level 5 to LevelRAM. parsing command byte 0x50 for map 21.10 at 0x7118b info: Write screen backup long_info: Writes backup of parts of the screen the box was overlapping. parsing command byte 0x6 for map 21.10 at 0x7118c info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x51 for map 21.10 at 0x7118f info: Display text (by pointer), turn to HIRO, end [xxyy] long_info: Displays a text and lets person turn to HIRO. Afterwards there is no other script interpreted. Corresponds to 6A + 47 + 4C + 53 + 49 + 90 [51][2byte textpointer] parsing signpost script.. signpost is at: x=10 y=1 parsing command byte 0x47 for map 21.10 at 0x71180 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 21.10 at 0x71181 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0xf for map 21.10 at 0x71184 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x4f for map 21.10 at 0x71187 info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x59 for map 21.10 at 0x7118a info: Load pikachu data long_info: Loads 0x19 (Pikachu) to PokéRAM and level 5 to LevelRAM. parsing command byte 0x50 for map 21.10 at 0x7118b info: Write screen backup long_info: Writes backup of parts of the screen the box was overlapping. parsing command byte 0x6 for map 21.10 at 0x7118c info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x51 for map 21.10 at 0x7118f info: Display text (by pointer), turn to HIRO, end [xxyy] long_info: Displays a text and lets person turn to HIRO. Afterwards there is no other script interpreted. Corresponds to 6A + 47 + 4C + 53 + 49 + 90 [51][2byte textpointer] parsing signpost script.. signpost is at: x=11 y=1 parsing command byte 0x47 for map 21.10 at 0x71180 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 21.10 at 0x71181 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0xf for map 21.10 at 0x71184 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x4f for map 21.10 at 0x71187 info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x59 for map 21.10 at 0x7118a info: Load pikachu data long_info: Loads 0x19 (Pikachu) to PokéRAM and level 5 to LevelRAM. parsing command byte 0x50 for map 21.10 at 0x7118b info: Write screen backup long_info: Writes backup of parts of the screen the box was overlapping. parsing command byte 0x6 for map 21.10 at 0x7118c info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x51 for map 21.10 at 0x7118f info: Display text (by pointer), turn to HIRO, end [xxyy] long_info: Displays a text and lets person turn to HIRO. Afterwards there is no other script interpreted. Corresponds to 6A + 47 + 4C + 53 + 49 + 90 [51][2byte textpointer] skipping event data... (oops) parsing command byte 0x7a for map None.None at 0x71175 info: Reload/redisplay map long_info: Reloads and re-displays the map completely. Loads tileset and all map data anew. Screen gets light. [7A] parsing command byte 0xc for map None.None at 0x71176 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] map_group is: 21 map_id is: 11 event header address is: 0x713d8 parsing signpost script.. signpost is at: x=3 y=0 parsing command byte 0x47 for map 21.11 at 0x713ad info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x95 for map 21.11 at 0x713ae info: Display trade menu by trade id [xx] long_info: Displays a whole trade menu, but it doesn't load font to ram. [95][trade no] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDokTausch parsing command byte 0x53 for map 21.11 at 0x713b0 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 21.11 at 0x713b1 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x8 for map 21.11 at 0x713b2 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x8b for map 21.11 at 0x713b5 info: Deactive static facing after time [xx] long_info: Deactivates static facings on all persons on the screen after a time xx. [8B][xx] parsing command byte 0x85 for map 21.11 at 0x713b7 info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0x6e for map 21.11 at 0x713b8 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x78 for map 21.11 at 0x713ba info: Draw map data over current map [bank][pointer] long_info: This code draws another whole map as wide and high as the current map over the current map. The 3byte pointer points to the new map. [78][3byte pointer to new map data] parsing command byte 0x6 for map 21.11 at 0x713be info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x15 for map 21.11 at 0x713c1 info: Load variable into RAM [xx] long_info: [15][xx] parsing command byte 0x5 for map 21.11 at 0x713c3 info: pointer code long_info: 2byte pointer points to 3byte pointer; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x6 for map 21.11 at 0x713c6 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x15 for map 21.11 at 0x713c9 info: Load variable into RAM [xx] long_info: [15][xx] parsing command byte 0x7 for map 21.11 at 0x713cb info: RAM check [<>byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x8 for map 21.11 at 0x713ce info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x15 for map 21.11 at 0x713d1 info: Load variable into RAM [xx] long_info: [15][xx] parsing command byte 0x9 for map 21.11 at 0x713d3 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0xa for map 21.11 at 0x713d6 info: RAM check [ return to old script [code][2 byte pointer] parsing command byte 0x1 for map 21.11 at 0x713dc info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x3 for map 21.11 at 0x713e0 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x15 for map 21.11 at 0x713e3 info: Load variable into RAM [xx] long_info: [15][xx] parsing command byte 0x0 for map 21.11 at 0x713e5 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x3 for map 21.11 at 0x713e8 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x53 for map 21.11 at 0x713eb info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x0 for map 21.11 at 0x713ec info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x51 for map 21.11 at 0x713ef info: Display text (by pointer), turn to HIRO, end [xxyy] long_info: Displays a text and lets person turn to HIRO. Afterwards there is no other script interpreted. Corresponds to 6A + 47 + 4C + 53 + 49 + 90 [51][2byte textpointer] skipping event data... (oops) map_group is: 21 map_id is: 12 event header address is: 0x714cc parsing signpost script.. signpost is at: x=5 y=8 parsing command byte 0x53 for map 21.12 at 0x71410 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xab for map 21.12 at 0x71411 info: None long_info: None parsing signpost script.. signpost is at: x=0 y=3 parsing command byte 0xc for map 21.12 at 0x71413 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=2 y=3 parsing command byte 0xc for map 21.12 at 0x71413 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 21 map_id is: 13 event header address is: 0x71645 parsing signpost script.. signpost is at: x=0 y=3 parsing command byte 0x53 for map 21.13 at 0x71530 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x39 for map 21.13 at 0x71531 info: BUGGY x/y comparison [xxyy] long_info: This code is buggy (Bug fix: 0x3021 --> C6) and can't used as described without fix. This code compares the X and Y coordinates of HIRO with the ones in a table (max. 20h XY pairs) on the current map. It sets or resets the 4 bytes D17C to D17F accordingly to this table, 1 bit for every table entry. To be useful, this code can only be used in a command queue, because with every regular move of HIRO the bits are reset again. This code is an alternative to the trigger events and can be used via the command queue code. See Write command queue, Additional documentation: 3:4661 with c= index in table (start=00), hl=D171, b=01, d=00. parsing command byte 0x2c for map 21.13 at 0x71534 info: Check for pokemon [xx] long_info: Checks if there is a certain PKMN in team. feedback: 00 = in team 01 = not in team xx = pkmn id [2C][xx] parsing command byte 0xc for map 21.13 at 0x71536 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=5 y=8 parsing command byte 0x53 for map 21.13 at 0x71533 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x2c for map 21.13 at 0x71534 info: Check for pokemon [xx] long_info: Checks if there is a certain PKMN in team. feedback: 00 = in team 01 = not in team xx = pkmn id [2C][xx] parsing command byte 0xc for map 21.13 at 0x71536 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=2 y=3 parsing command byte 0xc for map 21.13 at 0x71536 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 21 map_id is: 14 event header address is: 0x719d5 parsing signpost script.. signpost is at: x=5 y=8 parsing command byte 0x53 for map 21.14 at 0x716c2 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xb for map 21.14 at 0x716c3 info: RAM check [>byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x28 for map 21.14 at 0x716c6 info: Give cell phone number [xx] long_info: Gives number to HIRO. feedback: 00 = number was added successfully 01 = Number already added, or no memory xx = number of person [28][xx] 01 = mother 02 = bike store 03 = bll 04 = elm parsing command byte 0x53 for map 21.14 at 0x716c8 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x52 for map 21.14 at 0x716c9 info: Display text (by pointer) and end [xxyy] long_info: Displays a text. Afterwards there is no other script interpreted. Corresponds to 47 + 4C + 53 + 49 + 90 [52][2byte textpointer] parsing signpost script.. signpost is at: x=4 y=3 parsing command byte 0x53 for map 21.14 at 0x716c5 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x28 for map 21.14 at 0x716c6 info: Give cell phone number [xx] long_info: Gives number to HIRO. feedback: 00 = number was added successfully 01 = Number already added, or no memory xx = number of person [28][xx] 01 = mother 02 = bike store 03 = bll 04 = elm parsing command byte 0x53 for map 21.14 at 0x716c8 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x52 for map 21.14 at 0x716c9 info: Display text (by pointer) and end [xxyy] long_info: Displays a text. Afterwards there is no other script interpreted. Corresponds to 47 + 4C + 53 + 49 + 90 [52][2byte textpointer] parsing signpost script.. signpost is at: x=1 y=6 parsing command byte 0x53 for map 21.14 at 0x716c8 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x52 for map 21.14 at 0x716c9 info: Display text (by pointer) and end [xxyy] long_info: Displays a text. Afterwards there is no other script interpreted. Corresponds to 47 + 4C + 53 + 49 + 90 [52][2byte textpointer] parsing signpost script.. signpost is at: x=1 y=3 parsing command byte 0x53 for map 21.14 at 0x716cb info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x96 for map 21.14 at 0x716cc info: Give cell phone number by id with YES/NO [id] long_info: Gives a telephone number but asks for decision beforehand. feedback: 00 = ok chosen 01 = Cell phone number already registered/Memory full 02 = no chosen [96][Cell phone number] parsing command byte 0x0 for map 21.14 at 0x716ce info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x7f for map 21.14 at 0x716d1 info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0xb3 for map 21.14 at 0x716d2 info: None long_info: None skipping event data... (oops) map_group is: 21 map_id is: 15 event header address is: 0x71ad4 parsing signpost script.. signpost is at: x=6 y=1 parsing command byte 0x53 for map 21.15 at 0x71a3c info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xa1 for map 21.15 at 0x71a3d info: Warp-to and set facing direction [Facing (00-03)][Map bank][Map no][X][Y] long_info: Acts like code 0x3C but defines the desired facing of HIRO. [A1][Facing (00-03)][Map bank][Map no][X][Y] parsing command byte 0xa7 for map 21.15 at 0x71a43 info: None long_info: None skipping event data... (oops) map_group is: 21 map_id is: 16 event header address is: 0x71e03 skipping event data... (oops) map_group is: 21 map_id is: 17 event header address is: 0x720b8 skipping event data... (oops) map_group is: 21 map_id is: 18 event header address is: 0x72110 skipping event data... (oops) map_group is: 21 map_id is: 19 event header address is: 0x725a4 parsing signpost script.. signpost is at: x=1 y=6 parsing command byte 0x48 for map 21.19 at 0x721b9 info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0xf for map 21.19 at 0x721bb info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 21.19 at 0x721be info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 21.19 at 0x721bf info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=1 y=7 parsing command byte 0x48 for map 21.19 at 0x721b9 info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0xf for map 21.19 at 0x721bb info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 21.19 at 0x721be info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 21.19 at 0x721bf info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=1 y=8 parsing command byte 0x48 for map 21.19 at 0x721b9 info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0xf for map 21.19 at 0x721bb info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 21.19 at 0x721be info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 21.19 at 0x721bf info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=1 y=9 parsing command byte 0x48 for map 21.19 at 0x721b9 info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0xf for map 21.19 at 0x721bb info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 21.19 at 0x721be info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 21.19 at 0x721bf info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=1 y=10 parsing command byte 0x48 for map 21.19 at 0x721b9 info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0xf for map 21.19 at 0x721bb info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 21.19 at 0x721be info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 21.19 at 0x721bf info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=1 y=11 parsing command byte 0x48 for map 21.19 at 0x721b9 info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0xf for map 21.19 at 0x721bb info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 21.19 at 0x721be info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 21.19 at 0x721bf info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=6 y=6 parsing command byte 0x48 for map 21.19 at 0x721b9 info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0xf for map 21.19 at 0x721bb info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 21.19 at 0x721be info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 21.19 at 0x721bf info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=6 y=7 parsing command byte 0x48 for map 21.19 at 0x721b9 info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0xf for map 21.19 at 0x721bb info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 21.19 at 0x721be info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 21.19 at 0x721bf info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=6 y=8 parsing command byte 0x48 for map 21.19 at 0x721b9 info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0xf for map 21.19 at 0x721bb info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 21.19 at 0x721be info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 21.19 at 0x721bf info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=6 y=9 parsing command byte 0x47 for map 21.19 at 0x721c3 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 21.19 at 0x721c4 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 21.19 at 0x721c7 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xf for map 21.19 at 0x721c8 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 21.19 at 0x721cb info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 21.19 at 0x721cc info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=6 y=10 parsing command byte 0x48 for map 21.19 at 0x721b9 info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0xf for map 21.19 at 0x721bb info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 21.19 at 0x721be info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 21.19 at 0x721bf info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=6 y=11 parsing command byte 0x48 for map 21.19 at 0x721b9 info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0xf for map 21.19 at 0x721bb info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 21.19 at 0x721be info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 21.19 at 0x721bf info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=7 y=6 parsing command byte 0x17 for map 21.19 at 0x721a1 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x6 for map 21.19 at 0x721a3 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x61 for map 21.19 at 0x721a6 info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0x0 for map 21.19 at 0x721a8 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 21.19 at 0x721ab info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 21.19 at 0x721ae info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 21.19 at 0x721af info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=7 y=7 parsing command byte 0x17 for map 21.19 at 0x721a1 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x6 for map 21.19 at 0x721a3 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x61 for map 21.19 at 0x721a6 info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0x0 for map 21.19 at 0x721a8 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 21.19 at 0x721ab info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 21.19 at 0x721ae info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 21.19 at 0x721af info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=7 y=8 parsing command byte 0x17 for map 21.19 at 0x721a1 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x6 for map 21.19 at 0x721a3 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x61 for map 21.19 at 0x721a6 info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0x0 for map 21.19 at 0x721a8 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 21.19 at 0x721ab info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 21.19 at 0x721ae info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 21.19 at 0x721af info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=7 y=9 parsing command byte 0x17 for map 21.19 at 0x721a1 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x6 for map 21.19 at 0x721a3 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x61 for map 21.19 at 0x721a6 info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0x0 for map 21.19 at 0x721a8 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 21.19 at 0x721ab info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 21.19 at 0x721ae info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 21.19 at 0x721af info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=7 y=10 parsing command byte 0x48 for map 21.19 at 0x721b0 info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0x15 for map 21.19 at 0x721b2 info: Load variable into RAM [xx] long_info: [15][xx] parsing command byte 0xf for map 21.19 at 0x721b4 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 21.19 at 0x721b7 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 21.19 at 0x721b8 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=7 y=11 parsing command byte 0x17 for map 21.19 at 0x721a1 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x6 for map 21.19 at 0x721a3 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x61 for map 21.19 at 0x721a6 info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0x0 for map 21.19 at 0x721a8 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 21.19 at 0x721ab info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 21.19 at 0x721ae info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 21.19 at 0x721af info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=12 y=6 parsing command byte 0x17 for map 21.19 at 0x721a1 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x6 for map 21.19 at 0x721a3 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x61 for map 21.19 at 0x721a6 info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0x0 for map 21.19 at 0x721a8 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 21.19 at 0x721ab info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 21.19 at 0x721ae info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 21.19 at 0x721af info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=12 y=7 parsing command byte 0x17 for map 21.19 at 0x721a1 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x6 for map 21.19 at 0x721a3 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x61 for map 21.19 at 0x721a6 info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0x0 for map 21.19 at 0x721a8 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 21.19 at 0x721ab info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 21.19 at 0x721ae info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 21.19 at 0x721af info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=12 y=8 parsing command byte 0x17 for map 21.19 at 0x721a1 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x6 for map 21.19 at 0x721a3 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x61 for map 21.19 at 0x721a6 info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0x0 for map 21.19 at 0x721a8 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 21.19 at 0x721ab info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 21.19 at 0x721ae info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 21.19 at 0x721af info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=12 y=9 parsing command byte 0x17 for map 21.19 at 0x721a1 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x6 for map 21.19 at 0x721a3 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x61 for map 21.19 at 0x721a6 info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0x0 for map 21.19 at 0x721a8 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 21.19 at 0x721ab info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 21.19 at 0x721ae info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 21.19 at 0x721af info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=12 y=10 parsing command byte 0x17 for map 21.19 at 0x721a1 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x6 for map 21.19 at 0x721a3 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x61 for map 21.19 at 0x721a6 info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0x0 for map 21.19 at 0x721a8 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 21.19 at 0x721ab info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 21.19 at 0x721ae info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 21.19 at 0x721af info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=12 y=11 parsing command byte 0x17 for map 21.19 at 0x721a1 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x6 for map 21.19 at 0x721a3 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x61 for map 21.19 at 0x721a6 info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0x0 for map 21.19 at 0x721a8 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 21.19 at 0x721ab info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 21.19 at 0x721ae info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 21.19 at 0x721af info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=13 y=6 parsing command byte 0x17 for map 21.19 at 0x721a1 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x6 for map 21.19 at 0x721a3 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x61 for map 21.19 at 0x721a6 info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0x0 for map 21.19 at 0x721a8 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 21.19 at 0x721ab info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 21.19 at 0x721ae info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 21.19 at 0x721af info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=13 y=7 parsing command byte 0x17 for map 21.19 at 0x721a1 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x6 for map 21.19 at 0x721a3 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x61 for map 21.19 at 0x721a6 info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0x0 for map 21.19 at 0x721a8 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 21.19 at 0x721ab info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 21.19 at 0x721ae info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 21.19 at 0x721af info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=13 y=8 parsing command byte 0x17 for map 21.19 at 0x721a1 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x6 for map 21.19 at 0x721a3 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x61 for map 21.19 at 0x721a6 info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0x0 for map 21.19 at 0x721a8 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 21.19 at 0x721ab info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 21.19 at 0x721ae info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 21.19 at 0x721af info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=13 y=9 parsing command byte 0x17 for map 21.19 at 0x721a1 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x6 for map 21.19 at 0x721a3 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x61 for map 21.19 at 0x721a6 info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0x0 for map 21.19 at 0x721a8 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 21.19 at 0x721ab info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 21.19 at 0x721ae info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 21.19 at 0x721af info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=13 y=10 parsing command byte 0x17 for map 21.19 at 0x721a1 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x6 for map 21.19 at 0x721a3 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x61 for map 21.19 at 0x721a6 info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0x0 for map 21.19 at 0x721a8 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 21.19 at 0x721ab info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 21.19 at 0x721ae info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 21.19 at 0x721af info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=13 y=11 parsing command byte 0x17 for map 21.19 at 0x721a1 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x6 for map 21.19 at 0x721a3 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x61 for map 21.19 at 0x721a6 info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0x0 for map 21.19 at 0x721a8 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 21.19 at 0x721ab info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 21.19 at 0x721ae info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 21.19 at 0x721af info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=18 y=6 parsing command byte 0x17 for map 21.19 at 0x721a1 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x6 for map 21.19 at 0x721a3 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x61 for map 21.19 at 0x721a6 info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0x0 for map 21.19 at 0x721a8 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 21.19 at 0x721ab info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 21.19 at 0x721ae info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 21.19 at 0x721af info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=18 y=7 parsing command byte 0x17 for map 21.19 at 0x721a1 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x6 for map 21.19 at 0x721a3 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x61 for map 21.19 at 0x721a6 info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0x0 for map 21.19 at 0x721a8 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 21.19 at 0x721ab info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 21.19 at 0x721ae info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 21.19 at 0x721af info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=18 y=8 parsing command byte 0x53 for map 21.19 at 0x721c0 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x4f for map 21.19 at 0x721c1 info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x4c for map 21.19 at 0x721c4 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 21.19 at 0x721c7 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xf for map 21.19 at 0x721c8 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 21.19 at 0x721cb info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 21.19 at 0x721cc info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=18 y=9 parsing command byte 0x17 for map 21.19 at 0x721a1 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x6 for map 21.19 at 0x721a3 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x61 for map 21.19 at 0x721a6 info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0x0 for map 21.19 at 0x721a8 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 21.19 at 0x721ab info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 21.19 at 0x721ae info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 21.19 at 0x721af info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=18 y=10 parsing command byte 0x17 for map 21.19 at 0x721a1 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x6 for map 21.19 at 0x721a3 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x61 for map 21.19 at 0x721a6 info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0x0 for map 21.19 at 0x721a8 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 21.19 at 0x721ab info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 21.19 at 0x721ae info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 21.19 at 0x721af info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=18 y=11 parsing command byte 0x17 for map 21.19 at 0x721a1 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x6 for map 21.19 at 0x721a3 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x61 for map 21.19 at 0x721a6 info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0x0 for map 21.19 at 0x721a8 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 21.19 at 0x721ab info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 21.19 at 0x721ae info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 21.19 at 0x721af info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=15 y=0 parsing command byte 0x53 for map 21.19 at 0x7219b info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xf3 for map 21.19 at 0x7219c info: None long_info: None parsing signpost script.. signpost is at: x=9 y=0 parsing command byte 0x53 for map 21.19 at 0x7219e info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x21 for map 21.19 at 0x7219f info: Check if player has item [xx] long_info: Checks if item is possessed. feedback: 00 = does not have item 01 = has item [21][item no] parsing command byte 0x17 for map 21.19 at 0x721a1 info: Random number [xx] long_info: Reads xx and creates a random number between 00 and xx -1. According to this xx can be all but 00. Random number = [00; xx) The nearer the random number is to xx, the rarer it occurs. Random number gets written to RAM. parsing command byte 0x6 for map 21.19 at 0x721a3 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x61 for map 21.19 at 0x721a6 info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0x0 for map 21.19 at 0x721a8 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 21.19 at 0x721ab info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x49 for map 21.19 at 0x721ae info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 21.19 at 0x721af info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 skipping event data... (oops) map_group is: 21 map_id is: 20 event header address is: 0x72a34 parsing signpost script.. signpost is at: x=2 y=1 parsing command byte 0x6b for map 21.20 at 0x726ef info: Move facing direction of person1 to look at person2 [2][1] long_info: Turns the head of person1 to another person2. [6B][Person2][Person1] Person2 = If number is greater than 0xFD, then use number of talked-to person. Person1 = If number equals 0xFE, then take number of talked-to person. parsing command byte 0x3e for map 21.20 at 0x726f2 info: Read coins amount [xx] long_info: Reads amount of coins in coin case and writes it to MEMORY 1, 2, or 3 for later use in text. [3E][00-02 MEMORY] parsing command byte 0x54 for map 21.20 at 0x726f4 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x21 for map 21.20 at 0x726f5 info: Check if player has item [xx] long_info: Checks if item is possessed. feedback: 00 = does not have item 01 = has item [21][item no] parsing command byte 0x8 for map 21.20 at 0x726f7 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4c for map 21.20 at 0x726fa info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0xf for map 21.20 at 0x726fd info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x4f for map 21.20 at 0x72700 info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x59 for map 21.20 at 0x72703 info: Load pikachu data long_info: Loads 0x19 (Pikachu) to PokéRAM and level 5 to LevelRAM. parsing command byte 0x50 for map 21.20 at 0x72704 info: Write screen backup long_info: Writes backup of parts of the screen the box was overlapping. parsing command byte 0x6 for map 21.20 at 0x72705 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x67 for map 21.20 at 0x72708 info: Set last talked-to person [xx] long_info: Sets the number of the last person talked to. [67][person] parsing command byte 0x2 for map 21.20 at 0x7270a info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x6 for map 21.20 at 0x7270d info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x67 for map 21.20 at 0x72710 info: Set last talked-to person [xx] long_info: Sets the number of the last person talked to. [67][person] parsing command byte 0x84 for map 21.20 at 0x72712 info: Play sound by sound number [xxyy] long_info: Plays the sound. [84][Sound no (2byte)] Sound no: See the music archive that should accompany this document Thanks to philb for this matter. He helped me to record a big part of these sounds. parsing command byte 0xdc for map 21.20 at 0x72715 info: None long_info: None parsing signpost script.. signpost is at: x=4 y=1 parsing command byte 0x6b for map 21.20 at 0x727c8 info: Move facing direction of person1 to look at person2 [2][1] long_info: Turns the head of person1 to another person2. [6B][Person2][Person1] Person2 = If number is greater than 0xFD, then use number of talked-to person. Person1 = If number equals 0xFE, then take number of talked-to person. parsing command byte 0x3e for map 21.20 at 0x727cb info: Read coins amount [xx] long_info: Reads amount of coins in coin case and writes it to MEMORY 1, 2, or 3 for later use in text. [3E][00-02 MEMORY] parsing command byte 0x54 for map 21.20 at 0x727cd info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x21 for map 21.20 at 0x727ce info: Check if player has item [xx] long_info: Checks if item is possessed. feedback: 00 = does not have item 01 = has item [21][item no] parsing command byte 0x8 for map 21.20 at 0x727d0 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4c for map 21.20 at 0x727d3 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0xf for map 21.20 at 0x727d6 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x4f for map 21.20 at 0x727d9 info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x59 for map 21.20 at 0x727dc info: Load pikachu data long_info: Loads 0x19 (Pikachu) to PokéRAM and level 5 to LevelRAM. parsing command byte 0x50 for map 21.20 at 0x727dd info: Write screen backup long_info: Writes backup of parts of the screen the box was overlapping. parsing command byte 0x6 for map 21.20 at 0x727de info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x67 for map 21.20 at 0x727e1 info: Set last talked-to person [xx] long_info: Sets the number of the last person talked to. [67][person] parsing command byte 0x2 for map 21.20 at 0x727e3 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x6 for map 21.20 at 0x727e6 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x68 for map 21.20 at 0x727e9 info: Move person (by id) with moving data (by pointer) [id][xxyy] long_info: Moves the person using moving data. [68][Person][2byte pointer to moving data] see also http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzB68bis69 parsing command byte 0x27 for map 21.20 at 0x727ed info: Check if HIRO has enough coins [xxyy] long_info: Checks if HIRO has enough coins. feedback: 00 = has enough coins 01 = has exact amount 02 = does not have enough yyxx = amount of coins necessary (0000 - 270F) [27][xxyy] parsing command byte 0x6 for map 21.20 at 0x727f0 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x67 for map 21.20 at 0x727f3 info: Set last talked-to person [xx] long_info: Sets the number of the last person talked to. [67][person] parsing command byte 0x1 for map 21.20 at 0x727f5 info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x67 for map 21.20 at 0x727f9 info: Set last talked-to person [xx] long_info: Sets the number of the last person talked to. [67][person] parsing command byte 0x19 for map 21.20 at 0x727fb info: Copy from RAM address to script RAM variable [xxyy] long_info: Writes variable from ram address to RAM. [19][2-byte RAM address] parsing command byte 0x68 for map 21.20 at 0x727fe info: Move person (by id) with moving data (by pointer) [id][xxyy] long_info: Moves the person using moving data. [68][Person][2byte pointer to moving data] see also http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzB68bis69 parsing command byte 0x67 for map 21.20 at 0x72802 info: Set last talked-to person [xx] long_info: Sets the number of the last person talked to. [67][person] parsing command byte 0x85 for map 21.20 at 0x72804 info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0x22 for map 21.20 at 0x72805 info: Give money to HIRO/account [xxyyzzaa] long_info: Gives zzyyxx money to HIRO/account. zzyyxx = amount of money (000000 - 0F423F) [22][00-HIRO/01-account][xxyyzz] parsing command byte 0x54 for map 21.20 at 0x7280a info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x15 for map 21.20 at 0x7280b info: Load variable into RAM [xx] long_info: [15][xx] parsing command byte 0xf for map 21.20 at 0x7280d info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x2d for map 21.20 at 0x72810 info: Give pokemon [pokemon][level][item][trainer2b][...] long_info: Gives a PKMN if there's space feedback: trainer id [2D][PKMN][PKMNlvl][PKMNitem][TRAINER] trainer: 00 = HIRO 01 = after the main code there are 4 bytes added [2byte pointer to trainer's name (max.0x0A figures + 0x50)][2byte pointer to nickname (max.0x0A figures + 0x50)] parsing command byte 0x26 for map 21.20 at 0x72815 info: Take coins from HIRO [xxyy] long_info: Takes coins away from HIRO. yyxx = amount of coins (0000 - 270F) [26][xxyy] parsing command byte 0x3 for map 21.20 at 0x72818 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x27 for map 21.20 at 0x7281b info: Check if HIRO has enough coins [xxyy] long_info: Checks if HIRO has enough coins. feedback: 00 = has enough coins 01 = has exact amount 02 = does not have enough yyxx = amount of coins necessary (0000 - 270F) [27][xxyy] parsing command byte 0x6 for map 21.20 at 0x7281e info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x67 for map 21.20 at 0x72821 info: Set last talked-to person [xx] long_info: Sets the number of the last person talked to. [67][person] parsing command byte 0x1 for map 21.20 at 0x72823 info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x67 for map 21.20 at 0x72827 info: Set last talked-to person [xx] long_info: Sets the number of the last person talked to. [67][person] parsing command byte 0x89 for map 21.20 at 0x72829 info: Load map with specific loading process [xx] long_info: The number decides which map loading process is used. The number must be 0xF0 + process number to work correctly. [89][Number] see map loading process: http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDok5_5550 parsing command byte 0x0 for map 21.20 at 0x7282b info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x8 for map 21.20 at 0x7282e info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x86 for map 21.20 at 0x72831 info: Warp sound long_info: Evaluates which sound is played when HIRO enters a Warp field. Usage via script ingame is rather not useful. [86] parsing command byte 0x85 for map 21.20 at 0x72832 info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0x22 for map 21.20 at 0x72833 info: Give money to HIRO/account [xxyyzzaa] long_info: Gives zzyyxx money to HIRO/account. zzyyxx = amount of money (000000 - 0F423F) [22][00-HIRO/01-account][xxyyzz] parsing command byte 0x54 for map 21.20 at 0x72838 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x15 for map 21.20 at 0x72839 info: Load variable into RAM [xx] long_info: [15][xx] parsing command byte 0xf for map 21.20 at 0x7283b info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x2d for map 21.20 at 0x7283e info: Give pokemon [pokemon][level][item][trainer2b][...] long_info: Gives a PKMN if there's space feedback: trainer id [2D][PKMN][PKMNlvl][PKMNitem][TRAINER] trainer: 00 = HIRO 01 = after the main code there are 4 bytes added [2byte pointer to trainer's name (max.0x0A figures + 0x50)][2byte pointer to nickname (max.0x0A figures + 0x50)] parsing command byte 0x26 for map 21.20 at 0x72843 info: Take coins from HIRO [xxyy] long_info: Takes coins away from HIRO. yyxx = amount of coins (0000 - 270F) [26][xxyy] parsing command byte 0x3 for map 21.20 at 0x72846 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x27 for map 21.20 at 0x72849 info: Check if HIRO has enough coins [xxyy] long_info: Checks if HIRO has enough coins. feedback: 00 = has enough coins 01 = has exact amount 02 = does not have enough yyxx = amount of coins necessary (0000 - 270F) [27][xxyy] parsing command byte 0x6 for map 21.20 at 0x7284c info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x67 for map 21.20 at 0x7284f info: Set last talked-to person [xx] long_info: Sets the number of the last person talked to. [67][person] parsing command byte 0x1 for map 21.20 at 0x72851 info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x67 for map 21.20 at 0x72855 info: Set last talked-to person [xx] long_info: Sets the number of the last person talked to. [67][person] parsing command byte 0xf6 for map 21.20 at 0x72857 info: None long_info: None skipping event data... (oops) map_group is: 21 map_id is: 21 event header address is: 0x72fdf parsing signpost script.. signpost is at: x=3 y=15 parsing command byte 0x34 for map 21.21 at 0x72b18 info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map 21.21 at 0x72b1b info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0xc for map 21.21 at 0x72b1e info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=6 y=15 parsing command byte 0x34 for map 21.21 at 0x72b18 info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map 21.21 at 0x72b1b info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0xc for map 21.21 at 0x72b1e info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 21 map_id is: 22 event header address is: 0x73316 parsing signpost script.. signpost is at: x=5 y=0 parsing command byte 0x53 for map 21.22 at 0x730ad info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x85 for map 21.22 at 0x730ae info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0x72 for map 21.22 at 0x730af info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0xf9 for map 21.22 at 0x730b1 info: None long_info: None parsing signpost script.. signpost is at: x=7 y=1 parsing command byte 0x31 for map 21.22 at 0x730b0 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 21.22 at 0x730b3 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x1f for map 21.22 at 0x730b6 info: Give item by id and quantity [xx][yy] long_info: Gives item (item no) amount times. feedback: 00 = bag full 01 = OK [1F][item no][amount] parsing command byte 0x8 for map 21.22 at 0x730b9 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x47 for map 21.22 at 0x730bc info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x41 for map 21.22 at 0x730bd info: Copy item name (by id) to memX [id][xx] long_info: Writes item name to MEMORY1, 2 or 3 for later use in text. [41][Item no][00-02 MEMORY] parsing command byte 0x4c for map 21.22 at 0x730c0 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x85 for map 21.22 at 0x730c3 info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0x1 for map 21.22 at 0x730c4 info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x49 for map 21.22 at 0x730c8 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x33 for map 21.22 at 0x730c9 info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x91 for map 21.22 at 0x730cc info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 skipping event data... (oops) map_group is: 21 map_id is: 23 event header address is: 0x733bc parsing signpost script.. signpost is at: x=0 y=1 parsing command byte 0xc for map 21.23 at 0x73376 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=1 y=1 parsing command byte 0xc for map 21.23 at 0x73376 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 21 map_id is: 24 event header address is: 0x734df parsing xy trigger byte scripts... x=5 y=4 parsing command byte 0x21 for map 21.24 at 0x733ed info: Check if player has item [xx] long_info: Checks if item is possessed. feedback: 00 = does not have item 01 = has item [21][item no] parsing command byte 0x8 for map 21.24 at 0x733ef info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x91 for map 21.24 at 0x733f2 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing xy trigger byte scripts... x=5 y=5 parsing command byte 0x21 for map 21.24 at 0x733ed info: Check if player has item [xx] long_info: Checks if item is possessed. feedback: 00 = does not have item 01 = has item [21][item no] parsing command byte 0x8 for map 21.24 at 0x733ef info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x91 for map 21.24 at 0x733f2 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 skipping event data... (oops) parsing command byte 0x91 for map 21.24 at 0x733e9 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 21 map_id is: 25 event header address is: 0x735e0 skipping event data... (oops) map_group is: 21 map_id is: 26 event header address is: 0x736b6 parsing xy trigger byte scripts... x=5 y=4 parsing command byte 0x21 for map 21.26 at 0x73611 info: Check if player has item [xx] long_info: Checks if item is possessed. feedback: 00 = does not have item 01 = has item [21][item no] parsing command byte 0x8 for map 21.26 at 0x73613 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x91 for map 21.26 at 0x73616 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing xy trigger byte scripts... x=5 y=5 parsing command byte 0x21 for map 21.26 at 0x73611 info: Check if player has item [xx] long_info: Checks if item is possessed. feedback: 00 = does not have item 01 = has item [21][item no] parsing command byte 0x8 for map 21.26 at 0x73613 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x91 for map 21.26 at 0x73616 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 skipping event data... (oops) parsing command byte 0x91 for map 21.26 at 0x7360d info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 22 map_id is: 1 event header address is: 0x1a678e parsing signpost script.. signpost is at: x=14 y=10 parsing command byte 0x53 for map 22.1 at 0x1a6213 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x67 for map 22.1 at 0x1a6214 info: Set last talked-to person [xx] long_info: Sets the number of the last person talked to. [67][person] parsing command byte 0xc for map 22.1 at 0x1a6216 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=7 y=8 parsing command byte 0xab for map 22.1 at 0x1a6219 info: None long_info: None skipping event data... (oops) parsing command byte 0x32 for map None.None at 0x1a6165 info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x1c for map None.None at 0x1a6168 info: Check pre-ID-mapped RAM location [xx] long_info: Checks special game-technical values and writes then into RAM. [1C][following part][Ram check (when <> 08/09 see „numbers“ in list of following parts)] following part (and then hex values) 01 = PKMN count in party 00 - 06 02 = ??? 03 = Battle type of wild PKMN 04 = ??? 05 = PokéDex caught 00 - FA 06 = PokéDex seen 00 - FA 07 = Badge count 00 - 10 08 = Movement 00 = walk 01 = bike 02 = slipping 04 = surfer 08 = surfing pikachu 09 = HIRO direction 00 (d) 01 (u) 02 (l) 03 (r) 0A = Time in hours 00 - 18 0B = Day 00 (Mo) - 06 (Su) 0C = Map bank of current map 0D = Map no of current map 0E = Num. of diff. unowns seen 00 - 1A 0F = Action byte of map 10 = Amount of free spaces in pkmn box 00 - 14 11 = Minutes until end bug contest 00 - 14 12 = X position of HIRO 13 = Y position of HIRO 14 = phone call number parsing command byte 0x6 for map None.None at 0x1a616a info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x61 for map None.None at 0x1a616d info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0xa for map None.None at 0x1a616f info: RAM check [ return to old script [code][2 byte pointer] parsing command byte 0x66 for map None.None at 0x1a6180 info: ? Check if trainer talk-after script is executed just after battle or not long_info: Checks if the talk-after script of the event structure defined trainer is executed just after the battle or at a later point in time. feedback: 00 = no 01 = yes [66] parsing command byte 0x47 for map None.None at 0x1a6181 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map None.None at 0x1a6182 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map None.None at 0x1a6185 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map None.None at 0x1a6186 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map None.None at 0x1a6187 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 22 map_id is: 2 event header address is: 0x1a6f12 parsing signpost script.. signpost is at: x=9 y=35 parsing command byte 0xac for map 22.2 at 0x1a690c info: None long_info: None skipping event data... (oops) map_group is: 22 map_id is: 3 event header address is: 0x1a0772 parsing xy trigger byte scripts... x=11 y=16 parsing command byte 0x76 for map 22.3 at 0x1a001e info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x75 for map 22.3 at 0x1a0021 info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0xf for map 22.3 at 0x1a0024 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x85 for map 22.3 at 0x1a0027 info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0x14 for map 22.3 at 0x1a0028 info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0x69 for map 22.3 at 0x1a002a info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x40 for map 22.3 at 0x1a002d info: Copy pokemon name (by id) to memX [id][xx] long_info: Writes pokémon name to MEMORY1, 2 or 3 for later use in text. [40][PKMN no][00-02 MEMORY] parsing command byte 0x0 for map 22.3 at 0x1a0030 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x85 for map 22.3 at 0x1a0033 info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0x14 for map 22.3 at 0x1a0034 info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0x69 for map 22.3 at 0x1a0036 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x40 for map 22.3 at 0x1a0039 info: Copy pokemon name (by id) to memX [id][xx] long_info: Writes pokémon name to MEMORY1, 2 or 3 for later use in text. [40][PKMN no][00-02 MEMORY] parsing command byte 0x8b for map 22.3 at 0x1a003c info: Deactive static facing after time [xx] long_info: Deactivates static facings on all persons on the screen after a time xx. [8B][xx] parsing command byte 0x14 for map 22.3 at 0x1a003e info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0x32 for map 22.3 at 0x1a0040 info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x12 for map 22.3 at 0x1a0043 info: Activate trigger event from afar [xx][yy][zz] long_info: Changes trigger event number on map (map bank/map no) to xx. xx = trigger event number that should be activated [12][MapBank][MapNo][xx] parsing command byte 0x31 for map 22.3 at 0x1a0047 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 22.3 at 0x1a004a info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x33 for map 22.3 at 0x1a004d info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x7f for map 22.3 at 0x1a0050 info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0x61 for map 22.3 at 0x1a0051 info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0x6f for map 22.3 at 0x1a0053 info: Following code1 [leader id][follower id] long_info: A person1 follows another person2. The person1 that follows just repeats the movement of person2, even if the persons are not directly next to each other. [6F][Leader Person2][Follower Person1] parsing command byte 0xc for map 22.3 at 0x1a0056 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=20 y=34 parsing command byte 0x53 for map 22.3 at 0x1a00bf info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x60 for map 22.3 at 0x1a00c0 info: Pokemon catching tutorial [xx] long_info: Starts a learn-how-to-catch battle with a Pokémon, whose data needs to be loaded beforehand see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke5C Player has to have at least 1 Pokémon for it to work. Items that are statically used: 1xPotion, 5xPoké ball. [60][xx] xx: Between 01 and 03. If <> 03 then HIRO sprite instead of dude sprite and kills itself when using the item system. parsing command byte 0x53 for map 22.3 at 0x1a00c2 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x8f for map 22.3 at 0x1a00c3 info: Return code 1 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions are not affected and run like before the code. This code is mostly used for scripts called by the 2nd part of the script header, because else malfunctions occur. [8F] parsing signpost script.. signpost is at: x=7 y=45 parsing command byte 0x53 for map 22.3 at 0x1a00c2 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x8f for map 22.3 at 0x1a00c3 info: Return code 1 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions are not affected and run like before the code. This code is mostly used for scripts called by the 2nd part of the script header, because else malfunctions occur. [8F] parsing signpost script.. signpost is at: x=24 y=43 parsing command byte 0xc for map 22.3 at 0x1a00ce info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=19 y=47 parsing command byte 0x53 for map 22.3 at 0x1a00c5 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xd6 for map 22.3 at 0x1a00c6 info: None long_info: None parsing signpost script.. signpost is at: x=8 y=32 parsing command byte 0x53 for map 22.3 at 0x1a00c8 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x25 for map 22.3 at 0x1a00c9 info: Give coins to HIRO [xxyy] long_info: Gives coins to HIRO. yyxx = amount of coins (0000 - 270F) [25][xxyy] parsing command byte 0x60 for map 22.3 at 0x1a00cc info: Pokemon catching tutorial [xx] long_info: Starts a learn-how-to-catch battle with a Pokémon, whose data needs to be loaded beforehand see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke5C Player has to have at least 1 Pokémon for it to work. Items that are statically used: 1xPotion, 5xPoké ball. [60][xx] xx: Between 01 and 03. If <> 03 then HIRO sprite instead of dude sprite and kills itself when using the item system. parsing command byte 0xc for map 22.3 at 0x1a00ce info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=8 y=24 parsing command byte 0x53 for map 22.3 at 0x1a00cb info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x60 for map 22.3 at 0x1a00cc info: Pokemon catching tutorial [xx] long_info: Starts a learn-how-to-catch battle with a Pokémon, whose data needs to be loaded beforehand see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke5C Player has to have at least 1 Pokémon for it to work. Items that are statically used: 1xPotion, 5xPoké ball. [60][xx] xx: Between 01 and 03. If <> 03 then HIRO sprite instead of dude sprite and kills itself when using the item system. parsing command byte 0xc for map 22.3 at 0x1a00ce info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=4 y=19 parsing command byte 0xb2 for map 22.3 at 0x1a00d4 info: None long_info: None parsing signpost script.. signpost is at: x=5 y=29 parsing command byte 0xb3 for map 22.3 at 0x1a00d7 info: None long_info: None skipping event data... (oops) parsing command byte 0x91 for map 22.3 at 0x1a000d info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 22.3 at 0x1a000e info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x36 for map None.None at 0x1a000f info: Set (to 1) a bit on bit table 2 [xxyy] long_info: Sets a bit of BitTable2 to value 1. [36][Bit no (2byte)] parsing command byte 0x33 for map None.None at 0x1a0012 info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x31 for map None.None at 0x1a0015 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x8 for map None.None at 0x1a0018 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x6e for map None.None at 0x1a001b info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x90 for map None.None at 0x1a001d info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 22 map_id is: 4 event header address is: 0x9d5f0 skipping event data... (oops) map_group is: 22 map_id is: 5 event header address is: 0x9db3e parsing signpost script.. signpost is at: x=3 y=15 parsing command byte 0x34 for map 22.5 at 0x9d6e3 info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map 22.5 at 0x9d6e6 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0xc for map 22.5 at 0x9d6e9 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=6 y=15 parsing command byte 0x34 for map 22.5 at 0x9d6e3 info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map 22.5 at 0x9d6e6 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0xc for map 22.5 at 0x9d6e9 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 22 map_id is: 6 event header address is: 0x9df4e skipping event data... (oops) map_group is: 22 map_id is: 7 event header address is: 0x9e0b7 parsing signpost script.. signpost is at: x=0 y=1 parsing command byte 0xc for map 22.7 at 0x9dfca info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=1 y=1 parsing command byte 0xc for map 22.7 at 0x9dfca info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) parsing command byte 0x91 for map 22.7 at 0x9df9d info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 22 map_id is: 8 event header address is: 0x9e191 skipping event data... (oops) map_group is: 22 map_id is: 9 event header address is: 0x9e32b parsing signpost script.. signpost is at: x=0 y=1 parsing command byte 0xc for map 22.9 at 0x9e1b9 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=1 y=1 parsing command byte 0xc for map 22.9 at 0x9e1b9 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 22 map_id is: 10 event header address is: 0x9e376 skipping event data... (oops) map_group is: 22 map_id is: 11 event header address is: 0x9f3b4 parsing signpost script.. signpost is at: x=6 y=6 parsing command byte 0x47 for map 22.11 at 0x9e3d4 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 22.11 at 0x9e3d5 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x4e for map 22.11 at 0x9e3d8 info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x8 for map 22.11 at 0x9e3d9 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4c for map 22.11 at 0x9e3dc info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 22.11 at 0x9e3df info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 22.11 at 0x9e3e0 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 22.11 at 0x9e3e1 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 skipping event data... (oops) parsing command byte 0x15 for map 22.11 at 0x9e39d info: Load variable into RAM [xx] long_info: [15][xx] parsing command byte 0xf for map 22.11 at 0x9e39f info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x8 for map 22.11 at 0x9e3a2 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x15 for map 22.11 at 0x9e3a5 info: Load variable into RAM [xx] long_info: [15][xx] parsing command byte 0xf for map 22.11 at 0x9e3a7 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x6 for map 22.11 at 0x9e3aa info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x63 for map 22.11 at 0x9e3ad info: Set win/lose pointers for battle [xxyy][xxyy] long_info: Writes the win/lose pointer of a battle into the ram. [63][2byte pointer to text Win][2byte pointer to text Loss*] * When pointer = 0000 then "Blackout" instead of return to gameplay. parsing command byte 0x6 for map 22.11 at 0x9e3b2 info: RAM check [=byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x63 for map 22.11 at 0x9e3b5 info: Set win/lose pointers for battle [xxyy][xxyy] long_info: Writes the win/lose pointer of a battle into the ram. [63][2byte pointer to text Win][2byte pointer to text Loss*] * When pointer = 0000 then "Blackout" instead of return to gameplay. parsing command byte 0x47 for map 22.11 at 0x9e3ba info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 22.11 at 0x9e3bb info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 22.11 at 0x9e3be info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 22.11 at 0x9e3bf info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x8d for map 22.11 at 0x9e3c0 info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0x4e for map 22.11 at 0x9e3c1 info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x64 for map 22.11 at 0x9e3c2 info: ? Load the trainer talk-after script long_info: Interprets which script is going to be run, when a in the event-structure-defined trainer is talked to again. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau [64] parsing command byte 0x91 for map 22.11 at 0x9e3c3 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 22.11 at 0x9e3d3 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 22 map_id is: 12 event header address is: 0x9f52e skipping event data... (oops) parsing command byte 0x6e for map 22.12 at 0x9f419 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x8d for map 22.12 at 0x9f41b info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0x21 for map 22.12 at 0x9f41c info: Check if player has item [xx] long_info: Checks if item is possessed. feedback: 00 = does not have item 01 = has item [21][item no] parsing command byte 0x14 for map 22.12 at 0x9f41e info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0x91 for map 22.12 at 0x9f420 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 22.12 at 0x9f420 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 22 map_id is: 13 event header address is: 0x9f594 skipping event data... (oops) parsing command byte 0x8d for map 22.13 at 0x9f562 info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0x68 for map 22.13 at 0x9f563 info: Move person (by id) with moving data (by pointer) [id][xxyy] long_info: Moves the person using moving data. [68][Person][2byte pointer to moving data] see also http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzB68bis69 parsing command byte 0x91 for map 22.13 at 0x9f567 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 22.13 at 0x9f567 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 22 map_id is: 14 event header address is: 0x9f62f skipping event data... (oops) parsing command byte 0x8d for map 22.14 at 0x9f5bb info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0xc1 for map 22.14 at 0x9f5bc info: None long_info: None parsing command byte 0x91 for map 22.14 at 0x9f5c0 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 22 map_id is: 15 event header address is: 0x9f81e skipping event data... (oops) parsing command byte 0x32 for map None.None at 0x9f665 info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x90 for map None.None at 0x9f668 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 22 map_id is: 16 event header address is: 0x9fb5f parsing signpost script.. signpost is at: x=10 y=10 parsing command byte 0x53 for map 22.16 at 0x9f868 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xfc for map 22.16 at 0x9f869 info: None long_info: None skipping event data... (oops) parsing command byte 0x90 for map None.None at 0x9f85a info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] parsing command byte 0x32 for map None.None at 0x9f85b info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x90 for map None.None at 0x9f85e info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 23 map_id is: 1 event header address is: 0x1ac4af parsing signpost script.. signpost is at: x=7 y=51 parsing command byte 0x53 for map 23.1 at 0x1ac2f8 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x7a for map 23.1 at 0x1ac2f9 info: Reload/redisplay map long_info: Reloads and re-displays the map completely. Loads tileset and all map data anew. Screen gets light. [7A] parsing command byte 0x44 for map 23.1 at 0x1ac2fa info: Copy text (by pointer) to memX [aabb][xx] long_info: Writes string to MEMORY1, 2 or 3 for later use in text. [44][2byte pointer to string (max. 0x0C figures + 0x50)][00-02 MEMORY] See 0C codes: 0C2900, 0C2A00, 0C1B00, 0C2200, Usage of variable strings in text. parsing command byte 0x2c for map 23.1 at 0x1ac2fe info: Check for pokemon [xx] long_info: Checks if there is a certain PKMN in team. feedback: 00 = in team 01 = not in team xx = pkmn id [2C][xx] parsing command byte 0xf for map 23.1 at 0x1ac300 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x1 for map 23.1 at 0x1ac303 info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x19 for map 23.1 at 0x1ac307 info: Copy from RAM address to script RAM variable [xxyy] long_info: Writes variable from ram address to RAM. [19][2-byte RAM address] parsing command byte 0x40 for map 23.1 at 0x1ac30a info: Copy pokemon name (by id) to memX [id][xx] long_info: Writes pokémon name to MEMORY1, 2 or 3 for later use in text. [40][PKMN no][00-02 MEMORY] parsing command byte 0x26 for map 23.1 at 0x1ac30d info: Take coins from HIRO [xxyy] long_info: Takes coins away from HIRO. yyxx = amount of coins (0000 - 270F) [26][xxyy] parsing command byte 0xe for map 23.1 at 0x1ac310 info: ASM code1 [3b] long_info: Calls a predefined routine by interpreting the ASM the pointer points to. [0E][3byte pointer] parsing command byte 0x0 for map 23.1 at 0x1ac314 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x7f for map 23.1 at 0x1ac317 info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0xa1 for map 23.1 at 0x1ac318 info: Warp-to and set facing direction [Facing (00-03)][Map bank][Map no][X][Y] long_info: Acts like code 0x3C but defines the desired facing of HIRO. [A1][Facing (00-03)][Map bank][Map no][X][Y] parsing command byte 0x8e for map 23.1 at 0x1ac31e info: Priority jump to script by pointer (after 1st cycle) [xxyy] long_info: The pointer acts like code 03, but with this code all higher functions wait for a cycle before the script gets interpreted. [8E][2byte pointer to script] parsing command byte 0xa0 for map 23.1 at 0x1ac321 info: Credits long_info: Shows the credits and HIRO is located on the Silver mountain plateau. [A0] parsing command byte 0xb1 for map 23.1 at 0x1ac322 info: None long_info: None parsing signpost script.. signpost is at: x=11 y=9 parsing command byte 0x53 for map 23.1 at 0x1ac2fb info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x9f for map 23.1 at 0x1ac2fc info: Hall of Fame long_info: Saves and enters HIRO's complete Team in the Hall of Fame. Shows the credits and restarts the game with HIRO located in New Bark Town. [9F] parsing command byte 0x44 for map 23.1 at 0x1ac2fd info: Copy text (by pointer) to memX [aabb][xx] long_info: Writes string to MEMORY1, 2 or 3 for later use in text. [44][2byte pointer to string (max. 0x0C figures + 0x50)][00-02 MEMORY] See 0C codes: 0C2900, 0C2A00, 0C1B00, 0C2200, Usage of variable strings in text. parsing command byte 0x1 for map 23.1 at 0x1ac301 info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x1 for map 23.1 at 0x1ac305 info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x0 for map 23.1 at 0x1ac309 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 23.1 at 0x1ac30c info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 23.1 at 0x1ac30f info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 23.1 at 0x1ac312 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x8c for map 23.1 at 0x1ac315 info: Priority jump to script by pointer [xxyy] long_info: The pointer acts like code 00, but with this higher functions like the bike etc. are not paid attention to, while the script is running. [8C][2byte pointer to script] parsing command byte 0xa1 for map 23.1 at 0x1ac318 info: Warp-to and set facing direction [Facing (00-03)][Map bank][Map no][X][Y] long_info: Acts like code 0x3C but defines the desired facing of HIRO. [A1][Facing (00-03)][Map bank][Map no][X][Y] parsing command byte 0x8e for map 23.1 at 0x1ac31e info: Priority jump to script by pointer (after 1st cycle) [xxyy] long_info: The pointer acts like code 03, but with this code all higher functions wait for a cycle before the script gets interpreted. [8E][2byte pointer to script] parsing command byte 0xa0 for map 23.1 at 0x1ac321 info: Credits long_info: Shows the credits and HIRO is located on the Silver mountain plateau. [A0] parsing command byte 0xb1 for map 23.1 at 0x1ac322 info: None long_info: None parsing signpost script.. signpost is at: x=7 y=23 parsing command byte 0xed for map 23.1 at 0x1ac308 info: None long_info: None parsing signpost script.. signpost is at: x=4 y=14 parsing command byte 0xee for map 23.1 at 0x1ac30b info: None long_info: None parsing signpost script.. signpost is at: x=4 y=27 parsing command byte 0xef for map 23.1 at 0x1ac30e info: None long_info: None parsing signpost script.. signpost is at: x=11 y=30 parsing command byte 0xf0 for map 23.1 at 0x1ac311 info: None long_info: None skipping event data... (oops) map_group is: 23 map_id is: 2 event header address is: 0x7c028 parsing signpost script.. signpost is at: x=15 y=7 parsing command byte 0x53 for map 23.2 at 0x7c002 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x5 for map 23.2 at 0x7c003 info: pointer code long_info: 2byte pointer points to 3byte pointer; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x54 for map 23.2 at 0x7c006 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x8c for map 23.2 at 0x7c007 info: Priority jump to script by pointer [xxyy] long_info: The pointer acts like code 00, but with this higher functions like the bike etc. are not paid attention to, while the script is running. [8C][2byte pointer to script] parsing command byte 0x7f for map 23.2 at 0x7c00a info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0x8b for map 23.2 at 0x7c00b info: Deactive static facing after time [xx] long_info: Deactivates static facings on all persons on the screen after a time xx. [8B][xx] parsing command byte 0x80 for map 23.2 at 0x7c00d info: Music fade-out then play next [xxyy][time] long_info: The current music is faded out and the new music is played afterwards. [80][Music no (2byte)][Time to fade out (00-7F)] parsing command byte 0x51 for map 23.2 at 0x7c011 info: Display text (by pointer), turn to HIRO, end [xxyy] long_info: Displays a text and lets person turn to HIRO. Afterwards there is no other script interpreted. Corresponds to 6A + 47 + 4C + 53 + 49 + 90 [51][2byte textpointer] skipping event data... (oops) map_group is: 23 map_id is: 3 event header address is: 0x1a9ec9 parsing signpost script.. signpost is at: x=17 y=17 parsing command byte 0x53 for map 23.3 at 0x1a9a93 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xef for map 23.3 at 0x1a9a94 info: None long_info: None parsing signpost script.. signpost is at: x=27 y=7 parsing command byte 0x53 for map 23.3 at 0x1a9a96 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x1b for map 23.3 at 0x1a9a97 info: Load variable [xxyy][zz] long_info: Writes zz to ram address. [1B][2-byte RAM address][zz] parsing command byte 0x5e for map 23.3 at 0x1a9a9b info: Start pre-configured battle long_info: Starts trainer or Pokémon battle. BattleRAM: 80 = Poké battle; 81 = Trainer battle. feedback: 00 = win 01 = lose parsing command byte 0x53 for map 23.3 at 0x1a9a9c info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x99 for map 23.3 at 0x1a9a9d info: Set monologue decoration [xx] long_info: Displays monologues according to the selected ornament. [99][xx] xx values: 00 = Map/Poster 01 = Ornament left 02 = Ornament right 03 = Huge doll 04 = Console parsing command byte 0xc for map 23.3 at 0x1a9a9f info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=19 y=1 parsing command byte 0x53 for map 23.3 at 0x1a9a99 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x60 for map 23.3 at 0x1a9a9a info: Pokemon catching tutorial [xx] long_info: Starts a learn-how-to-catch battle with a Pokémon, whose data needs to be loaded beforehand see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke5C Player has to have at least 1 Pokémon for it to work. Items that are statically used: 1xPotion, 5xPoké ball. [60][xx] xx: Between 01 and 03. If <> 03 then HIRO sprite instead of dude sprite and kills itself when using the item system. parsing command byte 0x53 for map 23.3 at 0x1a9a9c info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x99 for map 23.3 at 0x1a9a9d info: Set monologue decoration [xx] long_info: Displays monologues according to the selected ornament. [99][xx] xx values: 00 = Map/Poster 01 = Ornament left 02 = Ornament right 03 = Huge doll 04 = Console parsing command byte 0xc for map 23.3 at 0x1a9a9f info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=21 y=15 parsing command byte 0x53 for map 23.3 at 0x1a9a9c info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x99 for map 23.3 at 0x1a9a9d info: Set monologue decoration [xx] long_info: Displays monologues according to the selected ornament. [99][xx] xx values: 00 = Map/Poster 01 = Ornament left 02 = Ornament right 03 = Huge doll 04 = Console parsing command byte 0xc for map 23.3 at 0x1a9a9f info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=24 y=25 parsing command byte 0xc for map 23.3 at 0x1a9a9f info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=30 y=19 parsing command byte 0xc for map 23.3 at 0x1a9aa2 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) parsing command byte 0x36 for map None.None at 0x1a9a48 info: Set (to 1) a bit on bit table 2 [xxyy] long_info: Sets a bit of BitTable2 to value 1. [36][Bit no (2byte)] parsing command byte 0x90 for map None.None at 0x1a9a4b info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 23 map_id is: 4 event header address is: 0x9ae04 parsing signpost script.. signpost is at: x=3 y=13 parsing command byte 0x34 for map 23.4 at 0x9aa6b info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map 23.4 at 0x9aa6e info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0xc for map 23.4 at 0x9aa71 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=6 y=13 parsing command byte 0x34 for map 23.4 at 0x9aa6b info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map 23.4 at 0x9aa6e info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0xc for map 23.4 at 0x9aa71 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 23 map_id is: 5 event header address is: 0x9af21 skipping event data... (oops) map_group is: 23 map_id is: 6 event header address is: 0x9b31f parsing signpost script.. signpost is at: x=5 y=0 parsing command byte 0x53 for map 23.6 at 0x9af76 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xf4 for map 23.6 at 0x9af77 info: None long_info: None parsing signpost script.. signpost is at: x=7 y=0 parsing command byte 0x53 for map 23.6 at 0x9af79 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x5d for map 23.6 at 0x9af7a info: Load trainer by group/id for BattleRAM [xx][yy] long_info: Loads trainer data. Trainer group --> TrRAM1, trainer number --> TrRAM2. Writes 81 to BattleRAM. [5D][Trainer group][Trainer no] parsing command byte 0xc1 for map 23.6 at 0x9af7d info: None long_info: None parsing signpost script.. signpost is at: x=7 y=10 parsing command byte 0x53 for map 23.6 at 0x9af7c info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xc1 for map 23.6 at 0x9af7d info: None long_info: None skipping event data... (oops) map_group is: 23 map_id is: 7 event header address is: 0x9b5b8 parsing xy trigger byte scripts... x=7 y=3 parsing command byte 0x76 for map 23.7 at 0x9b38b info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x47 for map 23.7 at 0x9b38e info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x34 for map 23.7 at 0x9b38f info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map 23.7 at 0x9b392 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4c for map 23.7 at 0x9b395 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x55 for map 23.7 at 0x9b398 info: Display a pokemon picture in a box by pokemon id [xx] long_info: Opens a box and puts a Pokémon picture into it. [55][xx] xx: <>00 : Pokémon no =00 : Pokémon no gets read from RAM parsing command byte 0x67 for map 23.7 at 0x9b39a info: Set last talked-to person [xx] long_info: Sets the number of the last person talked to. [67][person] parsing command byte 0x8 for map 23.7 at 0x9b39c info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x43 for map 23.7 at 0x9b39f info: Copy trainer name (by id&group) to memZ [xx][yy][zz] long_info: Writes trainer name to MEMORY1, 2 or 3 for later use in text. [43][Trainer number][Trainer group][00-02 MEMORY] parsing command byte 0x3 for map 23.7 at 0x9b3a3 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x43 for map 23.7 at 0x9b3a6 info: Copy trainer name (by id&group) to memZ [xx][yy][zz] long_info: Writes trainer name to MEMORY1, 2 or 3 for later use in text. [43][Trainer number][Trainer group][00-02 MEMORY] parsing command byte 0x4c for map 23.7 at 0x9b3aa info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x55 for map 23.7 at 0x9b3ad info: Display a pokemon picture in a box by pokemon id [xx] long_info: Opens a box and puts a Pokémon picture into it. [55][xx] xx: <>00 : Pokémon no =00 : Pokémon no gets read from RAM parsing command byte 0x87 for map 23.7 at 0x9b3af info: Special sound if TM was last checked long_info: When last given/checked Item was a TM then it plays sound 0x9B. If not, then 0x01. [87] parsing command byte 0x74 for map 23.7 at 0x9b3b0 info: Display emoticon by bubble id and person id and time [xx][yy][zz] long_info: Displays the bubble above a persons head for the given time period. Attention: Bubbles get loaded into ram! [74][Bubble][Person][Time] for bubble ids see 0x73 parsing command byte 0x73 for map 23.7 at 0x9b3b4 info: Load emoticon bubble [xx] long_info: Loads the emoticon bubble depending on the given bubble number. [73][bubble number] xx: If xx = FF then take number from RAM. 00 = Exclamation mark 01 = Question mark 02 = Happy 03 = Sad 04 = Heart 05 = Flash 06 = Snoring 07 = Fish parsing command byte 0x57 for map 23.7 at 0x9b3b6 info: Menu interpreter 1 (see menu loader) long_info: Interprets menu data loaded by 4F. see also http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA57 parsing command byte 0x0 for map 23.7 at 0x9b3b7 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x74 for map 23.7 at 0x9b3ba info: Display emoticon by bubble id and person id and time [xx][yy][zz] long_info: Displays the bubble above a persons head for the given time period. Attention: Bubbles get loaded into ram! [74][Bubble][Person][Time] for bubble ids see 0x73 parsing command byte 0x0 for map 23.7 at 0x9b3be info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x47 for map 23.7 at 0x9b3c1 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 23.7 at 0x9b3c2 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 23.7 at 0x9b3c5 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 23.7 at 0x9b3c6 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0xf for map 23.7 at 0x9b3c7 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x8 for map 23.7 at 0x9b3ca info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x64 for map 23.7 at 0x9b3cd info: ? Load the trainer talk-after script long_info: Interprets which script is going to be run, when a in the event-structure-defined trainer is talked to again. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau [64] parsing command byte 0x78 for map 23.7 at 0x9b3ce info: Draw map data over current map [bank][pointer] long_info: This code draws another whole map as wide and high as the current map over the current map. The 3byte pointer points to the new map. [78][3byte pointer to new map data] parsing command byte 0x68 for map 23.7 at 0x9b3d2 info: Move person (by id) with moving data (by pointer) [id][xxyy] long_info: Moves the person using moving data. [68][Person][2byte pointer to moving data] see also http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzB68bis69 parsing command byte 0x2 for map 23.7 at 0x9b3d6 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x8 for map 23.7 at 0x9b3d9 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x64 for map 23.7 at 0x9b3dc info: ? Load the trainer talk-after script long_info: Interprets which script is going to be run, when a in the event-structure-defined trainer is talked to again. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau [64] parsing command byte 0x78 for map 23.7 at 0x9b3dd info: Draw map data over current map [bank][pointer] long_info: This code draws another whole map as wide and high as the current map over the current map. The 3byte pointer points to the new map. [78][3byte pointer to new map data] parsing command byte 0x68 for map 23.7 at 0x9b3e1 info: Move person (by id) with moving data (by pointer) [id][xxyy] long_info: Moves the person using moving data. [68][Person][2byte pointer to moving data] see also http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzB68bis69 parsing command byte 0x3 for map 23.7 at 0x9b3e5 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x69 for map 23.7 at 0x9b3e8 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x74 for map 23.7 at 0x9b3eb info: Display emoticon by bubble id and person id and time [xx][yy][zz] long_info: Displays the bubble above a persons head for the given time period. Attention: Bubbles get loaded into ram! [74][Bubble][Person][Time] for bubble ids see 0x73 parsing command byte 0x74 for map 23.7 at 0x9b3ef info: Display emoticon by bubble id and person id and time [xx][yy][zz] long_info: Displays the bubble above a persons head for the given time period. Attention: Bubbles get loaded into ram! [74][Bubble][Person][Time] for bubble ids see 0x73 parsing command byte 0x0 for map 23.7 at 0x9b3f3 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x91 for map 23.7 at 0x9b3f6 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 skipping event data... (oops) parsing command byte 0x91 for map 23.7 at 0x9b38a info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 23 map_id is: 8 event header address is: 0x9b657 skipping event data... (oops) map_group is: 23 map_id is: 9 event header address is: 0x9b7ef skipping event data... (oops) map_group is: 23 map_id is: 10 event header address is: 0x9b83a skipping event data... (oops) map_group is: 23 map_id is: 11 event header address is: 0x9b933 skipping event data... (oops) map_group is: 23 map_id is: 12 event header address is: 0x9b9ca skipping event data... (oops) map_group is: 23 map_id is: 13 event header address is: 0x9bb9b parsing xy trigger byte scripts... x=10 y=11 parsing command byte 0x76 for map 23.13 at 0x9b9fd info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x3 for map 23.13 at 0x9ba00 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x6b for map 23.13 at 0x9ba03 info: Move facing direction of person1 to look at person2 [2][1] long_info: Turns the head of person1 to another person2. [6B][Person2][Person1] Person2 = If number is greater than 0xFD, then use number of talked-to person. Person1 = If number equals 0xFE, then take number of talked-to person. parsing command byte 0x29 for map 23.13 at 0x9ba06 info: Delete cell phone number [xx] long_info: Deletes a number from the list. feedback: 00 = number deleted successfully 01 = number wasn't in list xx = number of person [29][xx] parsing command byte 0x55 for map 23.13 at 0x9ba08 info: Display a pokemon picture in a box by pokemon id [xx] long_info: Opens a box and puts a Pokémon picture into it. [55][xx] xx: <>00 : Pokémon no =00 : Pokémon no gets read from RAM parsing command byte 0x7 for map 23.13 at 0x9ba0a info: RAM check [<>byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x19 for map 23.13 at 0x9ba0d info: Copy from RAM address to script RAM variable [xxyy] long_info: Writes variable from ram address to RAM. [19][2-byte RAM address] parsing command byte 0x5f for map 23.13 at 0x9ba10 info: Return to in-game engine after battle long_info: Returns to ingame engine and evaluates battle. When lost then return to last Pokémon Center etc. parsing command byte 0x7a for map 23.13 at 0x9ba11 info: Reload/redisplay map long_info: Reloads and re-displays the map completely. Loads tileset and all map data anew. Screen gets light. [7A] parsing command byte 0x54 for map 23.13 at 0x9ba12 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 23.13 at 0x9ba13 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x69 for map 23.13 at 0x9ba14 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x7a for map 23.13 at 0x9ba17 info: Reload/redisplay map long_info: Reloads and re-displays the map completely. Loads tileset and all map data anew. Screen gets light. [7A] parsing command byte 0x91 for map 23.13 at 0x9ba18 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 skipping event data... (oops) parsing command byte 0x91 for map 23.13 at 0x9b9fb info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 23.13 at 0x9b9fc info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 24 map_id is: 1 event header address is: 0x1a5389 parsing signpost script.. signpost is at: x=8 y=6 parsing command byte 0x53 for map 24.1 at 0x1a4ebf info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x64 for map 24.1 at 0x1a4ec0 info: ? Load the trainer talk-after script long_info: Interprets which script is going to be run, when a in the event-structure-defined trainer is talked to again. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau [64] parsing command byte 0x53 for map 24.1 at 0x1a4ec1 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x9b for map 24.1 at 0x1a4ec2 info: Cell phone call [call id][00] long_info: Initiates with the next step on a outer world map (permission byte) a phone call. [9B][Call no][00] call no: 01 = PokéRus 02 = Pokémon stolen 03 = Egg examined/ Assistant in Viola City 04 = Team Rocket on the radio 05 = PROF. ELM has got something for HIRO 06 = Bike shop gives bike away 07 = Mother is unhappy that HIRO didn't talk to her before leaving 08 = PROF. ELM has got something for HIRO a second time parsing command byte 0x1 for map 24.1 at 0x1a4ec5 info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x7f for map 24.1 at 0x1a4ec9 info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0xac for map 24.1 at 0x1a4eca info: None long_info: None skipping event data... (oops) map_group is: 24 map_id is: 2 event header address is: 0x1a0ead parsing xy trigger byte scripts... x=18 y=10 parsing command byte 0x76 for map 24.2 at 0x1a0873 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x75 for map 24.2 at 0x1a0876 info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0xf for map 24.2 at 0x1a0879 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x66 for map 24.2 at 0x1a087c info: ? Check if trainer talk-after script is executed just after battle or not long_info: Checks if the talk-after script of the event structure defined trainer is executed just after the battle or at a later point in time. feedback: 00 = no 01 = yes [66] parsing command byte 0x4a for map 24.2 at 0x1a087d info: Load specific byte to $C1CE [xx] long_info: Loads a byte to C1CE. Seems to have no function in the game. [4A][Byte] parsing command byte 0x8c for map 24.2 at 0x1a087f info: Priority jump to script by pointer [xxyy] long_info: The pointer acts like code 00, but with this higher functions like the bike etc. are not paid attention to, while the script is running. [8C][2byte pointer to script] parsing command byte 0xa for map 24.2 at 0x1a0882 info: RAM check [ return to old script [code][2 byte pointer] parsing command byte 0x69 for map 24.2 at 0x1a0888 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x4a for map 24.2 at 0x1a088b info: Load specific byte to $C1CE [xx] long_info: Loads a byte to C1CE. Seems to have no function in the game. [4A][Byte] parsing command byte 0x0 for map 24.2 at 0x1a088d info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x4c for map 24.2 at 0x1a0890 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x55 for map 24.2 at 0x1a0893 info: Display a pokemon picture in a box by pokemon id [xx] long_info: Opens a box and puts a Pokémon picture into it. [55][xx] xx: <>00 : Pokémon no =00 : Pokémon no gets read from RAM parsing command byte 0x71 for map 24.2 at 0x1a0895 info: Move person by id to xy [id][xx][yy] long_info: Sets the X/Y values of a person anew. The person doesn't get shown immediately. Use hide&show. [71][Person][X][Y] parsing command byte 0x14 for map 24.2 at 0x1a0899 info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0x91 for map 24.2 at 0x1a089b info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing xy trigger byte scripts... x=19 y=10 parsing command byte 0x76 for map 24.2 at 0x1a0881 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x75 for map 24.2 at 0x1a0884 info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0xf for map 24.2 at 0x1a0887 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x69 for map 24.2 at 0x1a088a info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x0 for map 24.2 at 0x1a088d info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x4c for map 24.2 at 0x1a0890 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x55 for map 24.2 at 0x1a0893 info: Display a pokemon picture in a box by pokemon id [xx] long_info: Opens a box and puts a Pokémon picture into it. [55][xx] xx: <>00 : Pokémon no =00 : Pokémon no gets read from RAM parsing command byte 0x71 for map 24.2 at 0x1a0895 info: Move person by id to xy [id][xx][yy] long_info: Sets the X/Y values of a person anew. The person doesn't get shown immediately. Use hide&show. [71][Person][X][Y] parsing command byte 0x14 for map 24.2 at 0x1a0899 info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0x91 for map 24.2 at 0x1a089b info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=25 y=7 parsing command byte 0x53 for map 24.2 at 0x1a0a5f info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x7f for map 24.2 at 0x1a0a60 info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0x4e for map 24.2 at 0x1a0a61 info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0xd5 for map 24.2 at 0x1a0a62 info: None long_info: None skipping event data... (oops) parsing command byte 0x91 for map 24.2 at 0x1a0871 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 24.2 at 0x1a0872 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 24 map_id is: 3 event header address is: 0x1a15e4 parsing xy trigger byte scripts... x=53 y=8 parsing command byte 0x76 for map 24.3 at 0x1a0f6d info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x75 for map 24.3 at 0x1a0f70 info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0xf for map 24.3 at 0x1a0f73 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x8d for map 24.3 at 0x1a0f76 info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0x50 for map 24.3 at 0x1a0f77 info: Write screen backup long_info: Writes backup of parts of the screen the box was overlapping. parsing command byte 0x76 for map 24.3 at 0x1a0f78 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x33 for map 24.3 at 0x1a0f7b info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x47 for map 24.3 at 0x1a0f7e info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 24.3 at 0x1a0f7f info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x4e for map 24.3 at 0x1a0f82 info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x8 for map 24.3 at 0x1a0f83 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x49 for map 24.3 at 0x1a0f86 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x70 for map 24.3 at 0x1a0f87 info: Stop all follow code long_info: Ends all current follow codes. parsing command byte 0x2 for map 24.3 at 0x1a0f88 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x2 for map 24.3 at 0x1a0f8b info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x71 for map 24.3 at 0x1a0f8e info: Move person by id to xy [id][xx][yy] long_info: Sets the X/Y values of a person anew. The person doesn't get shown immediately. Use hide&show. [71][Person][X][Y] parsing command byte 0x61 for map 24.3 at 0x1a0f92 info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0x76 for map 24.3 at 0x1a0f94 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x47 for map 24.3 at 0x1a0f97 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 24.3 at 0x1a0f98 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 24.3 at 0x1a0f9b info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 24.3 at 0x1a0f9c info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x14 for map 24.3 at 0x1a0f9d info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0x33 for map 24.3 at 0x1a0f9f info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x91 for map 24.3 at 0x1a0fa2 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing xy trigger byte scripts... x=53 y=9 parsing command byte 0x76 for map 24.3 at 0x1a0fa3 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x75 for map 24.3 at 0x1a0fa6 info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0xf for map 24.3 at 0x1a0fa9 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x94 for map 24.3 at 0x1a0fac info: Display elevator menu by pointer [xxyy] long_info: Displays a whole elevator menu, but it doesn't load font to ram. Only works with warps with warp-to = 0xFF. [94][2byte pointer to floor list] parsing command byte 0x0 for map 24.3 at 0x1a0faf info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x41 for map 24.3 at 0x1a0fb2 info: Copy item name (by id) to memX [id][xx] long_info: Writes item name to MEMORY1, 2 or 3 for later use in text. [41][Item no][00-02 MEMORY] parsing command byte 0x4c for map 24.3 at 0x1a0fb5 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x4e for map 24.3 at 0x1a0fb8 info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x8 for map 24.3 at 0x1a0fb9 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x49 for map 24.3 at 0x1a0fbc info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x70 for map 24.3 at 0x1a0fbd info: Stop all follow code long_info: Ends all current follow codes. parsing command byte 0x2 for map 24.3 at 0x1a0fbe info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x2 for map 24.3 at 0x1a0fc1 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x71 for map 24.3 at 0x1a0fc4 info: Move person by id to xy [id][xx][yy] long_info: Sets the X/Y values of a person anew. The person doesn't get shown immediately. Use hide&show. [71][Person][X][Y] parsing command byte 0x61 for map 24.3 at 0x1a0fc8 info: Set trainer text by id [xx] long_info: Interprets the data of a in the event structure defined trainer. [61][xx] Xx decides which text to use. xx: Between 00 and 03. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau parsing command byte 0x76 for map 24.3 at 0x1a0fca info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x47 for map 24.3 at 0x1a0fcd info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 24.3 at 0x1a0fce info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 24.3 at 0x1a0fd1 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 24.3 at 0x1a0fd2 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x14 for map 24.3 at 0x1a0fd3 info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0x33 for map 24.3 at 0x1a0fd5 info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x91 for map 24.3 at 0x1a0fd8 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=51 y=7 parsing command byte 0x53 for map 24.3 at 0x1a1083 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x8e for map 24.3 at 0x1a1084 info: Priority jump to script by pointer (after 1st cycle) [xxyy] long_info: The pointer acts like code 03, but with this code all higher functions wait for a cycle before the script gets interpreted. [8E][2byte pointer to script] parsing command byte 0xb9 for map 24.3 at 0x1a1087 info: None long_info: None parsing signpost script.. signpost is at: x=3 y=5 parsing command byte 0x53 for map 24.3 at 0x1a1086 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xb9 for map 24.3 at 0x1a1087 info: None long_info: None skipping event data... (oops) parsing command byte 0x91 for map 24.3 at 0x1a0f59 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 24.3 at 0x1a0f5a info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x34 for map None.None at 0x1a0f5b info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map None.None at 0x1a0f5e info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x6e for map None.None at 0x1a0f61 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x90 for map None.None at 0x1a0f63 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 24 map_id is: 4 event header address is: 0x1a834d parsing xy trigger byte scripts... x=1 y=8 parsing command byte 0x7f for map 24.4 at 0x1a8016 info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0x4e for map 24.4 at 0x1a8017 info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x0 for map 24.4 at 0x1a8018 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x2 for map 24.4 at 0x1a801b info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x34 for map 24.4 at 0x1a801e info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x49 for map 24.4 at 0x1a8021 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x76 for map 24.4 at 0x1a8022 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x69 for map 24.4 at 0x1a8025 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x40 for map 24.4 at 0x1a8028 info: Copy pokemon name (by id) to memX [id][xx] long_info: Writes pokémon name to MEMORY1, 2 or 3 for later use in text. [40][PKMN no][00-02 MEMORY] parsing command byte 0x3e for map 24.4 at 0x1a802b info: Read coins amount [xx] long_info: Reads amount of coins in coin case and writes it to MEMORY 1, 2, or 3 for later use in text. [3E][00-02 MEMORY] parsing command byte 0x54 for map 24.4 at 0x1a802d info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 24.4 at 0x1a802e info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x70 for map 24.4 at 0x1a802f info: Stop all follow code long_info: Ends all current follow codes. parsing command byte 0x2 for map 24.4 at 0x1a8030 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x2 for map 24.4 at 0x1a8033 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x71 for map 24.4 at 0x1a8036 info: Move person by id to xy [id][xx][yy] long_info: Sets the X/Y values of a person anew. The person doesn't get shown immediately. Use hide&show. [71][Person][X][Y] parsing command byte 0x41 for map 24.4 at 0x1a803a info: Copy item name (by id) to memX [id][xx] long_info: Writes item name to MEMORY1, 2 or 3 for later use in text. [41][Item no][00-02 MEMORY] parsing command byte 0xf for map 24.4 at 0x1a803d info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x91 for map 24.4 at 0x1a8040 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing xy trigger byte scripts... x=1 y=9 parsing command byte 0x7f for map 24.4 at 0x1a8041 info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0x4e for map 24.4 at 0x1a8042 info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x0 for map 24.4 at 0x1a8043 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x2 for map 24.4 at 0x1a8046 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x34 for map 24.4 at 0x1a8049 info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x49 for map 24.4 at 0x1a804c info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x76 for map 24.4 at 0x1a804d info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x69 for map 24.4 at 0x1a8050 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x40 for map 24.4 at 0x1a8053 info: Copy pokemon name (by id) to memX [id][xx] long_info: Writes pokémon name to MEMORY1, 2 or 3 for later use in text. [40][PKMN no][00-02 MEMORY] parsing command byte 0x1 for map 24.4 at 0x1a8056 info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x41 for map 24.4 at 0x1a805a info: Copy item name (by id) to memX [id][xx] long_info: Writes item name to MEMORY1, 2 or 3 for later use in text. [41][Item no][00-02 MEMORY] parsing command byte 0x70 for map 24.4 at 0x1a805d info: Stop all follow code long_info: Ends all current follow codes. parsing command byte 0x2 for map 24.4 at 0x1a805e info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x2 for map 24.4 at 0x1a8061 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x71 for map 24.4 at 0x1a8064 info: Move person by id to xy [id][xx][yy] long_info: Sets the X/Y values of a person anew. The person doesn't get shown immediately. Use hide&show. [71][Person][X][Y] parsing command byte 0x41 for map 24.4 at 0x1a8068 info: Copy item name (by id) to memX [id][xx] long_info: Writes item name to MEMORY1, 2 or 3 for later use in text. [41][Item no][00-02 MEMORY] parsing command byte 0xf for map 24.4 at 0x1a806b info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x91 for map 24.4 at 0x1a806e info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=8 y=8 parsing command byte 0x53 for map 24.4 at 0x1a80c8 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xe8 for map 24.4 at 0x1a80c9 info: None long_info: None parsing signpost script.. signpost is at: x=11 y=5 parsing command byte 0x53 for map 24.4 at 0x1a80cb info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x28 for map 24.4 at 0x1a80cc info: Give cell phone number [xx] long_info: Gives number to HIRO. feedback: 00 = number was added successfully 01 = Number already added, or no memory xx = number of person [28][xx] 01 = mother 02 = bike store 03 = bll 04 = elm parsing command byte 0x53 for map 24.4 at 0x1a80ce info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x32 for map 24.4 at 0x1a80cf info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x40 for map 24.4 at 0x1a80d2 info: Copy pokemon name (by id) to memX [id][xx] long_info: Writes pokémon name to MEMORY1, 2 or 3 for later use in text. [40][PKMN no][00-02 MEMORY] parsing command byte 0xe for map 24.4 at 0x1a80d5 info: ASM code1 [3b] long_info: Calls a predefined routine by interpreting the ASM the pointer points to. [0E][3byte pointer] parsing command byte 0xe for map 24.4 at 0x1a80d9 info: ASM code1 [3b] long_info: Calls a predefined routine by interpreting the ASM the pointer points to. [0E][3byte pointer] parsing command byte 0xe for map 24.4 at 0x1a80dd info: ASM code1 [3b] long_info: Calls a predefined routine by interpreting the ASM the pointer points to. [0E][3byte pointer] parsing command byte 0xf for map 24.4 at 0x1a80e1 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x2 for map 24.4 at 0x1a80e4 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0xf for map 24.4 at 0x1a80e7 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0xf for map 24.4 at 0x1a80ea info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x1 for map 24.4 at 0x1a80ed info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x3b for map 24.4 at 0x1a80f1 info: Blackout warp modifier [map group][map id] long_info: Changes the map HIRO arrives at, after having a blackout. There needs to be flying data for that map. [3B][Map bank][Map no] parsing command byte 0x47 for map 24.4 at 0x1a80f4 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0xf for map 24.4 at 0x1a80f5 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x96 for map 24.4 at 0x1a80f8 info: Give cell phone number by id with YES/NO [id] long_info: Gives a telephone number but asks for decision beforehand. feedback: 00 = ok chosen 01 = Cell phone number already registered/Memory full 02 = no chosen [96][Cell phone number] parsing command byte 0xb6 for map 24.4 at 0x1a80fa info: None long_info: None parsing signpost script.. signpost is at: x=3 y=3 parsing command byte 0x53 for map 24.4 at 0x1a80ce info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x32 for map 24.4 at 0x1a80cf info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x40 for map 24.4 at 0x1a80d2 info: Copy pokemon name (by id) to memX [id][xx] long_info: Writes pokémon name to MEMORY1, 2 or 3 for later use in text. [40][PKMN no][00-02 MEMORY] parsing command byte 0xe for map 24.4 at 0x1a80d5 info: ASM code1 [3b] long_info: Calls a predefined routine by interpreting the ASM the pointer points to. [0E][3byte pointer] parsing command byte 0xe for map 24.4 at 0x1a80d9 info: ASM code1 [3b] long_info: Calls a predefined routine by interpreting the ASM the pointer points to. [0E][3byte pointer] parsing command byte 0xe for map 24.4 at 0x1a80dd info: ASM code1 [3b] long_info: Calls a predefined routine by interpreting the ASM the pointer points to. [0E][3byte pointer] parsing command byte 0xf for map 24.4 at 0x1a80e1 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x2 for map 24.4 at 0x1a80e4 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0xf for map 24.4 at 0x1a80e7 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0xf for map 24.4 at 0x1a80ea info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x1 for map 24.4 at 0x1a80ed info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x3b for map 24.4 at 0x1a80f1 info: Blackout warp modifier [map group][map id] long_info: Changes the map HIRO arrives at, after having a blackout. There needs to be flying data for that map. [3B][Map bank][Map no] parsing command byte 0x47 for map 24.4 at 0x1a80f4 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0xf for map 24.4 at 0x1a80f5 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x96 for map 24.4 at 0x1a80f8 info: Give cell phone number by id with YES/NO [id] long_info: Gives a telephone number but asks for decision beforehand. feedback: 00 = ok chosen 01 = Cell phone number already registered/Memory full 02 = no chosen [96][Cell phone number] parsing command byte 0xb6 for map 24.4 at 0x1a80fa info: None long_info: None parsing signpost script.. signpost is at: x=9 y=13 parsing command byte 0x53 for map 24.4 at 0x1a80d1 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x40 for map 24.4 at 0x1a80d2 info: Copy pokemon name (by id) to memX [id][xx] long_info: Writes pokémon name to MEMORY1, 2 or 3 for later use in text. [40][PKMN no][00-02 MEMORY] parsing command byte 0xe for map 24.4 at 0x1a80d5 info: ASM code1 [3b] long_info: Calls a predefined routine by interpreting the ASM the pointer points to. [0E][3byte pointer] parsing command byte 0xe for map 24.4 at 0x1a80d9 info: ASM code1 [3b] long_info: Calls a predefined routine by interpreting the ASM the pointer points to. [0E][3byte pointer] parsing command byte 0xe for map 24.4 at 0x1a80dd info: ASM code1 [3b] long_info: Calls a predefined routine by interpreting the ASM the pointer points to. [0E][3byte pointer] parsing command byte 0xf for map 24.4 at 0x1a80e1 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x2 for map 24.4 at 0x1a80e4 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0xf for map 24.4 at 0x1a80e7 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0xf for map 24.4 at 0x1a80ea info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x1 for map 24.4 at 0x1a80ed info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x3b for map 24.4 at 0x1a80f1 info: Blackout warp modifier [map group][map id] long_info: Changes the map HIRO arrives at, after having a blackout. There needs to be flying data for that map. [3B][Map bank][Map no] parsing command byte 0x47 for map 24.4 at 0x1a80f4 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0xf for map 24.4 at 0x1a80f5 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x96 for map 24.4 at 0x1a80f8 info: Give cell phone number by id with YES/NO [id] long_info: Gives a telephone number but asks for decision beforehand. feedback: 00 = ok chosen 01 = Cell phone number already registered/Memory full 02 = no chosen [96][Cell phone number] parsing command byte 0xb6 for map 24.4 at 0x1a80fa info: None long_info: None skipping event data... (oops) parsing command byte 0x91 for map 24.4 at 0x1a800d info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 24.4 at 0x1a800e info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x36 for map None.None at 0x1a800f info: Set (to 1) a bit on bit table 2 [xxyy] long_info: Sets a bit of BitTable2 to value 1. [36][Bit no (2byte)] parsing command byte 0x32 for map None.None at 0x1a8012 info: Reset (to 0) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 0. [32][Bit no (2byte)] parsing command byte 0x90 for map None.None at 0x1a8015 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 24 map_id is: 5 event header address is: 0x7a3de parsing xy trigger byte scripts... x=4 y=6 parsing command byte 0x76 for map 24.5 at 0x78c65 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x47 for map 24.5 at 0x78c68 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 24.5 at 0x78c69 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 24.5 at 0x78c6c info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 24.5 at 0x78c6d info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x69 for map 24.5 at 0x78c6e info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x4f for map 24.5 at 0x78c71 info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x1a for map 24.5 at 0x78c74 info: Write variable from script RAM variable to actual RAM address [xxyy] long_info: Writes variable from RAM to actual RAM address. [1A][2-byte RAM address] parsing command byte 0x6d for map 24.5 at 0x78c77 info: Hide person by id [xx] long_info: Hides a person. [6D][person id] parsing command byte 0x76 for map 24.5 at 0x78c79 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x48 for map 24.5 at 0x78c7c info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0x56 for map 24.5 at 0x78c7e info: ?? Display a pokemon picture and a yes/no box long_info: Displays a YES/NO box at X08/Y05. feedback: 00 = no chosen 01 = yes chosen parsing command byte 0x9b for map 24.5 at 0x78c7f info: Cell phone call [call id][00] long_info: Initiates with the next step on a outer world map (permission byte) a phone call. [9B][Call no][00] call no: 01 = PokéRus 02 = Pokémon stolen 03 = Egg examined/ Assistant in Viola City 04 = Team Rocket on the radio 05 = PROF. ELM has got something for HIRO 06 = Bike shop gives bike away 07 = Mother is unhappy that HIRO didn't talk to her before leaving 08 = PROF. ELM has got something for HIRO a second time parsing command byte 0x0 for map 24.5 at 0x78c82 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x47 for map 24.5 at 0x78c85 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 24.5 at 0x78c86 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x4e for map 24.5 at 0x78c89 info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x8 for map 24.5 at 0x78c8a info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x6e for map 24.5 at 0x78c8d info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x33 for map 24.5 at 0x78c8f info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x4c for map 24.5 at 0x78c92 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x55 for map 24.5 at 0x78c95 info: Display a pokemon picture in a box by pokemon id [xx] long_info: Opens a box and puts a Pokémon picture into it. [55][xx] xx: <>00 : Pokémon no =00 : Pokémon no gets read from RAM parsing command byte 0x40 for map 24.5 at 0x78c97 info: Copy pokemon name (by id) to memX [id][xx] long_info: Writes pokémon name to MEMORY1, 2 or 3 for later use in text. [40][PKMN no][00-02 MEMORY] parsing command byte 0x4c for map 24.5 at 0x78c9a info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x85 for map 24.5 at 0x78c9d info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0x2 for map 24.5 at 0x78c9e info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x55 for map 24.5 at 0x78ca1 info: Display a pokemon picture in a box by pokemon id [xx] long_info: Opens a box and puts a Pokémon picture into it. [55][xx] xx: <>00 : Pokémon no =00 : Pokémon no gets read from RAM parsing command byte 0x9b for map 24.5 at 0x78ca3 info: Cell phone call [call id][00] long_info: Initiates with the next step on a outer world map (permission byte) a phone call. [9B][Call no][00] call no: 01 = PokéRus 02 = Pokémon stolen 03 = Egg examined/ Assistant in Viola City 04 = Team Rocket on the radio 05 = PROF. ELM has got something for HIRO 06 = Bike shop gives bike away 07 = Mother is unhappy that HIRO didn't talk to her before leaving 08 = PROF. ELM has got something for HIRO a second time parsing command byte 0x0 for map 24.5 at 0x78ca6 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x9 for map 24.5 at 0x78ca9 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x33 for map 24.5 at 0x78cac info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x0 for map 24.5 at 0x78caf info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x3 for map 24.5 at 0x78cb2 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x31 for map 24.5 at 0x78cb5 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 24.5 at 0x78cb8 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x76 for map 24.5 at 0x78cbb info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x48 for map 24.5 at 0x78cbe info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0x56 for map 24.5 at 0x78cc0 info: ?? Display a pokemon picture and a yes/no box long_info: Displays a YES/NO box at X08/Y05. feedback: 00 = no chosen 01 = yes chosen parsing command byte 0x9e for map 24.5 at 0x78cc1 info: Load wild pokemon data for a remote map [map group][map id] long_info: Activates the checks in the special tables for the wild pokémon data. [9E][map group][map id] see also http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDok3E_66ED parsing command byte 0x0 for map 24.5 at 0x78cc4 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x47 for map 24.5 at 0x78cc7 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 24.5 at 0x78cc8 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x4e for map 24.5 at 0x78ccb info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x8 for map 24.5 at 0x78ccc info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x6e for map 24.5 at 0x78ccf info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x33 for map 24.5 at 0x78cd1 info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x4c for map 24.5 at 0x78cd4 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x55 for map 24.5 at 0x78cd7 info: Display a pokemon picture in a box by pokemon id [xx] long_info: Opens a box and puts a Pokémon picture into it. [55][xx] xx: <>00 : Pokémon no =00 : Pokémon no gets read from RAM parsing command byte 0x40 for map 24.5 at 0x78cd9 info: Copy pokemon name (by id) to memX [id][xx] long_info: Writes pokémon name to MEMORY1, 2 or 3 for later use in text. [40][PKMN no][00-02 MEMORY] parsing command byte 0x4c for map 24.5 at 0x78cdc info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x85 for map 24.5 at 0x78cdf info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0x2 for map 24.5 at 0x78ce0 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x55 for map 24.5 at 0x78ce3 info: Display a pokemon picture in a box by pokemon id [xx] long_info: Opens a box and puts a Pokémon picture into it. [55][xx] xx: <>00 : Pokémon no =00 : Pokémon no gets read from RAM parsing command byte 0x9e for map 24.5 at 0x78ce5 info: Load wild pokemon data for a remote map [map group][map id] long_info: Activates the checks in the special tables for the wild pokémon data. [9E][map group][map id] see also http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDok3E_66ED parsing command byte 0x0 for map 24.5 at 0x78ce8 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 24.5 at 0x78ceb info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x3 for map 24.5 at 0x78cee info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x31 for map 24.5 at 0x78cf1 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 24.5 at 0x78cf4 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x76 for map 24.5 at 0x78cf7 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x48 for map 24.5 at 0x78cfa info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0x56 for map 24.5 at 0x78cfc info: ?? Display a pokemon picture and a yes/no box long_info: Displays a YES/NO box at X08/Y05. feedback: 00 = no chosen 01 = yes chosen parsing command byte 0x98 for map 24.5 at 0x78cfd info: Hang-up phone long_info: Simulates the hanging-up. [98] parsing command byte 0x84 for map 24.5 at 0x78cfe info: Play sound by sound number [xxyy] long_info: Plays the sound. [84][Sound no (2byte)] Sound no: See the music archive that should accompany this document Thanks to philb for this matter. He helped me to record a big part of these sounds. parsing command byte 0x54 for map 24.5 at 0x78d01 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x57 for map 24.5 at 0x78d02 info: Menu interpreter 1 (see menu loader) long_info: Interprets menu data loaded by 4F. see also http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA57 parsing command byte 0x47 for map 24.5 at 0x78d03 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 24.5 at 0x78d04 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x4e for map 24.5 at 0x78d07 info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x8 for map 24.5 at 0x78d08 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x6e for map 24.5 at 0x78d0b info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x33 for map 24.5 at 0x78d0d info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x4c for map 24.5 at 0x78d10 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x55 for map 24.5 at 0x78d13 info: Display a pokemon picture in a box by pokemon id [xx] long_info: Opens a box and puts a Pokémon picture into it. [55][xx] xx: <>00 : Pokémon no =00 : Pokémon no gets read from RAM parsing command byte 0x40 for map 24.5 at 0x78d15 info: Copy pokemon name (by id) to memX [id][xx] long_info: Writes pokémon name to MEMORY1, 2 or 3 for later use in text. [40][PKMN no][00-02 MEMORY] parsing command byte 0x4c for map 24.5 at 0x78d18 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x85 for map 24.5 at 0x78d1b info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0x2 for map 24.5 at 0x78d1c info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x55 for map 24.5 at 0x78d1f info: Display a pokemon picture in a box by pokemon id [xx] long_info: Opens a box and puts a Pokémon picture into it. [55][xx] xx: <>00 : Pokémon no =00 : Pokémon no gets read from RAM parsing command byte 0x98 for map 24.5 at 0x78d21 info: Hang-up phone long_info: Simulates the hanging-up. [98] parsing command byte 0x5 for map 24.5 at 0x78d22 info: pointer code long_info: 2byte pointer points to 3byte pointer; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x49 for map 24.5 at 0x78d25 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x69 for map 24.5 at 0x78d26 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x4f for map 24.5 at 0x78d29 info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x4d for map 24.5 at 0x78d2c info: Repeat text [FF][FF] long_info: Opens a text box and writes the text written latest resp. whose address was put statically to D175-D177. Doesn't load font. [4D][FF][FF] Without FF for both bytes, no operation occurs parsing command byte 0x54 for map 24.5 at 0x78d2f info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x54 for map 24.5 at 0x78d30 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 24.5 at 0x78d31 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 24.5 at 0x78d32 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing xy trigger byte scripts... x=5 y=6 parsing command byte 0x76 for map 24.5 at 0x78c65 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x47 for map 24.5 at 0x78c68 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 24.5 at 0x78c69 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 24.5 at 0x78c6c info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 24.5 at 0x78c6d info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x69 for map 24.5 at 0x78c6e info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x4f for map 24.5 at 0x78c71 info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x1a for map 24.5 at 0x78c74 info: Write variable from script RAM variable to actual RAM address [xxyy] long_info: Writes variable from RAM to actual RAM address. [1A][2-byte RAM address] parsing command byte 0x6d for map 24.5 at 0x78c77 info: Hide person by id [xx] long_info: Hides a person. [6D][person id] parsing command byte 0x76 for map 24.5 at 0x78c79 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x48 for map 24.5 at 0x78c7c info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0x56 for map 24.5 at 0x78c7e info: ?? Display a pokemon picture and a yes/no box long_info: Displays a YES/NO box at X08/Y05. feedback: 00 = no chosen 01 = yes chosen parsing command byte 0x9b for map 24.5 at 0x78c7f info: Cell phone call [call id][00] long_info: Initiates with the next step on a outer world map (permission byte) a phone call. [9B][Call no][00] call no: 01 = PokéRus 02 = Pokémon stolen 03 = Egg examined/ Assistant in Viola City 04 = Team Rocket on the radio 05 = PROF. ELM has got something for HIRO 06 = Bike shop gives bike away 07 = Mother is unhappy that HIRO didn't talk to her before leaving 08 = PROF. ELM has got something for HIRO a second time parsing command byte 0x0 for map 24.5 at 0x78c82 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x47 for map 24.5 at 0x78c85 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 24.5 at 0x78c86 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x4e for map 24.5 at 0x78c89 info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x8 for map 24.5 at 0x78c8a info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x6e for map 24.5 at 0x78c8d info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x33 for map 24.5 at 0x78c8f info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x4c for map 24.5 at 0x78c92 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x55 for map 24.5 at 0x78c95 info: Display a pokemon picture in a box by pokemon id [xx] long_info: Opens a box and puts a Pokémon picture into it. [55][xx] xx: <>00 : Pokémon no =00 : Pokémon no gets read from RAM parsing command byte 0x40 for map 24.5 at 0x78c97 info: Copy pokemon name (by id) to memX [id][xx] long_info: Writes pokémon name to MEMORY1, 2 or 3 for later use in text. [40][PKMN no][00-02 MEMORY] parsing command byte 0x4c for map 24.5 at 0x78c9a info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x85 for map 24.5 at 0x78c9d info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0x2 for map 24.5 at 0x78c9e info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x55 for map 24.5 at 0x78ca1 info: Display a pokemon picture in a box by pokemon id [xx] long_info: Opens a box and puts a Pokémon picture into it. [55][xx] xx: <>00 : Pokémon no =00 : Pokémon no gets read from RAM parsing command byte 0x9b for map 24.5 at 0x78ca3 info: Cell phone call [call id][00] long_info: Initiates with the next step on a outer world map (permission byte) a phone call. [9B][Call no][00] call no: 01 = PokéRus 02 = Pokémon stolen 03 = Egg examined/ Assistant in Viola City 04 = Team Rocket on the radio 05 = PROF. ELM has got something for HIRO 06 = Bike shop gives bike away 07 = Mother is unhappy that HIRO didn't talk to her before leaving 08 = PROF. ELM has got something for HIRO a second time parsing command byte 0x0 for map 24.5 at 0x78ca6 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x9 for map 24.5 at 0x78ca9 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x33 for map 24.5 at 0x78cac info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x0 for map 24.5 at 0x78caf info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x3 for map 24.5 at 0x78cb2 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x31 for map 24.5 at 0x78cb5 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 24.5 at 0x78cb8 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x76 for map 24.5 at 0x78cbb info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x48 for map 24.5 at 0x78cbe info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0x56 for map 24.5 at 0x78cc0 info: ?? Display a pokemon picture and a yes/no box long_info: Displays a YES/NO box at X08/Y05. feedback: 00 = no chosen 01 = yes chosen parsing command byte 0x9e for map 24.5 at 0x78cc1 info: Load wild pokemon data for a remote map [map group][map id] long_info: Activates the checks in the special tables for the wild pokémon data. [9E][map group][map id] see also http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDok3E_66ED parsing command byte 0x0 for map 24.5 at 0x78cc4 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x47 for map 24.5 at 0x78cc7 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 24.5 at 0x78cc8 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x4e for map 24.5 at 0x78ccb info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x8 for map 24.5 at 0x78ccc info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x6e for map 24.5 at 0x78ccf info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x33 for map 24.5 at 0x78cd1 info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x4c for map 24.5 at 0x78cd4 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x55 for map 24.5 at 0x78cd7 info: Display a pokemon picture in a box by pokemon id [xx] long_info: Opens a box and puts a Pokémon picture into it. [55][xx] xx: <>00 : Pokémon no =00 : Pokémon no gets read from RAM parsing command byte 0x40 for map 24.5 at 0x78cd9 info: Copy pokemon name (by id) to memX [id][xx] long_info: Writes pokémon name to MEMORY1, 2 or 3 for later use in text. [40][PKMN no][00-02 MEMORY] parsing command byte 0x4c for map 24.5 at 0x78cdc info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x85 for map 24.5 at 0x78cdf info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0x2 for map 24.5 at 0x78ce0 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x55 for map 24.5 at 0x78ce3 info: Display a pokemon picture in a box by pokemon id [xx] long_info: Opens a box and puts a Pokémon picture into it. [55][xx] xx: <>00 : Pokémon no =00 : Pokémon no gets read from RAM parsing command byte 0x9e for map 24.5 at 0x78ce5 info: Load wild pokemon data for a remote map [map group][map id] long_info: Activates the checks in the special tables for the wild pokémon data. [9E][map group][map id] see also http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDok3E_66ED parsing command byte 0x0 for map 24.5 at 0x78ce8 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 24.5 at 0x78ceb info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x3 for map 24.5 at 0x78cee info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x31 for map 24.5 at 0x78cf1 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 24.5 at 0x78cf4 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x76 for map 24.5 at 0x78cf7 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x48 for map 24.5 at 0x78cfa info: Screen refresh [xx] long_info: Executes a complete screen refresh. [48][xx] xx is a dummy byte parsing command byte 0x56 for map 24.5 at 0x78cfc info: ?? Display a pokemon picture and a yes/no box long_info: Displays a YES/NO box at X08/Y05. feedback: 00 = no chosen 01 = yes chosen parsing command byte 0x98 for map 24.5 at 0x78cfd info: Hang-up phone long_info: Simulates the hanging-up. [98] parsing command byte 0x84 for map 24.5 at 0x78cfe info: Play sound by sound number [xxyy] long_info: Plays the sound. [84][Sound no (2byte)] Sound no: See the music archive that should accompany this document Thanks to philb for this matter. He helped me to record a big part of these sounds. parsing command byte 0x54 for map 24.5 at 0x78d01 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x57 for map 24.5 at 0x78d02 info: Menu interpreter 1 (see menu loader) long_info: Interprets menu data loaded by 4F. see also http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA57 parsing command byte 0x47 for map 24.5 at 0x78d03 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 24.5 at 0x78d04 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x4e for map 24.5 at 0x78d07 info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x8 for map 24.5 at 0x78d08 info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x6e for map 24.5 at 0x78d0b info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x33 for map 24.5 at 0x78d0d info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x4c for map 24.5 at 0x78d10 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x55 for map 24.5 at 0x78d13 info: Display a pokemon picture in a box by pokemon id [xx] long_info: Opens a box and puts a Pokémon picture into it. [55][xx] xx: <>00 : Pokémon no =00 : Pokémon no gets read from RAM parsing command byte 0x40 for map 24.5 at 0x78d15 info: Copy pokemon name (by id) to memX [id][xx] long_info: Writes pokémon name to MEMORY1, 2 or 3 for later use in text. [40][PKMN no][00-02 MEMORY] parsing command byte 0x4c for map 24.5 at 0x78d18 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x85 for map 24.5 at 0x78d1b info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0x2 for map 24.5 at 0x78d1c info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x55 for map 24.5 at 0x78d1f info: Display a pokemon picture in a box by pokemon id [xx] long_info: Opens a box and puts a Pokémon picture into it. [55][xx] xx: <>00 : Pokémon no =00 : Pokémon no gets read from RAM parsing command byte 0x98 for map 24.5 at 0x78d21 info: Hang-up phone long_info: Simulates the hanging-up. [98] parsing command byte 0x5 for map 24.5 at 0x78d22 info: pointer code long_info: 2byte pointer points to 3byte pointer; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x49 for map 24.5 at 0x78d25 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x69 for map 24.5 at 0x78d26 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x4f for map 24.5 at 0x78d29 info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x4d for map 24.5 at 0x78d2c info: Repeat text [FF][FF] long_info: Opens a text box and writes the text written latest resp. whose address was put statically to D175-D177. Doesn't load font. [4D][FF][FF] Without FF for both bytes, no operation occurs parsing command byte 0x54 for map 24.5 at 0x78d2f info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x54 for map 24.5 at 0x78d30 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 24.5 at 0x78d31 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 24.5 at 0x78d32 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing xy trigger byte scripts... x=4 y=5 parsing command byte 0x69 for map 24.5 at 0x78f16 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x4f for map 24.5 at 0x78f19 info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x2 for map 24.5 at 0x78f1c info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0xf0 for map 24.5 at 0x78f1f info: None long_info: None parsing xy trigger byte scripts... x=5 y=5 parsing command byte 0x69 for map 24.5 at 0x78f12 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x4f for map 24.5 at 0x78f15 info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x74 for map 24.5 at 0x78f18 info: Display emoticon by bubble id and person id and time [xx][yy][zz] long_info: Displays the bubble above a persons head for the given time period. Attention: Bubbles get loaded into ram! [74][Bubble][Person][Time] for bubble ids see 0x73 parsing command byte 0x2 for map 24.5 at 0x78f1c info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0xf0 for map 24.5 at 0x78f1f info: None long_info: None parsing xy trigger byte scripts... x=4 y=8 parsing command byte 0x69 for map 24.5 at 0x78e7f info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x4f for map 24.5 at 0x78e82 info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x0 for map 24.5 at 0x78e85 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x4e for map 24.5 at 0x78e88 info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x69 for map 24.5 at 0x78e89 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x4f for map 24.5 at 0x78e8c info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x3 for map 24.5 at 0x78e8f info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x76 for map 24.5 at 0x78e92 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x0 for map 24.5 at 0x78e95 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x69 for map 24.5 at 0x78e98 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x4f for map 24.5 at 0x78e9b info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x4c for map 24.5 at 0x78e9e info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x55 for map 24.5 at 0x78ea1 info: Display a pokemon picture in a box by pokemon id [xx] long_info: Opens a box and puts a Pokémon picture into it. [55][xx] xx: <>00 : Pokémon no =00 : Pokémon no gets read from RAM parsing command byte 0x12 for map 24.5 at 0x78ea3 info: Activate trigger event from afar [xx][yy][zz] long_info: Changes trigger event number on map (map bank/map no) to xx. xx = trigger event number that should be activated [12][MapBank][MapNo][xx] parsing command byte 0x5f for map 24.5 at 0x78ea7 info: Return to in-game engine after battle long_info: Returns to ingame engine and evaluates battle. When lost then return to last Pokémon Center etc. parsing command byte 0x54 for map 24.5 at 0x78ea8 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 24.5 at 0x78ea9 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x14 for map 24.5 at 0x78eaa info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0x91 for map 24.5 at 0x78eac info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing xy trigger byte scripts... x=5 y=8 parsing command byte 0x69 for map 24.5 at 0x78e8e info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x4f for map 24.5 at 0x78e91 info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x0 for map 24.5 at 0x78e94 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x4e for map 24.5 at 0x78e97 info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x69 for map 24.5 at 0x78e98 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x4f for map 24.5 at 0x78e9b info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x4c for map 24.5 at 0x78e9e info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x55 for map 24.5 at 0x78ea1 info: Display a pokemon picture in a box by pokemon id [xx] long_info: Opens a box and puts a Pokémon picture into it. [55][xx] xx: <>00 : Pokémon no =00 : Pokémon no gets read from RAM parsing command byte 0x12 for map 24.5 at 0x78ea3 info: Activate trigger event from afar [xx][yy][zz] long_info: Changes trigger event number on map (map bank/map no) to xx. xx = trigger event number that should be activated [12][MapBank][MapNo][xx] parsing command byte 0x5f for map 24.5 at 0x78ea7 info: Return to in-game engine after battle long_info: Returns to ingame engine and evaluates battle. When lost then return to last Pokémon Center etc. parsing command byte 0x54 for map 24.5 at 0x78ea8 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 24.5 at 0x78ea9 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x14 for map 24.5 at 0x78eaa info: De-/activate trigger event [xx] long_info: Changes trigger event number on current map to xx. xx = trigger event number that should be activated [14][xx] deactivate? Just activate a different trigger event number. There's a limit of 1 active trigger. parsing command byte 0x91 for map 24.5 at 0x78eac info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing xy trigger byte scripts... x=4 y=8 parsing command byte 0x69 for map 24.5 at 0x78ead info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x4f for map 24.5 at 0x78eb0 info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x0 for map 24.5 at 0x78eb3 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x4e for map 24.5 at 0x78eb6 info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x69 for map 24.5 at 0x78eb7 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x4f for map 24.5 at 0x78eba info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x3 for map 24.5 at 0x78ebd info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x76 for map 24.5 at 0x78ec0 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x0 for map 24.5 at 0x78ec3 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x69 for map 24.5 at 0x78ec6 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x4f for map 24.5 at 0x78ec9 info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x4c for map 24.5 at 0x78ecc info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x55 for map 24.5 at 0x78ecf info: Display a pokemon picture in a box by pokemon id [xx] long_info: Opens a box and puts a Pokémon picture into it. [55][xx] xx: <>00 : Pokémon no =00 : Pokémon no gets read from RAM parsing command byte 0x5 for map 24.5 at 0x78ed1 info: pointer code long_info: 2byte pointer points to 3byte pointer; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0xe2 for map 24.5 at 0x78ed4 info: None long_info: None parsing xy trigger byte scripts... x=5 y=8 parsing command byte 0x69 for map 24.5 at 0x78ebc info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x4f for map 24.5 at 0x78ebf info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x0 for map 24.5 at 0x78ec2 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x4e for map 24.5 at 0x78ec5 info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x69 for map 24.5 at 0x78ec6 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x4f for map 24.5 at 0x78ec9 info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x4c for map 24.5 at 0x78ecc info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x55 for map 24.5 at 0x78ecf info: Display a pokemon picture in a box by pokemon id [xx] long_info: Opens a box and puts a Pokémon picture into it. [55][xx] xx: <>00 : Pokémon no =00 : Pokémon no gets read from RAM parsing command byte 0x5 for map 24.5 at 0x78ed1 info: pointer code long_info: 2byte pointer points to 3byte pointer; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0xe2 for map 24.5 at 0x78ed4 info: None long_info: None parsing signpost script.. signpost is at: x=2 y=1 parsing command byte 0x47 for map 24.5 at 0x78d74 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x31 for map 24.5 at 0x78d75 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 24.5 at 0x78d78 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4c for map 24.5 at 0x78d7b info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 24.5 at 0x78d7e info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 24.5 at 0x78d7f info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 24.5 at 0x78d80 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=6 y=1 parsing command byte 0xc for map 24.5 at 0x78f64 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=7 y=1 parsing command byte 0xc for map 24.5 at 0x78f64 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=8 y=1 parsing command byte 0xc for map 24.5 at 0x78f64 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=9 y=1 parsing command byte 0xc for map 24.5 at 0x78f64 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=0 y=7 parsing command byte 0x53 for map 24.5 at 0x78f4f info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x4c for map 24.5 at 0x78f50 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x8a for map 24.5 at 0x78f53 info: Wait code long_info: This code lets the game wait for 2 * xx time intervals. [8A][xx] xx: Numbers from 0x01 to 0xFF. If 0x00 is chosen then the time can be manipulated by previously loading a number to RAM2. parsing command byte 0x53 for map 24.5 at 0x78f55 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xc6 for map 24.5 at 0x78f56 info: None long_info: None parsing signpost script.. signpost is at: x=1 y=7 parsing command byte 0x53 for map 24.5 at 0x78f52 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x8a for map 24.5 at 0x78f53 info: Wait code long_info: This code lets the game wait for 2 * xx time intervals. [8A][xx] xx: Numbers from 0x01 to 0xFF. If 0x00 is chosen then the time can be manipulated by previously loading a number to RAM2. parsing command byte 0x53 for map 24.5 at 0x78f55 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xc6 for map 24.5 at 0x78f56 info: None long_info: None parsing signpost script.. signpost is at: x=2 y=7 parsing command byte 0x53 for map 24.5 at 0x78f55 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xc6 for map 24.5 at 0x78f56 info: None long_info: None parsing signpost script.. signpost is at: x=3 y=7 parsing command byte 0x53 for map 24.5 at 0x78f58 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x15 for map 24.5 at 0x78f59 info: Load variable into RAM [xx] long_info: [15][xx] parsing command byte 0x53 for map 24.5 at 0x78f5b info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x70 for map 24.5 at 0x78f5c info: Stop all follow code long_info: Ends all current follow codes. parsing command byte 0x63 for map 24.5 at 0x78f5d info: Set win/lose pointers for battle [xxyy][xxyy] long_info: Writes the win/lose pointer of a battle into the ram. [63][2byte pointer to text Win][2byte pointer to text Loss*] * When pointer = 0000 then "Blackout" instead of return to gameplay. parsing command byte 0xd for map 24.5 at 0x78f62 info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0x1 for map 24.5 at 0x78f65 info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0xd for map 24.5 at 0x78f69 info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0xd for map 24.5 at 0x78f6c info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0x47 for map 24.5 at 0x78f6f info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0xd for map 24.5 at 0x78f70 info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0x47 for map 24.5 at 0x78f73 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0xd for map 24.5 at 0x78f74 info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0x47 for map 24.5 at 0x78f77 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0xc for map 24.5 at 0x78f78 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=6 y=7 parsing command byte 0xc for map 24.5 at 0x78f64 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=7 y=7 parsing command byte 0xc for map 24.5 at 0x78f64 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=8 y=7 parsing command byte 0xc for map 24.5 at 0x78f64 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=9 y=7 parsing command byte 0xc for map 24.5 at 0x78f64 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=9 y=3 parsing command byte 0x53 for map 24.5 at 0x78f5b info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x70 for map 24.5 at 0x78f5c info: Stop all follow code long_info: Ends all current follow codes. parsing command byte 0x63 for map 24.5 at 0x78f5d info: Set win/lose pointers for battle [xxyy][xxyy] long_info: Writes the win/lose pointer of a battle into the ram. [63][2byte pointer to text Win][2byte pointer to text Loss*] * When pointer = 0000 then "Blackout" instead of return to gameplay. parsing command byte 0xd for map 24.5 at 0x78f62 info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0x1 for map 24.5 at 0x78f65 info: pointer code long_info: 3byte pointer points to script; when pointed script ends --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0xd for map 24.5 at 0x78f69 info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0xd for map 24.5 at 0x78f6c info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0x47 for map 24.5 at 0x78f6f info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0xd for map 24.5 at 0x78f70 info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0x47 for map 24.5 at 0x78f73 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0xd for map 24.5 at 0x78f74 info: call some predefined script long_info: Calls predefined scripts. Exactly like $0C except the script does not end. [0D][xxyy] parsing command byte 0x47 for map 24.5 at 0x78f77 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0xc for map 24.5 at 0x78f78 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=5 y=0 parsing command byte 0x47 for map 24.5 at 0x78f33 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x34 for map 24.5 at 0x78f34 info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map 24.5 at 0x78f37 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x31 for map 24.5 at 0x78f3a info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 24.5 at 0x78f3d info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x3 for map 24.5 at 0x78f40 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x4c for map 24.5 at 0x78f43 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 24.5 at 0x78f46 info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 24.5 at 0x78f47 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 24.5 at 0x78f48 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=3 y=5 parsing command byte 0x53 for map 24.5 at 0x78f5e info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xa6 for map 24.5 at 0x78f5f info: None long_info: None skipping event data... (oops) parsing command byte 0x8d for map 24.5 at 0x78b7a info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0x8c for map 24.5 at 0x78b7b info: Priority jump to script by pointer [xxyy] long_info: The pointer acts like code 00, but with this higher functions like the bike etc. are not paid attention to, while the script is running. [8C][2byte pointer to script] parsing command byte 0x91 for map 24.5 at 0x78b7e info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 24.5 at 0x78b7e info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 24.5 at 0x78b7f info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 24.5 at 0x78b80 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 24.5 at 0x78b81 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 24.5 at 0x78b82 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x13 for map None.None at 0x78b83 info: Trigger event check long_info: Checks the number of the trigger events on the current map. [13] parsing command byte 0x9 for map None.None at 0x78b84 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x72 for map None.None at 0x78b87 info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0x3 for map None.None at 0x78b89 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x69 for map None.None at 0x78b8c info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x4f for map None.None at 0x78b8f info: Load menu data by pointer [xxyy] long_info: Loads data for menus [4F][2byte pointer to menu data] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA4F parsing command byte 0x2 for map None.None at 0x78b92 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x2 for map None.None at 0x78b95 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x4c for map None.None at 0x78b98 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x4e for map None.None at 0x78b9b info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x9 for map None.None at 0x78b9c info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x4c for map None.None at 0x78b9f info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x3 for map None.None at 0x78ba2 info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x4c for map None.None at 0x78ba5 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x55 for map None.None at 0x78ba8 info: Display a pokemon picture in a box by pokemon id [xx] long_info: Opens a box and puts a Pokémon picture into it. [55][xx] xx: <>00 : Pokémon no =00 : Pokémon no gets read from RAM parsing command byte 0x3a for map None.None at 0x78baa info: Set target for 0xFF warps [warp id][map group][map id] long_info: Changes warp data for all warps of the current map that have a 0xFF for warp-to data. [3A][Nee warp-to][New map bank][New map no] parsing command byte 0x85 for map None.None at 0x78bae info: Wait for key-down long_info: Waits for the Player to press a button. [85] parsing command byte 0xbc for map None.None at 0x78baf info: None long_info: None map_group is: 24 map_id is: 6 event header address is: 0x7ab31 parsing xy trigger byte scripts... x=8 y=4 parsing command byte 0x33 for map 24.6 at 0x7a4d8 info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x7f for map 24.6 at 0x7a4db info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0x4e for map 24.6 at 0x7a4dc info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x0 for map 24.6 at 0x7a4dd info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x2 for map 24.6 at 0x7a4e0 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x0 for map 24.6 at 0x7a4e3 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 24.6 at 0x7a4e6 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf2 for map 24.6 at 0x7a4e9 info: None long_info: None parsing xy trigger byte scripts... x=9 y=4 parsing command byte 0x7f for map 24.6 at 0x7a4db info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0x4e for map 24.6 at 0x7a4dc info: YES/No box long_info: Displays a YES/NO box at X0F/Y07 feedback: 00 = no 01 = yes parsing command byte 0x0 for map 24.6 at 0x7a4dd info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x2 for map 24.6 at 0x7a4e0 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x0 for map 24.6 at 0x7a4e3 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 24.6 at 0x7a4e6 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf2 for map 24.6 at 0x7a4e9 info: None long_info: None parsing signpost script.. signpost is at: x=0 y=1 parsing command byte 0x53 for map 24.6 at 0x7a5f3 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x3a for map 24.6 at 0x7a5f4 info: Set target for 0xFF warps [warp id][map group][map id] long_info: Changes warp data for all warps of the current map that have a 0xFF for warp-to data. [3A][Nee warp-to][New map bank][New map no] parsing command byte 0x6a for map 24.6 at 0x7a5f8 info: Move talked-to person's facing direction to HIRO long_info: Turns the heads of the talked-to persons to HIRO. [6A] parsing command byte 0x53 for map 24.6 at 0x7a5f9 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x91 for map 24.6 at 0x7a5fa info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=1 y=1 parsing command byte 0x53 for map 24.6 at 0x7a5f6 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x64 for map 24.6 at 0x7a5f7 info: ? Load the trainer talk-after script long_info: Interprets which script is going to be run, when a in the event-structure-defined trainer is talked to again. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau [64] parsing command byte 0x6a for map 24.6 at 0x7a5f8 info: Move talked-to person's facing direction to HIRO long_info: Turns the heads of the talked-to persons to HIRO. [6A] parsing command byte 0x53 for map 24.6 at 0x7a5f9 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x91 for map 24.6 at 0x7a5fa info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=2 y=1 parsing command byte 0x53 for map 24.6 at 0x7a5f9 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x91 for map 24.6 at 0x7a5fa info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=4 y=1 parsing command byte 0x53 for map 24.6 at 0x7a5f0 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xd0 for map 24.6 at 0x7a5f1 info: None long_info: None skipping event data... (oops) parsing command byte 0x91 for map 24.6 at 0x7a4d6 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 24.6 at 0x7a4d7 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 24 map_id is: 7 event header address is: 0x7ac99 parsing signpost script.. signpost is at: x=2 y=1 parsing command byte 0x47 for map 24.7 at 0x7ac15 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0xf for map 24.7 at 0x7ac16 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x9 for map 24.7 at 0x7ac19 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x49 for map 24.7 at 0x7ac1c info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x91 for map 24.7 at 0x7ac1d info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=3 y=1 parsing command byte 0x31 for map 24.7 at 0x7abda info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 24.7 at 0x7abdd info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x31 for map 24.7 at 0x7abe0 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 24.7 at 0x7abe3 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x7f for map 24.7 at 0x7abe6 info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0x1d for map 24.7 at 0x7abe7 info: Write to pre-ID-mapped RAM location [xx] long_info: Writes variable from RAM to special game-technical value offsets. [1D][following part] where [following part] is the same as 0x1C parsing command byte 0x47 for map 24.7 at 0x7abe9 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 24.7 at 0x7abea info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x8b for map 24.7 at 0x7abed info: Deactive static facing after time [xx] long_info: Deactivates static facings on all persons on the screen after a time xx. [8B][xx] parsing command byte 0x4c for map 24.7 at 0x7abef info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x8b for map 24.7 at 0x7abf2 info: Deactive static facing after time [xx] long_info: Deactivates static facings on all persons on the screen after a time xx. [8B][xx] parsing command byte 0x4c for map 24.7 at 0x7abf4 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x8b for map 24.7 at 0x7abf7 info: Deactive static facing after time [xx] long_info: Deactivates static facings on all persons on the screen after a time xx. [8B][xx] parsing command byte 0x81 for map 24.7 at 0x7abf9 info: Play map's music long_info: Starts playing the original map music. Includes special check for surfer and bug contest song. [81] parsing command byte 0x3c for map 24.7 at 0x7abfa info: Warp to [map group][map id][x][y] long_info: Warps to another map. If all data is 00s, then the current map is reloaded with the current X and Y coordinates. Old script is not finished without a [90]. [3C][Map bank][Map no][X][Y] parsing command byte 0x6c for map 24.7 at 0x7abff info: Store value in variable sprite RAM location x by id Y [xx][yy] long_info: Writes a number to the variable sprite RAM from D555 to D564 (see Compendium on the sprite system). [6C][xx][Sprite no] xx: Number between 0x00 and 0x0F parsing command byte 0x49 for map 24.7 at 0x7ac02 info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x33 for map 24.7 at 0x7ac03 info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x91 for map 24.7 at 0x7ac06 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing signpost script.. signpost is at: x=5 y=1 parsing command byte 0xc for map 24.7 at 0x7ac12 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=6 y=0 parsing command byte 0xcc for map 24.7 at 0x7abd4 info: None long_info: None skipping event data... (oops) parsing command byte 0xf for map None.None at 0x7abb4 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x33 for map None.None at 0x7abb7 info: Set (to 1) a bit on bit table 1 [xxyy] long_info: Sets a bit of BitTable1 to value 1. [33][Bit-No (2byte)] parsing command byte 0x31 for map None.None at 0x7abba info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map None.None at 0x7abbd info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0xc for map None.None at 0x7abc0 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing command byte 0xf for map None.None at 0x7abc5 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x90 for map None.None at 0x7abc8 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 24 map_id is: 8 event header address is: 0x7aeb0 parsing signpost script.. signpost is at: x=0 y=1 parsing command byte 0xc for map 24.8 at 0x7acf4 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=1 y=1 parsing command byte 0xc for map 24.8 at 0x7acf4 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=7 y=1 parsing command byte 0x31 for map 24.8 at 0x7acf7 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 24.8 at 0x7acfa info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x31 for map 24.8 at 0x7acfd info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 24.8 at 0x7ad00 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x7f for map 24.8 at 0x7ad03 info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0x1d for map 24.8 at 0x7ad04 info: Write to pre-ID-mapped RAM location [xx] long_info: Writes variable from RAM to special game-technical value offsets. [1D][following part] where [following part] is the same as 0x1C parsing command byte 0x47 for map 24.8 at 0x7ad06 info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0x4c for map 24.8 at 0x7ad07 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x8b for map 24.8 at 0x7ad0a info: Deactive static facing after time [xx] long_info: Deactivates static facings on all persons on the screen after a time xx. [8B][xx] parsing command byte 0x4c for map 24.8 at 0x7ad0c info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x8b for map 24.8 at 0x7ad0f info: Deactive static facing after time [xx] long_info: Deactivates static facings on all persons on the screen after a time xx. [8B][xx] parsing command byte 0x4c for map 24.8 at 0x7ad11 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x8b for map 24.8 at 0x7ad14 info: Deactive static facing after time [xx] long_info: Deactivates static facings on all persons on the screen after a time xx. [8B][xx] parsing command byte 0x81 for map 24.8 at 0x7ad16 info: Play map's music long_info: Starts playing the original map music. Includes special check for surfer and bug contest song. [81] parsing command byte 0x3c for map 24.8 at 0x7ad17 info: Warp to [map group][map id][x][y] long_info: Warps to another map. If all data is 00s, then the current map is reloaded with the current X and Y coordinates. Old script is not finished without a [90]. [3C][Map bank][Map no][X][Y] parsing command byte 0x6e for map 24.8 at 0x7ad1c info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x2d for map 24.8 at 0x7ad1e info: Give pokemon [pokemon][level][item][trainer2b][...] long_info: Gives a PKMN if there's space feedback: trainer id [2D][PKMN][PKMNlvl][PKMNitem][TRAINER] trainer: 00 = HIRO 01 = after the main code there are 4 bytes added [2byte pointer to trainer's name (max.0x0A figures + 0x50)][2byte pointer to nickname (max.0x0A figures + 0x50)] parsing command byte 0x91 for map 24.8 at 0x7ad23 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 skipping event data... (oops) map_group is: 24 map_id is: 9 event header address is: 0x7b0ea parsing signpost script.. signpost is at: x=0 y=1 parsing command byte 0x53 for map 24.9 at 0x7aef1 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x1b for map 24.9 at 0x7aef2 info: Load variable [xxyy][zz] long_info: Writes zz to ram address. [1B][2-byte RAM address][zz] parsing command byte 0x0 for map 24.9 at 0x7aef6 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xa8 for map 24.9 at 0x7aef9 info: None long_info: None parsing signpost script.. signpost is at: x=6 y=1 parsing command byte 0xc for map 24.9 at 0x7aef4 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=7 y=1 parsing command byte 0xc for map 24.9 at 0x7aef4 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 24 map_id is: 10 event header address is: 0x7b1bb parsing signpost script.. signpost is at: x=0 y=1 parsing command byte 0xc for map 24.10 at 0x7b14a info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=1 y=1 parsing command byte 0xc for map 24.10 at 0x7b14a info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 24 map_id is: 11 event header address is: 0x7b375 skipping event data... (oops) map_group is: 24 map_id is: 12 event header address is: 0x7b592 parsing signpost script.. signpost is at: x=0 y=1 parsing command byte 0xc for map 24.12 at 0x7b3c3 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=1 y=1 parsing command byte 0xc for map 24.12 at 0x7b3c3 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 24 map_id is: 13 event header address is: 0x7b674 skipping event data... (oops) map_group is: 25 map_id is: 1 event header address is: 0x1adbc7 parsing signpost script.. signpost is at: x=17 y=17 parsing command byte 0x53 for map 25.1 at 0x1adb1c info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x66 for map 25.1 at 0x1adb1d info: ? Check if trainer talk-after script is executed just after battle or not long_info: Checks if the talk-after script of the event structure defined trainer is executed just after the battle or at a later point in time. feedback: 00 = no 01 = yes [66] parsing command byte 0x5b for map 25.1 at 0x1adb1e info: Load trainer from RAM long_info: Loads trainer data when HIRO is in a trainer's range of sight. Trainer group is read from CF2E and written to TrRAM1, the trainer number is read from CF2F and written to TrRAM2. 81 is written to BattleRAM. parsing command byte 0x53 for map 25.1 at 0x1adb1f info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x97 for map 25.1 at 0x1adb20 info: Call code pointing to name of caller [xxyy] long_info: Displays the upper cell phone box and displays a freely selectable name. [97][2byte pointer to name of caller] parsing command byte 0x93 for map 25.1 at 0x1adb23 info: Mart menu [dialog no][mart no 2b] long_info: Displays a whole mart menu, however, doesn't load font to ram. [93][Dialog no][Mart no (2byte)] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#AwBsp93 see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzB93 parsing command byte 0xb1 for map 25.1 at 0x1adb27 info: None long_info: None parsing signpost script.. signpost is at: x=10 y=11 parsing command byte 0x53 for map 25.1 at 0x1adb1f info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x97 for map 25.1 at 0x1adb20 info: Call code pointing to name of caller [xxyy] long_info: Displays the upper cell phone box and displays a freely selectable name. [97][2byte pointer to name of caller] parsing command byte 0x93 for map 25.1 at 0x1adb23 info: Mart menu [dialog no][mart no 2b] long_info: Displays a whole mart menu, however, doesn't load font to ram. [93][Dialog no][Mart no (2byte)] see http://hax.iimarck.us/files/scriptingcodes_eng.htm#AwBsp93 see http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzB93 parsing command byte 0xb1 for map 25.1 at 0x1adb27 info: None long_info: None skipping event data... (oops) map_group is: 25 map_id is: 2 event header address is: 0x19989c parsing signpost script.. signpost is at: x=21 y=5 parsing command byte 0x53 for map 25.2 at 0x199375 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xb7 for map 25.2 at 0x199376 info: None long_info: None parsing signpost script.. signpost is at: x=33 y=5 parsing command byte 0x53 for map 25.2 at 0x199378 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xe6 for map 25.2 at 0x199379 info: None long_info: None parsing signpost script.. signpost is at: x=25 y=5 parsing command byte 0x53 for map 25.2 at 0x19937b info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x29 for map 25.2 at 0x19937c info: Delete cell phone number [xx] long_info: Deletes a number from the list. feedback: 00 = number deleted successfully 01 = number wasn't in list xx = number of person [29][xx] parsing command byte 0x53 for map 25.2 at 0x19937e info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x4a for map 25.2 at 0x19937f info: Load specific byte to $C1CE [xx] long_info: Loads a byte to C1CE. Seems to have no function in the game. [4A][Byte] parsing command byte 0x53 for map 25.2 at 0x199381 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x65 for map 25.2 at 0x199382 info: Disable/cancel trainer after-battle text long_info: Cancels the talk-after script of the in the event-structure-defined trainer when talk-after script is executed just after the battle. [65] parsing command byte 0x58 for map 25.2 at 0x199383 info: Menu interpreter 2 (see menu loader) long_info: Interprets menu data loaded by 4F. see also http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke57 see also http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA58 parsing command byte 0x53 for map 25.2 at 0x199384 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x79 for map 25.2 at 0x199385 info: Change block to block id on map [xx][yy][id] long_info: Changes a block on the current map by giving the new block number and its X/Y values measured in half-blocks. [79][X][Y][Block] parsing command byte 0x0 for map 25.2 at 0x199389 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 25.2 at 0x19938c info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x7f for map 25.2 at 0x19938f info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0xab for map 25.2 at 0x199390 info: None long_info: None parsing signpost script.. signpost is at: x=15 y=21 parsing command byte 0x53 for map 25.2 at 0x19937e info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x4a for map 25.2 at 0x19937f info: Load specific byte to $C1CE [xx] long_info: Loads a byte to C1CE. Seems to have no function in the game. [4A][Byte] parsing command byte 0x53 for map 25.2 at 0x199381 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x65 for map 25.2 at 0x199382 info: Disable/cancel trainer after-battle text long_info: Cancels the talk-after script of the in the event-structure-defined trainer when talk-after script is executed just after the battle. [65] parsing command byte 0x58 for map 25.2 at 0x199383 info: Menu interpreter 2 (see menu loader) long_info: Interprets menu data loaded by 4F. see also http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke57 see also http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA58 parsing command byte 0x53 for map 25.2 at 0x199384 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x79 for map 25.2 at 0x199385 info: Change block to block id on map [xx][yy][id] long_info: Changes a block on the current map by giving the new block number and its X/Y values measured in half-blocks. [79][X][Y][Block] parsing command byte 0x0 for map 25.2 at 0x199389 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 25.2 at 0x19938c info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x7f for map 25.2 at 0x19938f info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0xab for map 25.2 at 0x199390 info: None long_info: None parsing signpost script.. signpost is at: x=25 y=29 parsing command byte 0x53 for map 25.2 at 0x199381 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x65 for map 25.2 at 0x199382 info: Disable/cancel trainer after-battle text long_info: Cancels the talk-after script of the in the event-structure-defined trainer when talk-after script is executed just after the battle. [65] parsing command byte 0x58 for map 25.2 at 0x199383 info: Menu interpreter 2 (see menu loader) long_info: Interprets menu data loaded by 4F. see also http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke57 see also http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzDatA58 parsing command byte 0x53 for map 25.2 at 0x199384 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x79 for map 25.2 at 0x199385 info: Change block to block id on map [xx][yy][id] long_info: Changes a block on the current map by giving the new block number and its X/Y values measured in half-blocks. [79][X][Y][Block] parsing command byte 0x0 for map 25.2 at 0x199389 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 25.2 at 0x19938c info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x7f for map 25.2 at 0x19938f info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0xab for map 25.2 at 0x199390 info: None long_info: None parsing signpost script.. signpost is at: x=11 y=5 parsing command byte 0x53 for map 25.2 at 0x199384 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x79 for map 25.2 at 0x199385 info: Change block to block id on map [xx][yy][id] long_info: Changes a block on the current map by giving the new block number and its X/Y values measured in half-blocks. [79][X][Y][Block] parsing command byte 0x0 for map 25.2 at 0x199389 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 25.2 at 0x19938c info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x7f for map 25.2 at 0x19938f info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0xab for map 25.2 at 0x199390 info: None long_info: None parsing signpost script.. signpost is at: x=10 y=29 parsing command byte 0xc for map 25.2 at 0x199387 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=26 y=11 parsing command byte 0xc for map 25.2 at 0x19938a info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) parsing command byte 0x36 for map None.None at 0x199326 info: Set (to 1) a bit on bit table 2 [xxyy] long_info: Sets a bit of BitTable2 to value 1. [36][Bit no (2byte)] parsing command byte 0x90 for map None.None at 0x199329 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 25 map_id is: 3 event header address is: 0x189bf8 parsing signpost script.. signpost is at: x=4 y=0 parsing command byte 0x53 for map 25.3 at 0x189b64 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xc0 for map 25.3 at 0x189b65 info: None long_info: None parsing signpost script.. signpost is at: x=5 y=0 parsing command byte 0x53 for map 25.3 at 0x189b67 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xe0 for map 25.3 at 0x189b68 info: None long_info: None skipping event data... (oops) map_group is: 25 map_id is: 4 event header address is: 0x18a2c4 parsing signpost script.. signpost is at: x=8 y=15 parsing command byte 0x34 for map 25.4 at 0x189ccf info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map 25.4 at 0x189cd2 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0xc for map 25.4 at 0x189cd5 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 25 map_id is: 5 event header address is: 0x18a444 skipping event data... (oops) map_group is: 25 map_id is: 6 event header address is: 0x18a722 skipping event data... (oops) map_group is: 25 map_id is: 7 event header address is: 0x18a76d skipping event data... (oops) map_group is: 25 map_id is: 8 event header address is: 0x18a7f0 parsing signpost script.. signpost is at: x=0 y=1 parsing command byte 0xc for map 25.8 at 0x18a795 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=1 y=1 parsing command byte 0xc for map 25.8 at 0x18a795 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 25 map_id is: 9 event header address is: 0x18ab8d parsing xy trigger byte scripts... x=11 y=6 parsing command byte 0x69 for map 25.9 at 0x18a862 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x68 for map 25.9 at 0x18a865 info: Move person (by id) with moving data (by pointer) [id][xxyy] long_info: Moves the person using moving data. [68][Person][2byte pointer to moving data] see also http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzB68bis69 parsing command byte 0x68 for map 25.9 at 0x18a869 info: Move person (by id) with moving data (by pointer) [id][xxyy] long_info: Moves the person using moving data. [68][Person][2byte pointer to moving data] see also http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzB68bis69 parsing command byte 0x68 for map 25.9 at 0x18a86d info: Move person (by id) with moving data (by pointer) [id][xxyy] long_info: Moves the person using moving data. [68][Person][2byte pointer to moving data] see also http://hax.iimarck.us/files/scriptingcodes_eng.htm#ZusatzB68bis69 parsing command byte 0x69 for map 25.9 at 0x18a871 info: Move talked-to person with moving data (by pointer) [xxyy] long_info: Moves talked-to person using moving data. [69][2byte pointer to moving data] parsing command byte 0x91 for map 25.9 at 0x18a874 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 skipping event data... (oops) parsing command byte 0x91 for map 25.9 at 0x18a81d info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 25 map_id is: 10 event header address is: 0x18ace7 skipping event data... (oops) map_group is: 25 map_id is: 11 event header address is: 0x18ae5e skipping event data... (oops) map_group is: 25 map_id is: 12 event header address is: 0x18b4f0 parsing signpost script.. signpost is at: x=0 y=1 parsing command byte 0xc for map 25.12 at 0x18afcd info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=1 y=1 parsing command byte 0xc for map 25.12 at 0x18afcd info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) parsing command byte 0x34 for map None.None at 0x18ae9f info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x9 for map None.None at 0x18aea2 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x6e for map None.None at 0x18aea5 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x6f for map None.None at 0x18aea7 info: Following code1 [leader id][follower id] long_info: A person1 follows another person2. The person1 that follows just repeats the movement of person2, even if the persons are not directly next to each other. [6F][Leader Person2][Follower Person1] parsing command byte 0xb0 for map None.None at 0x18aeaa info: None long_info: None map_group is: 25 map_id is: 13 event header address is: 0x18b595 skipping event data... (oops) map_group is: 25 map_id is: 14 event header address is: 0x18b60b skipping event data... (oops) map_group is: 25 map_id is: 15 event header address is: 0x18b744 parsing signpost script.. signpost is at: x=0 y=1 parsing command byte 0xc for map 25.15 at 0x18b652 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=1 y=1 parsing command byte 0xc for map 25.15 at 0x18b652 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 26 map_id is: 1 event header address is: 0x1a1c54 parsing signpost script.. signpost is at: x=9 y=43 parsing command byte 0x53 for map 26.1 at 0x1a17e9 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xb for map 26.1 at 0x1a17ea info: RAM check [>byte] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x34 for map 26.1 at 0x1a17ed info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x55 for map 26.1 at 0x1a17f0 info: Display a pokemon picture in a box by pokemon id [xx] long_info: Opens a box and puts a Pokémon picture into it. [55][xx] xx: <>00 : Pokémon no =00 : Pokémon no gets read from RAM parsing command byte 0x53 for map 26.1 at 0x1a17f2 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x66 for map 26.1 at 0x1a17f3 info: ? Check if trainer talk-after script is executed just after battle or not long_info: Checks if the talk-after script of the event structure defined trainer is executed just after the battle or at a later point in time. feedback: 00 = no 01 = yes [66] parsing command byte 0x5b for map 26.1 at 0x1a17f4 info: Load trainer from RAM long_info: Loads trainer data when HIRO is in a trainer's range of sight. Trainer group is read from CF2E and written to TrRAM1, the trainer number is read from CF2F and written to TrRAM2. 81 is written to BattleRAM. parsing command byte 0x9 for map 26.1 at 0x1a17f5 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x2 for map 26.1 at 0x1a17f8 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0xa4 for map 26.1 at 0x1a17fb info: None long_info: None parsing signpost script.. signpost is at: x=13 y=29 parsing command byte 0x53 for map 26.1 at 0x1a17ec info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x34 for map 26.1 at 0x1a17ed info: Check some bit on bit table 2 [xxyy] long_info: Checks whether a bit of BitTable2 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [34][Bit no (2byte)] parsing command byte 0x55 for map 26.1 at 0x1a17f0 info: Display a pokemon picture in a box by pokemon id [xx] long_info: Opens a box and puts a Pokémon picture into it. [55][xx] xx: <>00 : Pokémon no =00 : Pokémon no gets read from RAM parsing command byte 0x53 for map 26.1 at 0x1a17f2 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x66 for map 26.1 at 0x1a17f3 info: ? Check if trainer talk-after script is executed just after battle or not long_info: Checks if the talk-after script of the event structure defined trainer is executed just after the battle or at a later point in time. feedback: 00 = no 01 = yes [66] parsing command byte 0x5b for map 26.1 at 0x1a17f4 info: Load trainer from RAM long_info: Loads trainer data when HIRO is in a trainer's range of sight. Trainer group is read from CF2E and written to TrRAM1, the trainer number is read from CF2F and written to TrRAM2. 81 is written to BattleRAM. parsing command byte 0x9 for map 26.1 at 0x1a17f5 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x2 for map 26.1 at 0x1a17f8 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0xa4 for map 26.1 at 0x1a17fb info: None long_info: None parsing signpost script.. signpost is at: x=15 y=5 parsing command byte 0x53 for map 26.1 at 0x1a17ef info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x55 for map 26.1 at 0x1a17f0 info: Display a pokemon picture in a box by pokemon id [xx] long_info: Opens a box and puts a Pokémon picture into it. [55][xx] xx: <>00 : Pokémon no =00 : Pokémon no gets read from RAM parsing command byte 0x53 for map 26.1 at 0x1a17f2 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x66 for map 26.1 at 0x1a17f3 info: ? Check if trainer talk-after script is executed just after battle or not long_info: Checks if the talk-after script of the event structure defined trainer is executed just after the battle or at a later point in time. feedback: 00 = no 01 = yes [66] parsing command byte 0x5b for map 26.1 at 0x1a17f4 info: Load trainer from RAM long_info: Loads trainer data when HIRO is in a trainer's range of sight. Trainer group is read from CF2E and written to TrRAM1, the trainer number is read from CF2F and written to TrRAM2. 81 is written to BattleRAM. parsing command byte 0x9 for map 26.1 at 0x1a17f5 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x2 for map 26.1 at 0x1a17f8 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0xa4 for map 26.1 at 0x1a17fb info: None long_info: None parsing signpost script.. signpost is at: x=3 y=21 parsing command byte 0x53 for map 26.1 at 0x1a17f2 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x66 for map 26.1 at 0x1a17f3 info: ? Check if trainer talk-after script is executed just after battle or not long_info: Checks if the talk-after script of the event structure defined trainer is executed just after the battle or at a later point in time. feedback: 00 = no 01 = yes [66] parsing command byte 0x5b for map 26.1 at 0x1a17f4 info: Load trainer from RAM long_info: Loads trainer data when HIRO is in a trainer's range of sight. Trainer group is read from CF2E and written to TrRAM1, the trainer number is read from CF2F and written to TrRAM2. 81 is written to BattleRAM. parsing command byte 0x9 for map 26.1 at 0x1a17f5 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x2 for map 26.1 at 0x1a17f8 info: pointer code long_info: 2byte pointer points to 3byte pointer; when pointed script --> return to old script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0xa4 for map 26.1 at 0x1a17fb info: None long_info: None parsing signpost script.. signpost is at: x=14 y=9 parsing command byte 0xa4 for map 26.1 at 0x1a17fb info: None long_info: None skipping event data... (oops) map_group is: 26 map_id is: 2 event header address is: 0x1a5a79 parsing signpost script.. signpost is at: x=7 y=5 parsing command byte 0x53 for map 26.2 at 0x1a55f0 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x45 for map 26.2 at 0x1a55f1 info: Show HIRO put the ITEMNAME in the ITEMPOCKET text box long_info: Text box: "HIRO put the ITEMNAME in the ITEMPOCKET." The item number has to have been loaded beforehand (e.g. by Give item code). parsing command byte 0x5a for map 26.2 at 0x1a55f2 info: ? Disable fleeing from battle long_info: Deletes the value in BattleRAM. Turns off the check if the battle was started by entering a trainer's area of view. parsing command byte 0x53 for map 26.2 at 0x1a55f3 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x6e for map 26.2 at 0x1a55f4 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x51 for map 26.2 at 0x1a55f6 info: Display text (by pointer), turn to HIRO, end [xxyy] long_info: Displays a text and lets person turn to HIRO. Afterwards there is no other script interpreted. Corresponds to 6A + 47 + 4C + 53 + 49 + 90 [51][2byte textpointer] parsing signpost script.. signpost is at: x=31 y=5 parsing command byte 0x53 for map 26.2 at 0x1a55f3 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x6e for map 26.2 at 0x1a55f4 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x51 for map 26.2 at 0x1a55f6 info: Display text (by pointer), turn to HIRO, end [xxyy] long_info: Displays a text and lets person turn to HIRO. Afterwards there is no other script interpreted. Corresponds to 6A + 47 + 4C + 53 + 49 + 90 [51][2byte textpointer] skipping event data... (oops) parsing command byte 0x31 for map None.None at 0x1a543c info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x8 for map None.None at 0x1a543f info: RAM check [=0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x90 for map None.None at 0x1a5442 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 26 map_id is: 3 event header address is: 0x19c829 parsing xy trigger byte scripts... x=33 y=6 parsing command byte 0x76 for map 26.3 at 0x19c0ae info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x75 for map 26.3 at 0x19c0b1 info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0xf for map 26.3 at 0x19c0b4 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x0 for map 26.3 at 0x19c0b7 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x6f for map 26.3 at 0x19c0ba info: Following code1 [leader id][follower id] long_info: A person1 follows another person2. The person1 that follows just repeats the movement of person2, even if the persons are not directly next to each other. [6F][Leader Person2][Follower Person1] parsing command byte 0x3 for map 26.3 at 0x19c0bd info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x76 for map 26.3 at 0x19c0c0 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x7f for map 26.3 at 0x19c0c3 info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0x1f for map 26.3 at 0x19c0c4 info: Give item by id and quantity [xx][yy] long_info: Gives item (item no) amount times. feedback: 00 = bag full 01 = OK [1F][item no][amount] parsing command byte 0x4c for map 26.3 at 0x19c0c7 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 26.3 at 0x19c0ca info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 26.3 at 0x19c0cb info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x31 for map 26.3 at 0x19c0cc info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 26.3 at 0x19c0cf info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x31 for map 26.3 at 0x19c0d2 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 26.3 at 0x19c0d5 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x64 for map 26.3 at 0x19c0d8 info: ? Load the trainer talk-after script long_info: Interprets which script is going to be run, when a in the event-structure-defined trainer is talked to again. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau [64] parsing command byte 0x7f for map 26.3 at 0x19c0d9 info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0x45 for map 26.3 at 0x19c0da info: Show HIRO put the ITEMNAME in the ITEMPOCKET text box long_info: Text box: "HIRO put the ITEMNAME in the ITEMPOCKET." The item number has to have been loaded beforehand (e.g. by Give item code). parsing command byte 0xe6 for map 26.3 at 0x19c0db info: None long_info: None parsing xy trigger byte scripts... x=33 y=7 parsing command byte 0x72 for map 26.3 at 0x19c0aa info: Lock person's location by id [id] long_info: Writes the current X/Y values of a person into the ram. The person is going to stand at its current location even when it's out of HIRO's sight and is not going to return to its old location until the next map load. [72][person] parsing command byte 0x27 for map 26.3 at 0x19c0ac info: Check if HIRO has enough coins [xxyy] long_info: Checks if HIRO has enough coins. feedback: 00 = has enough coins 01 = has exact amount 02 = does not have enough yyxx = amount of coins necessary (0000 - 270F) [27][xxyy] parsing command byte 0x0 for map 26.3 at 0x19c0af info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0x0 for map 26.3 at 0x19c0b2 info: pointer code long_info: 2byte pointer points to script; when pointed script ends --> return to old script [code][2 byte pointer] parsing command byte 0xf for map 26.3 at 0x19c0b5 info: call some predefined script [0F][yyxx] long_info: Calls predefined scripts. [0F][yyxx] NOTE: For (some) dialogues the font needs to be loaded with the Text box&font code. parsing command byte 0x8b for map 26.3 at 0x19c0b8 info: Deactive static facing after time [xx] long_info: Deactivates static facings on all persons on the screen after a time xx. [8B][xx] parsing command byte 0x6f for map 26.3 at 0x19c0ba info: Following code1 [leader id][follower id] long_info: A person1 follows another person2. The person1 that follows just repeats the movement of person2, even if the persons are not directly next to each other. [6F][Leader Person2][Follower Person1] parsing command byte 0x3 for map 26.3 at 0x19c0bd info: pointer code long_info: 2byte pointer points to script; new script is part of main script [Code][resp. pointer(2byte or 3byte)] parsing command byte 0x76 for map 26.3 at 0x19c0c0 info: Following code2 [leader id][follower id] long_info: A person1 follows a person2. The following person1 automatically clings to person2. Person1 just follows person2, but doesn't make the exact same movements at person2. [76][Leader Person2][Follower Person1] parsing command byte 0x7f for map 26.3 at 0x19c0c3 info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0x1f for map 26.3 at 0x19c0c4 info: Give item by id and quantity [xx][yy] long_info: Gives item (item no) amount times. feedback: 00 = bag full 01 = OK [1F][item no][amount] parsing command byte 0x4c for map 26.3 at 0x19c0c7 info: Display text by pointer [xxyy] long_info: Opens a text box and writes text. Doesn't load font. [4C][2byte text pointer] parsing command byte 0x54 for map 26.3 at 0x19c0ca info: Keep text box open long_info: Keeps a text box open which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x49 for map 26.3 at 0x19c0cb info: Load moving sprites into memory long_info: Loads moving sprites for person events into ram. parsing command byte 0x31 for map 26.3 at 0x19c0cc info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 26.3 at 0x19c0cf info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x31 for map 26.3 at 0x19c0d2 info: Check some bit on bit table 1 [xxyy] long_info: Checks whether a bit of BitTable1 has the value 0 or 1. feedback: 00 = value 0 (off) 01 = value 1 (on) [31][2-byte bit number] parsing command byte 0x9 for map 26.3 at 0x19c0d5 info: RAM check [<>0] long_info: When the conditional is true... .. then go to pointed script, else resume interpreting after the pointer parsing command byte 0x64 for map 26.3 at 0x19c0d8 info: ? Load the trainer talk-after script long_info: Interprets which script is going to be run, when a in the event-structure-defined trainer is talked to again. see http://hax.iimarck.us/files/scriptingcodes_eng.htm#Eventaufbau [64] parsing command byte 0x7f for map 26.3 at 0x19c0d9 info: Song code2 long_info: Plays the music of the trainer group in TrRAM1. Takes music numbers from list at 3A:5027. [7F] parsing command byte 0x45 for map 26.3 at 0x19c0da info: Show HIRO put the ITEMNAME in the ITEMPOCKET text box long_info: Text box: "HIRO put the ITEMNAME in the ITEMPOCKET." The item number has to have been loaded beforehand (e.g. by Give item code). parsing command byte 0xe6 for map 26.3 at 0x19c0db info: None long_info: None parsing signpost script.. signpost is at: x=30 y=8 parsing command byte 0x53 for map 26.3 at 0x19c189 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xe0 for map 26.3 at 0x19c18a info: None long_info: None parsing signpost script.. signpost is at: x=23 y=9 parsing command byte 0x53 for map 26.3 at 0x19c18c info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x15 for map 26.3 at 0x19c18d info: Load variable into RAM [xx] long_info: [15][xx] parsing command byte 0xc for map 26.3 at 0x19c18f info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=24 y=3 parsing command byte 0xc for map 26.3 at 0x19c192 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=30 y=3 parsing command byte 0xc for map 26.3 at 0x19c18f info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) parsing command byte 0x91 for map 26.3 at 0x19c00d info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 26.3 at 0x19c00e info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x36 for map None.None at 0x19c00f info: Set (to 1) a bit on bit table 2 [xxyy] long_info: Sets a bit of BitTable2 to value 1. [36][Bit no (2byte)] parsing command byte 0x90 for map None.None at 0x19c012 info: Return code 2 long_info: Ends the current script and loads the backup offset for "linked" scripts if applicable. The sophisticated functions get reset if no backup offset was loaded. This code is used to end most scripts. [90] map_group is: 26 map_id is: 4 event header address is: 0x196934 skipping event data... (oops) map_group is: 26 map_id is: 5 event header address is: 0x196a96 skipping event data... (oops) map_group is: 26 map_id is: 6 event header address is: 0x196bd1 parsing signpost script.. signpost is at: x=0 y=1 parsing command byte 0xc for map 26.6 at 0x196ae7 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=1 y=1 parsing command byte 0xc for map 26.6 at 0x196ae7 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 26 map_id is: 7 event header address is: 0x196c89 parsing signpost script.. signpost is at: x=0 y=1 parsing command byte 0xc for map 26.7 at 0x196c0a info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=1 y=1 parsing command byte 0xc for map 26.7 at 0x196c0a info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 26 map_id is: 8 event header address is: 0x196d2e parsing signpost script.. signpost is at: x=0 y=1 parsing command byte 0xc for map 26.8 at 0x196cc0 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=1 y=1 parsing command byte 0xc for map 26.8 at 0x196cc0 info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 26 map_id is: 9 event header address is: 0x196e20 parsing signpost script.. signpost is at: x=0 y=1 parsing command byte 0xc for map 26.9 at 0x196d7f info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=1 y=1 parsing command byte 0xc for map 26.9 at 0x196d7f info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] skipping event data... (oops) map_group is: 26 map_id is: 10 event header address is: 0x1975ef parsing signpost script.. signpost is at: x=0 y=1 parsing command byte 0x53 for map 26.10 at 0x196f51 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x43 for map 26.10 at 0x196f52 info: Copy trainer name (by id&group) to memZ [xx][yy][zz] long_info: Writes trainer name to MEMORY1, 2 or 3 for later use in text. [43][Trainer number][Trainer group][00-02 MEMORY] parsing command byte 0x75 for map 26.10 at 0x196f56 info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0x75 for map 26.10 at 0x196f59 info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0x47 for map 26.10 at 0x196f5c info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0xc for map 26.10 at 0x196f5d info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=1 y=1 parsing command byte 0x53 for map 26.10 at 0x196f51 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x43 for map 26.10 at 0x196f52 info: Copy trainer name (by id&group) to memZ [xx][yy][zz] long_info: Writes trainer name to MEMORY1, 2 or 3 for later use in text. [43][Trainer number][Trainer group][00-02 MEMORY] parsing command byte 0x75 for map 26.10 at 0x196f56 info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0x75 for map 26.10 at 0x196f59 info: Set facing direction of person [person][facing] long_info: Changes the facing direction of a person. [75][person][facing] parsing command byte 0x47 for map 26.10 at 0x196f5c info: Loads the font into the ram and opens a text box. long_info: None parsing command byte 0xc for map 26.10 at 0x196f5d info: call predefined script then end long_info: Calls predefined scripts. After this code the script ends. [0C][xxyy] parsing signpost script.. signpost is at: x=6 y=1 parsing command byte 0x53 for map 26.10 at 0x196f54 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x84 for map 26.10 at 0x196f55 info: Play sound by sound number [xxyy] long_info: Plays the sound. [84][Sound no (2byte)] Sound no: See the music archive that should accompany this document Thanks to philb for this matter. He helped me to record a big part of these sounds. parsing command byte 0xac for map 26.10 at 0x196f58 info: None long_info: None parsing signpost script.. signpost is at: x=7 y=1 parsing command byte 0x53 for map 26.10 at 0x196f54 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0x84 for map 26.10 at 0x196f55 info: Play sound by sound number [xxyy] long_info: Plays the sound. [84][Sound no (2byte)] Sound no: See the music archive that should accompany this document Thanks to philb for this matter. He helped me to record a big part of these sounds. parsing command byte 0xac for map 26.10 at 0x196f58 info: None long_info: None parsing signpost script.. signpost is at: x=6 y=4 parsing command byte 0x53 for map 26.10 at 0x196f57 info: Close text box long_info: Closes a text box which was opened by 47 resp. 4B/4C/4D. parsing command byte 0xac for map 26.10 at 0x196f58 info: None long_info: None skipping event data... (oops) parsing command byte 0x8d for map 26.10 at 0x196e51 info: Reactive all engine checks if player is warping long_info: If HIRO is entering or leaving a warp then this code reactivates all the engine-checks. [8D] parsing command byte 0x56 for map 26.10 at 0x196e52 info: ?? Display a pokemon picture and a yes/no box long_info: Displays a YES/NO box at X08/Y05. feedback: 00 = no chosen 01 = yes chosen parsing command byte 0x6e for map 26.10 at 0x196e53 info: Show person by id [xx] long_info: Shows a hidden person again. [6E][person id] parsing command byte 0x91 for map 26.10 at 0x196e55 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 parsing command byte 0x91 for map 26.10 at 0x196e55 info: Return code 3 long_info: Reloads the map completely like the code 0x7A and else acts completely like Return code2 [91] see reload map code http://hax.iimarck.us/files/scriptingcodes_eng.htm#Marke7A see 0x90 map_group is: 26 map_id is: 11 event header address is: 0x19768c skipping event data... (oops)