shithub: pokered

Download patch

ref: 7b5bcbc024b1a94de240c813cf2f25bbc2d4a505
parent: 78b08c3a76a62a5fee8b2b62b6bb34bccef02b66
author: Amber Brault <celestialamber1@gmail.com>
date: Mon May 31 12:00:32 EDT 2021

Update CeruleanCity.asm

--- a/scripts/CeruleanCity.asm
+++ b/scripts/CeruleanCity.asm
@@ -80,7 +80,7 @@
 	ld a, $f0
 	ld [wJoyIgnore], a
 	ld a, [wXCoord]
-	cp 20 ;is the player standing on the right side of the bridge?
+	cp 20 ; is the player standing on the right side of the bridge?
 	jr z, .playerOnRightSideOfBridge
 	ld a, $1
 	ldh [hSpriteIndex], a
@@ -183,7 +183,7 @@
 	ldh [hSpriteIndex], a
 	call SetSpriteMovementBytesToFF
 	ld a, [wXCoord]
-	cp 20 ;is the player standing on the right side of the bridge?
+	cp 20 ; is the player standing on the right side of the bridge?
 	jr nz, .playerOnRightSideOfBridge
 	ld de, CeruleanCityMovement4
 	jr .skip
@@ -361,19 +361,19 @@
 CeruleanCityText7:
 	text_asm
 	ldh a, [hRandomAdd]
-	cp 180 ;76/256 chance of 1st dialogue
+	cp 180 ; 76/256 chance of 1st dialogue
 	jr c, .notFirstText
 	ld hl, CeruleanCityText_19730
 	call PrintText
 	jr .end
 .notFirstText
-	cp 100 ;80/256 chance of 2nd dialogue
+	cp 100 ; 80/256 chance of 2nd dialogue
 	jr c, .notSecondText
 	ld hl, CeruleanCityText_19735
 	call PrintText
 	jr .end
 .notSecondText
-	;100/256 chance of 3rd dialogue
+	; 100/256 chance of 3rd dialogue
 	ld hl, CeruleanCityText_1973a
 	call PrintText
 .end
@@ -394,25 +394,25 @@
 CeruleanCityText8:
 	text_asm
 	ldh a, [hRandomAdd]
-	cp 180 ;76/256 chance of 1st dialogue
+	cp 180 ; 76/256 chance of 1st dialogue
 	jr c, .notFirstText
 	ld hl, CeruleanCityText_1976f
 	call PrintText
 	jr .end
 .notFirstText
-	cp 120 ;60/256 chance of 2nd dialogue
+	cp 120 ; 60/256 chance of 2nd dialogue
 	jr c, .notSecondText
 	ld hl, CeruleanCityText_19774
 	call PrintText
 	jr .end
 .notSecondText
-	cp 60 ;60/256 chance of 3rd dialogue
+	cp 60 ; 60/256 chance of 3rd dialogue
 	jr c, .notThirdText
 	ld hl, CeruleanCityText_19779
 	call PrintText
 	jr .end
 .notThirdText
-	;60/256 chance of 4th dialogue
+	; 60/256 chance of 4th dialogue
 	ld hl, CeruleanCityText_1977e
 	call PrintText
 .end