shithub: pokecrystal

Download patch

ref: 19ce6e7a748094f8f74b123c6b803808ed530d90
parent: 531ccfb5f65bbbfa90e2a5c8493d9584dc2012be
author: IIMarckus <[email protected]>
date: Mon Dec 17 16:00:41 EST 2012

specialphonecall takes a 16‐bit ID.

--- a/extras/crystal.py
+++ b/extras/crystal.py
@@ -2894,7 +2894,7 @@
     0x99: ["hangup"],
     0x9A: ["describedecoration", ["byte", SingleByteParam]],
     0x9B: ["fruittree", ["tree_id", SingleByteParam]],
-    0x9C: ["specialphonecall", ["call_id", SingleByteParam], ["wtf", SingleByteParam]],
+    0x9C: ["specialphonecall", ["call_id", MultiByteParam]],
     0x9D: ["checkphonecall"],
     0x9E: ["verbosegiveitem", ["item", ItemLabelByte], ["quantity", DecimalParam]],
     0x9F: ["verbosegiveitem2", ["item", ItemLabelByte]],
--- a/main.asm
+++ b/main.asm
@@ -29973,7 +29973,7 @@
 	setbit1 $03fb
 	setbit1 $03fc
 	domaptrigger GROUP_ELMS_LAB, MAP_ELMS_LAB, $2
-	specialphonecall $3, $0
+	specialphonecall $3
 	2writetext UnknownText_0x685c8
 	keeptextopen
 	verbosegiveitem TM_31, 1
@@ -80785,7 +80785,7 @@
 	special $001b
 	checkbit1 $0024
 	iftrue UnknownScript_0x181497
-	specialphonecall $5, $0
+	specialphonecall $5
 UnknownScript_0x181497: ; 0x181497
 	halloffame
 	end
@@ -88760,7 +88760,7 @@
 	playsound $009c
 	waitbutton
 	special $003d
-	specialphonecall $8, $0
+	specialphonecall $8
 	dotrigger $1
 	domaptrigger GROUP_DRAGONS_DEN_B1F, MAP_DRAGONS_DEN_B1F, $1
 	2writetext UnknownText_0x18d9f2
@@ -97972,7 +97972,7 @@
 	dotrigger $1
 	domaptrigger GROUP_CHERRYGROVE_CITY, MAP_CHERRYGROVE_CITY, $1
 	domaptrigger GROUP_ELMS_LAB, MAP_ELMS_LAB, $3
-	specialphonecall $2, $0
+	specialphonecall $2
 	clearbit1 $0702
 	checkbit1 $001c
 	iftrue UnknownScript_0x196f49
@@ -110381,7 +110381,7 @@
 ; 0x1a5443
 
 UnknownScript_0x1a5443: ; 0x1a5443
-	specialphonecall $7, $0
+	specialphonecall $7
 	return
 ; 0x1a5447